Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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

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.

share|improve this question
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 , 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
up vote 6 down vote accepted

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
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.