Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Ive cloned my ubuntu installation, but cannot get grub2 to see it.

Before I had the install on /dev/sda1 and a grub boot prtition on /dev/sda2

I copied them both to a new disk - now boot prtition is on /sdb1 and the cloned partition (using gparted) is on /sdb2

Ive set the BIOS boot order ot boot from the driv ive copied to. At startup the first time it booted into the old install (this was expected, since I hadnt changed the grub entries)

But now, while in my 'old' installation, if I run grub-mkconfig it only finds the install on /dev/sda1, and not its copy on /dev/sdb2

Ive tried reinstalling grub from scratch but no joy....

share|improve this question
up vote 1 down vote accepted

You need to give the cloned partitions new UUIDs so they are not confused with the old ones. Run sudo tune2fs -U random /dev/sdb1.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.