Mount USB Device

From KlavoWiki
Revision as of 05:43, 17 December 2014 by David (Sọ̀rọ̀ | contribs)
Jump to navigationJump to search

eFAT

To Mount a USB device

apt-get install exfat-fuse exfat-utils
mkdir /mnt/usb-hd1
mount /dev/sda1 /mnt/usb-hd1/

Linux ext4

To mount on boot

vi /etc/fstab

For Linux partition

/dev/sda1       /mnt/usb-hd1    ext4    defaults          0       0

FAT 32

For FAT32 Partition

/dev/sda1       /mnt/usb-hd1    exfat   defaults          0       0

NTFS

apt-get install libfuse2 ntfs-3g
vi /etc/fstab
/dev/sda1       /mnt/usb-hd1    ntfs-3g defaults          0       0