Two words…

Two words … nothing else

GRUB Restore

imagesThis article is specially written for Leo, who asked me how to restore a grub, so enjoy it…

You can re- install grub directly on live cd.
Boot the live-cd and masquerade as the terminal:
Code:
sudo grub

Then you will appear prompt grub> _ and put the command
Code:
find / boot/grub/stage1

This will give you a location that should one use the following command (which is basically saying you installed grub)
Code:
root (hd?,?)

If you had the location (hd0, 3) then the write command:
Code:
root (hd0, 3)

Then start the installation:
Code:
setup (hd0, 3)

if you want to install on the partition page or
Code:
setup (hd0)

if you want to install on first partition and default to rewrite the MBR (recommended option)
Code:
quit

If you install GRUB to MBR should go first to reboot.

Advertisements

11, 11 , 2009 - Posted by | Tehnologie

No comments yet.

Leave a Reply

Please log in using one of these methods to post your comment:

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 )

Google+ photo

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

Connecting to %s

%d bloggers like this: