[ubuntu] Boot-repair an additional thing to check is the UUID of SWAP partition
The “boot-repair” http://help.ubuntu.co/community/Boot-Repair protocol worked great AFTER I figured this out out:
Before hitting the “Recommended Repair” button, but after I had started a live session (“Try Ubuntu”) it is essential to make sure that any “Swap” partition on the new disk has the correct UUID in both /etc/fstab and /etc/initramfs-tools/conf.d/resume. This can be accomplished by editing those files from the live session. The live session can probably mount the disk version of Ubuntu you’re trying to get to boot, somewhere under “/mnt/ubuntu” or similar. You can get the current UUID of the partitions by running “lsblk -f” in a terminal. You may find that /etc/fstab and /etc/initramfs-tools/conf.d/resume have the UUID of your old swap partition from the old, replaced disk. “boot-repair” will probably run “sudo update-initramfs -u” and the UUIDs should be correct when that happens.
If boot-repair does not do an “update-initramfs”, you should do it manually using chroot.
You might also like
Is a BS in computer engineering capable of protecting himself from hacks? READ MORE
hello, i want to rename printer name with command line. i am renaming printer name by make change the name of printer from /etc/cups/printers.conf. by doing so printer renaming successfully