Restore GRUB Legacy

15.12.2009. at 23:30 Leave a comment

This method requires any live GNU/Linux distribution that has ‘GRUB Legacy’ for default bootloader. So after booting live distribution from CD/DVD/USB, and opening command line, here are 4 steps that will restore your GRUB:

  1. Start grub using this command (the ‘no-floppy’ option will speed up GRUB starting time):
    sudo grub --no-floppy
  2. Now if boot partition, that you want to restore GRUB from (it contains ”/boot/grub/stage1′ file), is on the second partition, you’ll type:
    root (hd0,1)
  3. Setup GRUB on MBR:
    setup (hd0)
  4. And quit:
    quit

For more options there are always man pages, help in grub interface, and on-line manual.

Advertisement

Entry filed under: Linux commands. Tags: , , , , .

View disk usage Dina font with Croatian characters

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

Trackback this post  |  Subscribe to the comments via RSS Feed


Content

Activity

December 2009
M T W T F S S
« Sep   Aug »
 123456
78910111213
14151617181920
21222324252627
28293031  

Follow

Get every new post delivered to your Inbox.