This is the grub.conf before adding the new partition
Code:
# grub.conf generated by anaconda
default \ u003d 0
timeout \ u003d 10
splashimage \ u003d (hd0, 4) / grub / splash.xpm.gz
Under GNU / Linux Fedora Core 1 (2.4.22-1.2174.nptl)
root (hd0, 4)
kernel / vmlinuz-2.4.22 root 1.2174.nptl-ro \ u003d LABEL \ u003d / hdc apm \ u003d ide-scsi \ u003d acpi \ u003d off on rhgb
initrd / initrd-2.4.22-1.2174.nptl.img
Title Microsoft Windows XP Pro
rootnoverify (hd0, 0)
chainloader +1
So what you have to do is edit / boot / grub / grub.conf with the new partition table. (First, enter your BIOS setup and boot sequence window choose to start with the first CD-ROM.)
1) Start with your installation CD for Fedora Core 1.
2) Type "linux rescue" at the prompt.
3) Answering questions on the keyboard and language.
4) Tell the rescue mode to use your proper partition to mount (the one you want to get the boot), Select Continue (Do not choose Cancel or Read Only) Because you want to edit grub.conf .
5) When you come to the command console, type:
Code:
sh-2.05 # chroot / mnt / sysimage
6) Edit your grub.conf with nano, type:
Code:
sh-2.05 # nano / boot / grub / grub.conf
7) Simply change 2 lines:
Code:
splashimage \ u003d (hd0, 4) / grub / splash.xpm.gz
root (hd0, 4)
(This is your / boot partition, specifies which partition contains the Linux kernel image.
This is the after editing your grub.conf grub.conf
Code:
# grub.conf generated by anaconda
default \ u003d 0
timeout \ u003d 10
splashimage \ u003d (hd0, 5) / grub / splash.xpm.gz
Under GNU / Linux Fedora Core 1 (2.4.22-1.2174.nptl)
root (hd0, 5)
kernel / vmlinuz-2.4.22 root 1.2174.nptl-ro \ u003d LABEL \ u003d / hdc apm \ u003d ide-scsi \ u003d acpi \ u003d off on rhgb
initrd / initrd-2.4.22-1.2174.nptl.img
Title Microsoft Windows XP Pro
rootnoverify (hd0, 0)
chainloader +1
8) eject your installation of Fedora Core Release type CD1 and restart your system.
If everything went well, voila, GRUB boot window appears again!
Bookmarks