Grub and Clonezilla Battles

02Jan10

It happens every time, and every-time I never learn from my mistakes. Every-time I restore a partition with Clonezilla, it wipes GRUB. And every-time I forget the right way to re-install it, in this instance at least. Every-time though, I eventually find this post on Ubuntu Forums, and get everything working again. Well, to keep it in my memory, here’s how it goes.

Make a directory to mount to

sudo mkdir /mnt/x

Mount the partition with /boot

sudo mount -t auto /dev/xxxN /mnt/x

Re-install GRUB using this command

sudo grub-install --root-directory=/mnt/x --recheck /dev/xxx

Make sure that you specify the root of the device (/dev/sda as opposed to /dev/sda1) when performing the final step.

Thank you meierfra for digging me out of a hole more times than once :)



No Responses Yet to “Grub and Clonezilla Battles”

  1. Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s


Follow

Get every new post delivered to your Inbox.

Join 41 other followers