howto - migrate fstab from /dev/ to uuid
So after i moved my system to new hardware (and yes i love the hp microserver N40L allready), i run into some trouble with my fstab. The system tries to boot but couldn't find the root partition since the devices had changed. The sda has changed to sdc. But the friendly system switched into maintenance mode, so a quick search and replace solved the problem. I thought the problem was solved but after i added a device via esata and tried to boot, the same problem occured. The same error twice a day? Too bad, i have to migrate the fstab.
First you have to figure out the uuid's.
lsblk -fAfter that you just have to edit your fstab file.
vim /etc/fstab #change line like /dev/sda1 / ext4 #to UUID=artodeto-1234-5678-9012-bazzlineDnetsource
Comments
Display comments as Linear | Threaded