« Howto Configure Ethernet BridgeRemote access via ssh with RedHat Rescue Disk »

Reinstall grub in MBR

04/14/09

Permalink 10:26:30 am, by admin Email , 58 words   English (US)
Categories: RedHat

Reinstall grub in MBR

Two approaches to this. The first is to use the grub-install utility:


grub-install --root-directory=/boot /dev/???

The second approach is to use the grub command line:

1. Start the grub command line:

grub

2. Determine the boot device:

find /boot/grub/stage1

You'll get something like "(hd0,0)".

3. Tell grub where the root is:

root (hd0,0)

4. Install the MBR:

setup (hd0,0)

No feedback yet

Leave a comment


Your email address will not be revealed on this site.

Your URL will be displayed.
PoorExcellent
(Line breaks become <br />)
(Name, email & website)
(Allow users to contact you through a message form (your email will not be revealed.)
July 2010
Sun Mon Tue Wed Thu Fri Sat
 << <   > >>
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31

Reliable Penguin offers Linux Server Migrations, Systems Administration & Programming. Visit our main website at:

http://www.reliablepenguin.com

Search

Bookmark and Share

XML Feeds

free blog tool