With an Ubuntu Live Disc, I have copied my Ubuntu 10.04 installation to a new harddisk (with the same hardware). However, it doesn't boot, since I think I still need to set up grub for this new installation.
How do I set up grub2 for a copied Ubuntu installation?
All the tutorials for grub2 didn't really help me...



on the "original" Ubuntu installation doesn't find the copied Ubuntu installation.

  • How exactly did you clone the Ubuntu installation? – Jordan Uggla Mar 2 '11 at 9:38
  • I used gparted from a Ubuntu 10.10 live disk. In gparted, you can "copy/paste" a whole partition. – ptikobj Mar 2 '11 at 10:57
  • I'd have used clonezilla clonezilla.org/downloads.php , another solution is while booted in live mode, mount your partition by either clicking on it in nautilus or sudo mount /dev/sdaX /mnt (replace X with partition number) and from terminal do sudo grub-install --root-directory=/mnt /dev/sda reboot into installed ubuntu and run sudo update-grub – duffydack Oct 29 '11 at 8:53

Here is the solution I used... It's in german, unfortunately.

It's basically the same as described in the Ubuntu wiki:

  1. In a Live-CD session run: sudo fdisk -l to determine the disk name X and the partition number Y of your Ubuntu installation - should be of form /dev/sdXY.
  2. run sudo mount /dev/sdXY /mnt
  3. run sudo grub-install --root-directory=/mnt/boot /dev/sdX
  4. Reboot.
  5. Update the grub menu: sudo update-grub
  • helpful to many, perhaps, but the post is asking for help with grub2, not grub (grub-install is a tool for grub, not grub2) – Troy Folger Oct 16 '16 at 23:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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