Категория: Android: Карты памяти
Евгений про MountUSB 2.1 для Android [30-01-2014]
ошибка приложения.
Шурик про MountUSB 2.1 для Android [19-08-2013]
Отлично! Все вопросы снялись. "Зверёк" Texet TM3204R ("вездеход"), ОС Android 4.0.4
Backgrounds HD Wallpapers
AppMgr III (App 2 SD)
Battery Doctor
File Expert
Pushbullet
Drag Racing
Головоломки со спичками
360 Security
Install your virtual machine and once the installation is complete install the Virtualbox guest additions into the guest OS from the devices menu.
Turn the virtual machine off and go to the settings for the VM. Click on USB on the left and check the top two boxes in the window shown.
Along the right hand side there will be a few icons to set up USB filters. These filters are where you can tell Virtualbox what USB devices you want to have available to your guest OS. Plug in your USB device and click on the second icon to view available USB devices that can be mounted into the guest OS.
Select any devices you would like to mount in the guest OS and then close out of the settings window.
Set Up Your User AccountThe next thing you need to do is add your user to the vboxusers group on your system. Navigate to the System -> Administration -> Users and Groups option and click on manage groups on the left side.
Scroll down in the group settings and highlight the vboxusers group and then click properties on the right.
In most cases you probably will only have one user so check the box to include your user in the group; put in your admin password when prompted, and then restart your computer.
Mount Your USB DeviceOnce your computer restarts, log in and start your virtual machine. In the devices menu of the VM, select the USB device you want to mount.
Your device should show up automatically in the VM and you can use it the same way you would be able to on the host operating system.
By default, storage devices that are plugged into the system mount automatically in the /media/<username> directory, open a file browser window for each volume and place an icon on your desktop. The rationale for this slight change of behavior can be found here. If you plug in a usb hard disk with many partitions, all of the partitions will automatically mount. This behaviour may not be what you want; you can configure it as shown below.
If the volumes have labels the icons will be named accordingly. Otherwise, they will be named "disk". "disk-1" and so on.
To change the volume label see RenameUSBDrive.
Configuring AutomountingTo enable or disable automount open a terminal and type:
Browse to org.gnome.desktop.media-handling.
The automount key controls whether to automatically mount media. If set to true, Nautilus will automatically mount media such as user-visible hard disks and removable media on start-up and media insertion.
Another key, org.gnome.desktop.media-handling.automount-open. controls whether to automatically open a folder for automounted media.
If set to true, Nautilus will automatically open a folder when media is automounted. This only applies to media where no known x-content type was detected; for media where a known x-content type is detected, the user configurable action will be taken instead. This can be configured as shown below.
Configuring Program AutostartTo control which programs automatically start when you plug in a device, go to System-Settings - Details - Removable Media.
Unmounting/Ejecting Before you disconnect the device, don't forget to unmount it. This can be done in one of the following ways:By default, disk drives do not auto-mount in Ubuntu Server Edition. If you are looking for a lightweight solution that does not depend on HAL/DBUS, you can install "usbmount".
Using DisksDisks (the GNOME disk utility) is an application for visually managing disk drives and media. When you run it, you will see a list of your drives, including USB drives. If you click a drive on the list, you can view its details, and you can click the triangle-shaped button (Play button) to mount the drive. (This method works even when the drive does not auto-mount.)
Using mount Get the InformationSometimes, devices don't automount, in which case you should try to manually mount them. First, you must know what device you are dealing with and what filesystem it is formatted with. Most flash drives are FAT16 or FAT32 and most external hard disks are NTFS. Type the following:
Find your device in the list. It is probably something like /dev/sdb1. For more information about filesystems, see LinuxFilesystemsExplained.
Create the Mount PointNow we need to create a mount point for the device. Let's say we want to call it "external". You can call it whatever you want, but if you use spaces in the name it gets a little more complicated. Instead, use an underscore to separate words (like "my_external"). Create the mount point:
Mount the DriveWe can now mount the drive. Let's say the device is /dev/sdb1, the filesystem is FAT16 or FAT32 (like it is for most USB flash drives), and we want to mount it at /media/external (having already created the mount point):
The options following the "-o" give you ownership of the drive, and the masks allow for extra security for file system permissions. If you don't use those extra options you may not be able to read and write the drive with your regular username.
Otherwise, if the device is formatted with NTFS, run:
Note: You must have the ntfs-3g driver installed. See MountingWindowsPartitions for more information.
Unmounting the DriveWhen you are finished with the device, don't forget to unmount the drive before disconnecting it. Assuming /dev/sdb1 is mounted at /media/external, you can either unmount using the device or the mount point:
You cannot unmount from the desktop by right-clicking the icon if the drive was manually mounted.
Using pmountThere is a program called pmount available in the repositories which allows unprivileged users to mount drives as if they were using sudo, even without an entry in /etc/fstab. This is perfect for computers that have users without RootSudo access, like public terminals or thin clients.
If you leave off the label option, it will mount by default at /media/device.
This is a guide on how to mount and unmount thumb drive or usb drive in Linux operating system. Some Linux distributions such as Ubuntu desktop will automatically mount the usb drive while others like Slackware does not. So here is all information you need about mount and unmount usb drive in Linux.
Linux mount usb driveTo use thumb drive in Linux, the device must first be mounted into the system. In older days, you must specify the file system type so Linux can mount it to he system. Today, Linux is clever enough to recognise it and manually mounting the file system is much easier. Here is what the mount command means:
mount - The mount command serves to attach the file system found on some device to the big file tree. Conversely, the umount(8) command will detach it again.
This is an example on how to mount a USB drive (thumb drive) in Linux:
1. Plug in the usb drive into the usb port on your computer. Wait a few seconds until your Linux system detect it. If not, pull the usb drive and plug in again. If you are using Ubuntu desktop, the usb drive will be detected and mounted automatically. In Ubuntu server command line terminal, a message will appear to notice you that some information about the usb drive that has been plug in.
If nothing happens, you can check the information in the /proc directory. From the command prompt, type 'cat /proc/scsi/scsi ' to read the scsi file.
root@slackware:
# cat /proc/scsi/scsi
Attached devices:
Vendor: ATA Model: WDC WD800JD-75JN Rev: 05.0
The highlighted text in red shows that the usb drive (thumb drive) is detected. Note that in real situation, the text is in white colour (default) not red. It's highlighted for the sake of learning. You can see the detail in Host, Vendor and Type. If Linux can't detect the usb drive and the usb drive data cannot be found in /proc/scsi/scsi, run rescan-scsi-bus -l from Slackware command line terminal. Below is the example:
root@slackware:
# rescan-scsi-bus -l
Host adapter 2 (ata_piix) found.
Host adapter 3 (ata_piix) found.
Host adapter 4 (ata_piix) found.
Host adapter 5 (ata_piix) found.
Host adapter 6 (pata_marvell) found.
Host adapter 7 (pata_marvell) found.
cat: /sys/class/scsi_host/host8/proc_name: No such file or directory
Host adapter 8 () found.
cat: /sys/class/scsi_host/host9/proc_name: No such file or directory
Host adapter 9 () found.
Scanning SCSI subsystem for new devices
Scanning host 2 channels 0 for SCSI target IDs 0 1 2 3 4 5 6 7, LUNs 0 1 2 3 4 5 6 7
Scanning for device 2 0 0 0.
OLD: Host: scsi2 Channel: 00 Id: 00 Lun: 00
Vendor: ATA Model: WDC WD1600AAJS-0 Rev: 05.0
Type: Direct-Access ANSI SCSI revision: 05
Scanning host 3 channels 0 for SCSI target IDs 0 1 2 3 4 5 6 7, LUNs 0 1 2 3 4 5 6 7
Scanning for device 3 0 0 0.
OLD: Host: scsi3 Channel: 00 Id: 00 Lun: 00
Vendor: HL-DT-ST Model: DVDRAM GSA-H62N Rev: CL00
Type: CD-ROM ANSI SCSI revision: 05
Scanning host 4 channels 0 for SCSI target IDs 0 1 2 3 4 5 6 7, LUNs 0 1 2 3 4 5 6 7
Scanning for device 4 0 0 0.
OLD: Host: scsi4 Channel: 00 Id: 00 Lun: 00
# dmesg |grep sd
SCSI device sda: 156250000 512-byte hdwr sectors (80000 MB)
SCSI device sda: drive cache: write back
SCSI device sda: 156250000 512-byte hdwr sectors (80000 MB)
SCSI device sda: drive cache: write back
sda: sda1 sda2 < sda5 sda6 sda7 >
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sdb: 1007616 512-byte hdwr sectors (516 MB)
If you installed KDE, thumb drive or usb drive will be detected automatically when you plug it in. You can check what drive your thumb drive represents by looking at the device property. Here are steps on how you can check your thumb drive name from x-window kde or gnome:
Step 1 - Open System from kde desktop.
Step 2 - Open Storage media.
Step 3 - Right-click thumb drive icon and choose Properties. The thumb drive name displays at the top of the newly open pane (Properties title).
3. Now you can 'su' and create a proper directory to mount your thumb drive in /mnt directory. The standard form of the mount command, is mount -t type device dir. This tells the kernel to attach file system found on device (-t option for file system type ) at the directory dir. The file system types which are currently supported include: adfs, affs, autofs, cifs, coda, coherent, cramfs, ebugfs, devpts, efs, ext, ext2, ext3, hfs, hfsplus, hpfs, iso9660, jfs, minix, msdos, ncpfs, nfs, nfs4, ntfs, proc, qnx4, ramfs, reiserfs, romfs, smbfs, sysv, tmpfs, udf, ufs, umsdos, usbfs, vfat, xenix, xfs, xiafs.
From the command line, type mount -t vfat /dev/sdb1 /mnt/usb and enter. Change directory into /mnt/usb directory.
Note - Replace sdb1 with your thumb drive name and /mnt/usb with your mount directory.
Create VM into VirtualBox
fast-startupMemos disponibles.
1) QUIT 24) diff 47) mkdir 70) sockstat
2) 7z 25) dig 48) mount 71) sort
3) ab 26) distcc 49) mysql 72) split
4) apparmor 27) emacs 50) mysqldump 73) ssh
5) apt-cache 28) find 51) ndiswrapper 74) ssh-copy-id
6) apt-get 29) gcc 52) netcat 75) ssh-keygen
7) aptitude 30) gdb 53) netstat 76) stdout
8) asterisk 31) git 54) nmap 77) strace
9) at 32) GNS3 55) notify-send 78) systemctl
10) awk 33) gpg 56) od 79) tail
11) bash 34) grep 57) openssl 80) Tap
12) Bridge 35) gs 58) pdftk 81) tar
13) chmod 36) head 59) php 82) tcpdump
14) chown 37) history 60) ping 83) tmux
15) Cisco 38) ifconfig 61) ps 84) top
Ссылки по теме
Эта страница нуждается в сопроводителе
Статья не гарантирует актуальность информации. Помогите русскоязычному сообществу поддержкой подобных страниц. См. Команда переводчиков ArchWiki
В этом документе описываются способы использования различных USB накопителей в Linux. Это также касается и других устройств, таких как цифровые камеры или телефоны, которые распознаются как обычные USB накопители.
Монтирование USB устройствЕсли у вас свежая система со стандартным ядром Arch и современная среда рабочего стола. USB устройство должно автоматически появляться на рабочем столе при подключении, и лезть в консоль не потребуется.
Если этого не произошло см. далее.
Автоматическое монтирование с помощью udevСм. Udev:Автомонтирование USB-устройств. Простой способ настройки автомонтирования жестких дисков для однопользовательских систем с использованием udev заключается в следующем: создается файл /etc/udev/rules.d/automount.rules со следующим содержимым:
и исполняемый от root файл /usr/lib/udev/domount со следующим содержимым (необходимо вставить корректные для Вашей системы значения):
При подключении USB-диска происходит автомонтирование и открывается окно терминала. Чтобы размонтировать устройства, просто нажмите Ctrl + D в окне терминала. Место монтирования определяется в /etc/fstab или, при его отсутствии, создается на основе UUID раздела.
Чтобы ваш пароль не запрашивался при команде размонтирования, добавьте (заменить на ваше имя пользователя) имя_пользователя в /etc/sudoers с помощью команды visudo. См. Sudo (Русский)
Если терминал не появляется проверьте команду его запуска. Например, в xfce4, используется команда "Terminal -T <title> -e <script-file>.
Монтирование вручнуюОбратите внимание: Перед тем, как обвинить Arch Linux в том, что он не монтирует USB устройства, стоит проверить все доступные порты. Часть разъёмов могут не обслуживаться контроллером (или не подключены к контроллеру вообще, в случае портов на передней панели), и устройства физически не смогут монтироваться. Теоретически контроллер портов может оказаться выключенным; для того, чтобы это проверить, нужно зайти в BIOS и отыскать параметр с названием вроде "Onboard USB Controller" — должен быть "Enabled".
Где взять ядро, поддерживающее usb_storageЕсли не используется самодельное (самосборное) ядро, то можно скачать одно из готовых, все имеющиеся ядра Arch Linux настроены должным образом. В случае самосборного ядра, следует убедиться, что при компиляции была включена поддержка SCSI, SCSI-Disk и usb_storage. Если установлена последняя версия udev. то можно просто подключить носитель, и система автоматически подгрузит все необходимые модули ядра. Более ранним версиям udev дополнительно потребуется наличие HotPlug. Либо то же самое можно сделать вручную:
Опознавание устройствСамое первое, что нужно знать об устройстве, так это его идентификатор, присвоенный ядром.
Использование системных имен (node names) ( /sd* )Это наиболее простой способ, но присвоение имен зависит от порядка, в котором устройства были подключены. способы получения системных имён (именований по шине):
которая отобразит все доступные таблицы разделов.
Обратите внимание: Если среди результатов нет устройства, то можно использовать команду lsusb. чтобы убедиться, что оно действительно было опознано системой.
Использование UUIDДля каждого устройства существует UUID (Universally Unique Identifier — уникальный идентификатор как один из методов постоянных именований устройств), эти идентификаторы предназначены для отслеживания устройств в независимости от их системных имен, а значит расположения на шине и порядка обнаружения (например /dev/sda ).
Чтобы узнать все UUIDы, известные системе, нужно выполнить:
Здесь можно видеть целый список дисков, видимых системой, и длинные строчки с символами. Так вот эти строчки и есть те самые uuidы.
Появилось новое устройство и UUID? Это и есть USB накопитель
Tip: Если blkid не работает так, как ожидалось (или не работает вообще), то можно заглянуть в поисках UUIDов в /dev/disk/by-uuid/.
Монтирование USB флэш-памятиДля этого нужно создать папку, в которую в дальнейшем будет монтироваться флэшка:
Монтировать устройство рутом при помощи команды (только нужно заменить device_node найденным устройством, как было показано выше):
От имени обычного пользователя при помощи mountЧтобы непривилегированные пользователи могли записывать данные на USB носитель, нужно прописать следующую команду:
Дизайн форума – IPB Skins Team
При использовании любых материалов с сайта обязательно указание htc-support.ru в качестве источника.
Все авторские права в рамках проекта сохранены в соответствии с п.5 ст.6 Закона «Об авторском праве и смежных правах».
Администрация проекта HTC-Support.ru не несет ответственности за программное обеспечение и ссылки на программное обеспечение, опубликованные пользователями, как на форуме, так и в комментариях к новостям на сайте. Ответственность за содержание рекламы несет рекламодатель.
Техническая поддержка, осуществляемая данным ресурсом, является неофициальной.
Форум HTC SUPPORT является самостоятельным ресурсом и не имеет никакого отношения к Компании High Tech Computer Corp. (.HTC.).
Торговая марка "HTC" принадлежит Компании High Tech Computer Corp. (.HTC.)
NOTE. if you read the tutorial and are still experiencing difficulties and would like help, you are asked to start a new topic on the forums.
Please do NOT reply to this thread to ask a technical question. Replies to THIS thread should be corrections and enhancements on the tutorial/howto only.
Thank you in advance for your co-operation.
LinuxForums.org
I hope this will help any one mount their usb flash key device, everything I did as “root”. Some devices will be supported and some are not. You can check on www.linuxhardware.net to see if device supported.
First plug your usb card reader and to make sure your device was detected go to System Tools > Hardware Browser > enter root password and it will display your hardware information then go to > Hard Drives and it should be listed under /dev/sda.
Open your favorite terminal. btw this works in gnome and kde.
[imdeemvp@localhost imdeemvp]$ cd /mnt/ <-as user cd yourself to the mnt folder and become root to create directory
[imdeemvp@localhost mnt]$ su
[root@localhost mnt]# mkdir usbflash <- this created a directory in the mnt folder
[root@localhost mnt]# ls /mnt/ <-this command listed all my directories the mnt folder
cdrom cdrom1 floppy usbflash
[root@localhost mnt]# mount /dev/sda1 /mnt/usbflash <-this is the command to mount flash card reader
[root@localhost mnt]# ls usbflash <-this listed all the info in my usb flash card and this was the output:
bootex.log dns.bmp games and keys LinuxDocs01.21.04 pc's
dns2.bmp Documents LinuxDistributions_eBay my pics programs
then i just copied this to my home folder and i was done!
[root@localhost mnt]# umount /dev/sda1 /mnt/usbflash <-this unmounted my usb flash card
umount: /dev/sda1: not mounted
[root@localhost mnt]# exit
[imdeemvp@localhost mnt]$
THIS ALSO WORKED UNDER Mandrake 9.1, 9.2, and 10 official.
in terminal type as root: gedit /etc/fstab and NOW YOU CAN ADD THIS LINE TO FSTAB to auto mount it: