How to recover linux after xp install using grub install?
Hi all !
I have just re-install my xp partition and as usual XP overrights grub and as usual i whent for my FC4 DVD and … linux rescue … and in the shell do the :
grub-install /dev/hda1
ok … its working again… this is how :
2. Login to recovery console and type "fixboot"
3. Now type "fixmbr", this will re-install the XP (NT) bootloader.
4. Boot off the Fedora CD and at the boot prompt type "linux rescue", follow the on-screen instructions.
5. Type "chroot /mnt/sysimage"
6. Type "grub-install /dev/hda"
============================
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd1,0)
# kernel /vmlinuz-version ro root=/dev/hdb3
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd1,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-8)
root (hd1,0)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/1 hdc=ide-scsi
initrd /initrd-2.4.20-8.img
title DOS
rootnoverify (hd0,0)
chainloader +1
==============================

Comments
No comments yet.