Hacker News new | ask | show | jobs
by timonoko 2087 days ago
Xcuse me asking, but is there some standard way to make a copied partition in Ubuntu bootable as an unique entity? First you change the UUID in Gparted and then you waste an hour rebooting and hunting for references to that old UUID. Not good.
2 comments

This question might be better asked here: https://askubuntu.com/
I think I remember creating the partition first, then copying the partition from one to another with dd, and then letting grub figure the situation out. Maybe it's ill-advised to do this, but it can work.
Except /etc/fstab and /boot/grub/cmdline jump right into that that old disk. Also grub-install sometimes finds the old UUID from some mystery hole, and you have to change that manually.