hi all,
when multibooting I allways have a fedora partition installed, it doesn't matter which 1,2,---6 as redhat/fedora has the simplest grub config .
method---
After installing fedora x as root open gedit use the open location button and in the dialog enter /etc/grub.conf click open
you will then have the grub conf file.
Print it !!
The bit you are interested in are the lines that start from default
On my machine they are as follws
defautt=1
timeout=5
splashimage=(hd1,0)
#hiddenmenu
title Fedora Core (2.6.19-1.2895.fc6 )
root (hd1,0)
kernel /boot/vmlinuz-2.6.19-1.2895.fc6 ro root=LABEL=/ rhbb quiet
initrd /boot/initrd-2.6.19-1.2895.fc6 .img
#line s added by me to boot mint
title mint
root (hd1,2)
kernel /boot/vmlinuz-2.6.17-10-generic root=?dev/sda3 ro quietsplash
initrd /boot/vmlinuz-2.6.17-10-generic
#line added by Fedora for Windows XP
rootnoverify (hd0,0)
chainloader +1
With this and the Fedora install /rescue disk you can repair or install new distos as needed(as long as you know the kernel you are booting):-)
To use the fedora rescue disk boot with the disk in the drive
at the boot promt enter -linux rescue-
you will get various messages select language keybord and then it find linux systems on the machine
Using the Tab key select the FEDORA DISTRO and OK
A message will come up saying it is mounting sysimage and how to chroot to it click ok press the space bare
At the prompt enter chroot /mnt/sysimage ENTER
back at the promt eter NANO /etc/grub.conf ENTER
YOU should now have a copy of your Fedora grub file scroll down to where you want to put your new entry useing the format :-
title new distro
root (hdx,x)
kernel /boot/newvmlinuz (if the kernel line of new distro includes the root=somthing add it to vmlinuz line)
initrd /boot/new initrd (fedora allways has .img at the end)
Then save using command -ctrl-o
In the dialog box at the bottom entere/etc/grub.conf ENTER
Then Ctrl-x
then reboot
If hiddenenu isnt commented out you will need to ese Esc to see all options any problems in the new bootloader can be fixed by useing the instructions on the boot screen : Its all easier after the first time
Tony
P.S. If you dont have a suitable rescue disk then it is possible to make a boot floppy that gives a grub shell that can be used to enter root.vmlinuz & initrd lines followed by boot
to make a boot floopy :-
as root cd /boot/grub
cat stage1 stage2 | dd of=/dev/fd0
Hope this helps
Oh Dear so sorry
Iforgot to add to my 'use fc rescue to add to the grub.conf if you have lost the MBR completly after re-writing grub, issue the command :-
grub-install /dev/hda
you will then get the device map mine is :-
(hd0) /dev/hda
(hd1) /dev/sda
If there is an error correct it then re run grub-install /dev/hda
also from the chroot installation to makle a boot disk :-
mkbootdisk --device /dev/fd0 kernel-version of running fcx
Tony