Mount USB Device: Difference between revisions

From KlavoWiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
= eFAT =
To Mount a USB device
To Mount a USB device
<pre>
<pre>
Line 9: Line 11:
</pre>
</pre>


= Linux ext4 =
To mount on boot
To mount on boot
<pre>
<pre>
Line 16: Line 19:
For Linux partition
For Linux partition
<pre>
<pre>
/dev/sda1      /mnt/usb-hd1    ext4    defaults          0      3
/dev/sda1      /mnt/usb-hd1    ext4    defaults          0      0
</pre>
</pre>


= FAT 32 =
For FAT32 Partition
For FAT32 Partition
<pre>
<pre>
/dev/sda1      /mnt/usb-hd1    exfat  defaults          0      0
/dev/sda1      /mnt/usb-hd1    exfat  defaults          0      0
</pre>
</pre>
= NTFS =
<pre>
apt-get install libfuse2 ntfs-3g
</pre>
<pre>
vi /etc/fstab
</pre>
<pre>
/dev/sda1      /mnt/usb-hd1    ntfs-3g defaults          0      0
</pre>
[[Category : Linux]]
[[Category : Linux]]

Revision as of 05:43, 17 December 2014

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