sourcecode

Friday, March 8, 2013

Mount USB external drive on Linux

1. Plug in the USB disk.

2. Under
/dev/disk/by-label
find the device info, e.g.
Seagate\x20Backup\x20Plus\x20Drive -> ../../usb_bk

(or, simple $ lsusb)

3. sudo makedir /mnt/usb_bk

4. cd ../..

5. mount sdb1 /mnt/usb_bk

Now, the disk shows up under /mnt/usb_bk

6. (optional)
To make it auto mount, first confirm the mount parameters:
$mount
 it should show the mount type:
/dev/sdb1 on /mnt/usb_bk type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)

Then edit /etc/fstab
/dev/sdb1       /mnt/usb_bk          fuseblk    defaults        0       0 
 
http://linuxconfig.org/Howto_mount_USB_drive_in_Linux 
http://myubuntublog.wordpress.com/2009/05/25/auto-mount-usb-hard-drive-at-boot/


No comments: