Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-14-2005, 12:50 AM   #1
LQ Newbie
Registered: Mar 2005
Posts: 2

Rep: Reputation: 0
GRUB menu.lst for Fedora and Mandrake Dual boot

I've installed Fedora 3 and Mandrake 10.1 CE on my single hard disk as follows:
- Fedora was installed first in hdb2 partition and Mandrake was next on hdb5
- Boot loader record for Fedora 3 on /dev/hdb1 first sector of boot partition and Mandrake 10.1 in the MBR

The result of fdisk are as follows:
Device Boot Start End Blocks Id System
/dev/hdb1 * 1 13 104391 83 Linux
/dev/hdb2 14 485 3791340 83 Linux
/dev/hdb3 486 550 522112+ 82 Linux swap
/dev/hdb4 551 1027 3831502+ 5 Extended
/dev/hdb5 551 1027 3831471 83 Linux

I configured Mandrake to use GRUB as the bootloader. Finally, I added the line for Fedora on the /boot/grub/menu.lst as shown below (Note: To shorten the list I'm not showing the lines for Mandrake "failsafe" and "linux-nonfb").
timeout 10
color white/blue blue/cyan
default 0

title Mandrake 10.1 CE
kernel (hd0,4)/boot/vmlinuz root=/dev/hdb5 devfs=nomount acpi=ht resume=/dev/hdb3 splash=silent vga=788
initrd (hd0,4)/boot/initrd.img

title Fedora 3
kernel (hd0,1)/boot/vmlinuz-2.6.9-1.667 root=/dev/hdb2
initrd (hd0,1)/boot/initrd-2.6.9-1.667.img
My question: Why am I getting "File not found" on the Fedora kernel line when I select to boot it? As a result I can't boot Fedora.

If you can help me, I'll tell God.
Old 03-14-2005, 01:27 AM   #2
Registered: Mar 2005
Location: New York
Distribution: FC3
Posts: 39

Rep: Reputation: 15

I had the same problem and fixed it.Try this

login to mandrake and access the fedora partition. it is usually a folder under /
it might be /data
goto boot/grub and look for menu.lst file.
in the menu.lst file you will have the lines for fedora
make sure that the lines for fedora i.e kernel and initrd are the same as the lines in the menu.lst in mandrake.
if not change the menu.lst in mandrake. make sure u have a backup of menu.lst in mandrake.
once the changes are made save the file and restart.

let me know if it worked
Old 03-14-2005, 01:30 AM   #3
Simon Bridge
LQ Guru
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Well... there's always the obvious: "File not found" suggests linux is looking in the wrong place for the file. I'm used to grub configs that would looklike this...

title Fedora 3
root (hd0,1)
kernel /boot/vmlinuz-2.6.9-1.667 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.9-1.667.img

however, I'm not sure about dual boot for different distros of linux. Where I've had two kernels, I've just stuck everything in the same boot partition. The above assumes that vmlinuz and initrd are in the directories specified - this should make / = /dev/hdb2 and everything should be relative to that(?)

Now for someone to contradict me
Old 03-15-2005, 02:21 AM   #4
LQ Newbie
Registered: Mar 2005
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks, guys.

Per morneo's suggestion I booted into Mandrake and mounted the Fedora partition.

# mkdir /mnt/fc3
# mount /dev/hdb1 /mnt/fc3
# cd /mnt/fc3
# cat boot/grub/menu.lst

This showed me the GRUB entry which looks very much the same as what Simon suggested.

title Fedora 3
root (hd0,1)
kernel /boot/vmlinuz-2.6.9-1.667 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.9-1.667.img

I then cut and pasted that entry into my Mandrake /boot/grub/menu.lst and rebooted.

Voila! It works. I can boot Fedora 3 now.


I'll tell God what a bunch of nice people you are.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Right way to edit /boot/grub/menu.lst ? eeried Linux - Software 2 02-07-2007 09:59 AM
How to edit /boot/grub/menu.lst of the host satimis Linux From Scratch 1 09-25-2005 08:21 AM
need to access /boot/grub/menu.lst and /boot/grub/ neouto Linux - Newbie 8 09-04-2005 12:45 PM
/boot/grub/menu.lst gets re-written by apt-get..NOT COOL terrapin24h Ubuntu 2 07-04-2005 10:14 AM
anyone know how to edit the /boot/grub/menu.lst? plzz help earth.hero Linux - Newbie 17 03-26-2005 11:15 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:54 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration