Hi all,
I'm trying to replace the usage of device names in my file system table with their corresponding UUIDs, and am having not much success. I boot with the "nofstab" boot code, then run
tc@box:~$ sudo blkid
/dev/sda1: LABEL="System Reserved" UUID="2E5C57A25C57639D" TYPE="ntfs"
/dev/sda2: UUID="A89063A4906377A8" TYPE="ntfs"
/dev/sdb1: UUID="53e686ca-69e8-4a20-8863-509497512687" SEC_TYPE="ext2" TYPE="ext3"
/dev/ramzswap0: TYPE="swap"
to get the UUID of what I'm interested in (sdb1). I then run:
tc@box:~$ sudo chmod 666 /etc/fstab
tc@box:~$ sudo echo "UUID=53e686ca-69e8-4a20-8863-509497512687 /mnt/sdb1 ext3 noauto,users,exec,relatime 0 0" >> /etc/fstab
tc@box:~$ sudo mkdir /mnt/sdb1
to put the entry in fstab. Then I fail to mount sdb1:
tc@box:~$ sudo mount /mnt/sdb1
mount: mounting UUID=53e686ca-69e8-4a20-8863-509497512687 on /mnt/sdb1 failed: No such file or directory
Can someone shine some light on this?