Restoring GRUB after installing Windows
/dev/hda |
Primary Master |
/dev/hdb |
Primary Slave |
/dev/hdc |
Secondary Master |
/dev/hdd |
Secondary Slave |
>Boot to the grub prompt.
>Type the following lines:
>
>root (hd0,0)
filesystem type is ext2fs, partition type 0x83
grub>
>kernel /vmlinuz-2.4.21-4.EL ro root=LABEL=/
[Linux-bzImage, setup=0x1400, size=0x12C9D1]
grub>
>initrd /initrd-2.4.21-4.EL.img
[Linux-initrd @ 0x3c7000, 0x287e7 bytes]
grub>
>boot
sh-2.05b#
>This should take you into Linux. Login as root and type:
>grub-install /dev/hda
>
>This should install the full version of grub.
|