如何登上USB驅動器在UNIX或Linux
多數distros (發行) Linux包括Mandrake 10.1, SuSE 9.x,并且淺頂軟呢帽核心3可能現在支持插座和插座偵查、發現和司機設施為便攜式的USB驅動或USB盤(和基於USB的數據存儲設備設備的任何類型例如硬盤、筆驅動、USB鑰匙、閃光磁盤、拇指驅動、記憶鑰匙, USB郵編驅動和記憶棍子)。 特別是如果您使用地精和KDE,某一Linux操作系統甚而能自動登上USB驅動。 當您插入USB盤, Linux意志彈開顯示USB盤的內容窗口像微軟視窗。
然而,如果您使用Linux的更舊的版本,否则使用UNIX操作系統,或者您的Linux distro設施無法查出和自動地登上USB存貯設備,然後您將手工必須安裝和安裝USB驅動器。
手工登上USB盤或USB駕駛或USB設備在Linux或UNIX :
- 註冊作為根。 您能使用 su 命令交換對根用戶。
- 創造一個文件夾/mnt/USB以命令: mkdir /mnt/USB
- 增加以下線在文件/etc/fstab (fstab是在哪裡告訴Linux登上各種各樣的設備和因而simplying登上命令)的文件:
/dev/sda1 /mnt/USB 自動 noauto,所有者, kuzu 0 0
注: 「汽車」在上述線意味文件系統的自動偵查。 如果您的系統無法確定文件系統類型,相應地改變它到USB推進的文件系統(即。 vfat或ntfs或者ext2或者ext3)。
- 登上USB存貯設備以以下命令: 登上/dev/sda1
不用需要修改fstab (第3步),您能立刻也發出登上指令(第4步)以以下句法:
登上/dev/sda1 /mnt/USB
如果您知道USB驅動或系統的文件系統無法確定正確文件系統, - t選擇可以用於USB設備的文件系統類型:
登上- t vfat /dev/sda1 /mnt/usb (為vFAT文件系統)
登上- t ntfs /dev/sda1 /mnt/usb (為NTFS文件系統)
有時, USB驅動或USB存貯設備是由系統查出的,但被分配不同的設備名稱從sda1。 如果那樣,正確設備名稱需要取決於觀看和OS記錄文件。 通常Linux和UNIX解雇,并且日誌消息在/var/log/messages被存放,并且您能觀看日誌消息以以下命令:
尾巴- f /var/log/messages
或
dmesg
檢查出現,在操作系統之後查出USB設備設備的名字。
After using the USB disk, remember to unmount the USB drive with the following command to avoid any possible loss to the data or changes and risk messing up your partition.
umount /mnt/USB
Configure Gnome to automatically detect, install and mount USB drive
If you’re using Gnome yet unable to automatically detect and mount USB drive for usage, a few packages needed to be install. The packages to install are dbus, hald and Gnome-Volume-Manager. After installing these packages, configure dbus and hald setup to run via init scripts. Then in Gnome, some configuration has to be done. Click on the ‘Desktop’ menu, then go to ‘Preferences’, and then to ‘Removable Drives and Media’. Configure the settings to your liking. Once you plug-in a usb drive, an icon for the drive will appear on the desktop. Other possible setting is to have Gnome opens a window showing the contents of the USB drive.
IMPORTANT: This is a machine translated page which is provided "as is" without warranty. Machine translation may be difficult to understand. Please refer to original English article whenever possible.
Share and contribute or get technical support and help at My Digital Life Forums.
Related Articles
- CD/DVD-ROM Virtual Drive Emulator Software Free Download
- No Drive Letter for USB or Firewire Drive
- How To Mount and Access New Partition, Volume or Drive As Folder Path In Windows
- Change or Modify the Drive Letter and Paths in Windows Vista
- Refresh Linux or Unix Path Environmental Variables with rehash
- How to Open and Extract .DAA Image Files
- Change Group Ownership of Symbolic Links in Unix or Linux
- Running Google Earth on Suse Linux with VMware
- How to Create a Bootable USB Flash Drive or USB Key with Vista WinPE 2.0
- Common Troubleshooting Methods When OS Install Unable to Detect SATA Harddisk Drive

































January 24th, 2007 17:18
Thanks for an excellent article. But after upgrading to Suse 10.1 (10.2 wouldn’t install), I cannot access my USB Iomega ZIP drive and receive msg “Mount with signature “ssas” on interface “org.freedesktop.Hal.Device.Volume” doesn’t exist”. It seems that the introduction of HAL has complicated matters and I have been unable to find an answer on the forums. Can you help, please, perhaps with an updated article? All my back-up data is on the ZIP which is unreadable either by Windows or Knoppix.
February 17th, 2007 11:25
Please note that there is a small typo in the main article above.
/dev/sda1 /mnt/USB auto noauto,owner,kuzu 0 0
Should read:
/dev/sda1 /mnt/USB auto noauto,owner,kudzu 0 0
Still, the article did help… thanx
February 17th, 2007 13:42
I believe kuzu would work, kudzu is kind of for cdrom.
August 10th, 2008 16:03
[...] I eventually find a helpful post that explains in better detail than most how mounting volumes [...]
August 13th, 2008 05:44
When I mount dev/sda1 it mounts my main filesystem drive not the usb. I can’t get my usb to mount no matter what I do (running Ubuntu) but windows reads it fine.