Mount USB Device: Difference between revisions
From KlavoWiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 14: | Line 14: | ||
</pre> | </pre> | ||
For Linux partition | |||
<pre> | <pre> | ||
/dev/sda1 /mnt/usb-hd1 ext4 defaults 0 3 | /dev/sda1 /mnt/usb-hd1 ext4 defaults 0 3 | ||
</pre> | </pre> | ||
For FAT32 Partition | |||
<pre> | |||
/dev/sda1 /mnt/usb-hd1 exfat defaults 0 0 | |||
</pre> | |||
[[Category : Linux]] | [[Category : Linux]] |
Revision as of 23:15, 1 December 2014
To Mount a USB device
apt-get install exfat-fuse exfat-utils
mkdir /mnt/usb-hd1 mount /dev/sda1 /mnt/usb-hd1/
To mount on boot
vi /etc/fstab
For Linux partition
/dev/sda1 /mnt/usb-hd1 ext4 defaults 0 3
For FAT32 Partition
/dev/sda1 /mnt/usb-hd1 exfat defaults 0 0