Fstab Config for External Hard Drives?

Preston Kutzner shizzlecash at gmail.com
Mon Apr 20 16:45:31 UTC 2009


On Apr 20, 2009, at 11:26 AM, MG wrote:

>
> current fstab with lost hard drives:
>
> # /etc/fstab: static file system information.
> #
> #  -- This file has been automaticly generated by ntfs-config --
> #
> # <file system> <mount point>   <type>  <options>       <dump>  <pass>
>
> proc /proc proc defaults 0 0
> # Entry for /dev/sda1 :
> UUID=d053ecd0-1482-4cfc-8b34-1d821a41f843 / ext3  
> relatime,errors=remount-ro 0 1
> # Entry for /dev/sda5 :
> UUID=8c6a2356-9c6b-4ef1-9b65-8e6edbf76120 none swap sw 0 0
> /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
>  none       /mnt/ramfs      tmpfs      defaults  0 0
> # Entry for /dev/sdc1 :
> UUID=17E8-082F /dev/sdc1       /media/External/usb1      vfat       
> rw,hard,intr  0 0
> # Entry for /dev/sdb1 :
> UUID=F400580C0057D468 /dev/sdb1       /media/External/usb2       
> ntfs-3g      rw,hard,intr  0 0
> # Entry for /dev/sdd1 :
> UUID=A46C9A946C9A60BA /dev/sdd1       /media/External/usb3       
> ntfs-3g      rw,hard,intr  0 0
>
> What am I doing wrong?

Change the following:

UUID=17E8-082F /dev/sdc1	/media/External/usb1		vfat		rw,hard,intr	0	0
to:
/dev/sdc1	/media/External/usb1		vfat		rw,hard,intr	0	0
or:
UUID=valid_uuid_here	/media/External/usb1		vfat		rw,hard,intr	0	0

Do the same for /dev/sdb1 and /dev/sdd1.  As a note, you either use / 
dev/partition OR UUID in the fstab file, not both, as you are doing in  
the above.

To get a valid UUID for a partition, make sure your device is  
connected, then run a 'sudo vol_id -u /dev/partition' where /dev/ 
partition is one of your above listed partitions (/dev/sdc1, /dev/ 
sdb1, or /dev/sdd1).
> -- 
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20090420/28abc270/attachment.html>


More information about the ubuntu-users mailing list