I recently moved a partition with a complete Linux install except
/home to a new disk (with DD).
Everything went fine, I can mount the partition, browse it... perfect.
Next step: install GRUB to make it bootable.
Restarted from a Live CD mounted the partition (
mount /dev/sda1 /mnt/root/)
and installed GRUB:
grub-install --boot-directory=/mnt/root /dev/sda
I get a success message when I do this.
Now, when I boot, I go to the GRUB rescue CLI with the error "out of partition".
I tried to see what's inside the disk
ls (hd0,1)/ and I got the list of directories. If I try to list the content of one of the directories I get an "out of partition" again.
The hardware is actually a virtual machine (QEMU).