Fstab Config for External Hard Drives

MG m.s0128532 at gmail.com
Mon Apr 20 14:56:55 UTC 2009


Can anyone work out what I actually need to put in fstab for my hard drives
to mount
Why does NTFS still not work?
Am trying to:
'Also, what you can do is specify the mount point for the drive that you
have in the fstab that way it will mount no matter what else is mounted.

First, create a new directory for the mount point with:
 Code:

sudo mkdir /media/External

Where External is the name of the new folder.

Now open up your fstab and change the mount point for your drive. Recommend
that you also use the UUID like jpkotta recommended.
The line in your fstab should look something like this:
 Code:

# /dev/sdb1
UUID=XXXX-XXXX    /media/External   vfat....

'
... but not working

By specifying the UUID and the mount point for each drive, you will be able
to avoid confusion and any links to locations on those drives will remain
good no matter what configuration of drives you have running.
root at THUNDERCAT1:/home/max# ls /dev/disk/by-label -lah
total 0
drwxr-xr-x 2 root root  80 2009-04-20 15:39 .
drwxr-xr-x 6 root root 120 2009-04-20 06:38 ..
lrwxrwxrwx 1 root root  10 2009-04-20 15:39 FREECOM\x20HDD -> ../../sdc1
lrwxrwxrwx 1 root root  10 2009-04-20 06:38 Local\x20Disk -> ../../sdb1
root at THUNDERCAT1:/home/max# ls /dev/disk/by-id -lah
total 0
drwxr-xr-x 2 root root 320 2009-04-20 15:39 .
drwxr-xr-x 6 root root 120 2009-04-20 06:38 ..
lrwxrwxrwx 1 root root   9 2009-04-20 06:38
ata-HDS722516VLAT20_VNR4GEC4G6NVSK -> ../../sda
lrwxrwxrwx 1 root root  10 2009-04-20 06:38
ata-HDS722516VLAT20_VNR4GEC4G6NVSK-part1 -> ../../sda1
lrwxrwxrwx 1 root root  10 2009-04-20 06:38
ata-HDS722516VLAT20_VNR4GEC4G6NVSK-part2 -> ../../sda2
lrwxrwxrwx 1 root root  10 2009-04-20 06:38
ata-HDS722516VLAT20_VNR4GEC4G6NVSK-part5 -> ../../sda5
lrwxrwxrwx 1 root root   9 2009-04-20 06:38
scsi-1ATA_HDS722516VLAT20_VNR4GEC4G6NVSK -> ../../sda
lrwxrwxrwx 1 root root  10 2009-04-20 06:38
scsi-1ATA_HDS722516VLAT20_VNR4GEC4G6NVSK-part1 -> ../../sda1
lrwxrwxrwx 1 root root  10 2009-04-20 06:38
scsi-1ATA_HDS722516VLAT20_VNR4GEC4G6NVSK-part2 -> ../../sda2
lrwxrwxrwx 1 root root  10 2009-04-20 06:38
scsi-1ATA_HDS722516VLAT20_VNR4GEC4G6NVSK-part5 -> ../../sda5
lrwxrwxrwx 1 root root   9 2009-04-20 15:39
usb-Hitachi_HDT725032VLAT80_34370358-0:0 -> ../../sdd
lrwxrwxrwx 1 root root  10 2009-04-20 15:39
usb-Hitachi_HDT725032VLAT80_34370358-0:0-part1 -> ../../sdd1
lrwxrwxrwx 1 root root   9 2009-04-20 15:39
usb-SAMSUNG_HD400LD_01B60D300006-0:0 -> ../../sdc
lrwxrwxrwx 1 root root  10 2009-04-20 15:39
usb-SAMSUNG_HD400LD_01B60D300006-0:0-part1 -> ../../sdc1
lrwxrwxrwx 1 root root   9 2009-04-20 06:38
usb-SAMSUNG_SP1604N_DEF109783864-0:0 -> ../../sdb
lrwxrwxrwx 1 root root  10 2009-04-20 06:38
usb-SAMSUNG_SP1604N_DEF109783864-0:0-part1 -> ../../sdb1
root at THUNDERCAT1:/home/max# ls /dev/disk/by-uuid -lah
total 0
drwxr-xr-x 2 root root 140 2009-04-20 15:39 .
drwxr-xr-x 6 root root 120 2009-04-20 06:38 ..
lrwxrwxrwx 1 root root  10 2009-04-20 15:39 17E8-082F -> ../../sdc1
lrwxrwxrwx 1 root root  10 2009-04-20 06:38
8c6a2356-9c6b-4ef1-9b65-8e6edbf76120 -> ../../sda5
lrwxrwxrwx 1 root root  10 2009-04-20 15:39 A46C9A946C9A60BA -> ../../sdd1
lrwxrwxrwx 1 root root  10 2009-04-20 06:38
d053ecd0-1482-4cfc-8b34-1d821a41f843 -> ../../sda1
lrwxrwxrwx 1 root root  10 2009-04-20 06:38 F400580C0057D468 -> ../../sdb1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20090420/9c5823ad/attachment.html>


More information about the ubuntu-users mailing list