I just added a new hard-drive to my system. I created an ext3 partition and used vol_id and blkid to show the UUID. Based on that information, I edited the /etc/fstab file accordingly. When I try the sudo mount -a command, I get
1 |
mount: special device /dev/disk/by-uuid/*the uuid of the new partition* does not exist |
and the mount fails.
To resolve that, just use
1 |
sudo partprobe |
It updates the /dev/disk/by-uuid directory and your uuid mount works like a charm.
That doesn’t work in Ubuntu Linux 😛
No, doesn’t work in ubuntu server 8.04. Anybody knows how to get it working?
Thank you so much for this. Worked in Ubuntu server 8.04 after I finally got around to partitioning my new hard drive. If it didn’t work, make sure you got the UUID correct by checking the output of blkid.