LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 06-21-2009, 11:25 AM   #1
kmacphail
Member
 
Registered: Jan 2009
Location: Isle of Lewis
Distribution: Gentoo, Crunchbang (XFCE)
Posts: 133
Blog Entries: 1

Rep: Reputation: 18
Grub problem 13 triple boot Linux machine Fedora, Ubuntu & Arch


I have been experiencing a problem with my machine since installing Arch Linux. I have Ubuntu 9.04 and Fedora 10 on my machine, with Fedora 10 being my main day to day distro.

When I installed Arch it did, as most Linux distros do, create the menu for Arch and ignored the rest. So I put in the lines to allow me to enter the grub menu of the other distros:

Quote:
title Fedora
root (hd0,2)
chainloader +1

title Ubuntu
root (hd0,0)
chainloader +1
Ubuntu works fine, no problems that I can see. However when I try and load up the Fedora grub menu I get the message:
Quote:
Error 13: Invalid or unsupported executable format
The odd thing is that this grub menu has been working for the last few months, no alterations have been made and it is at the stated position (hd0,2)

This is really frustrating as I cannot figure out why it is able to run one grub menu and not the other. Here is a copy of my Arch menu.lst (ignoring the information parts that start with #)

Quote:
timeout 5
default 3
color light-blue/black light-cyan/blue

title Arch Linux
root (hd0,3)
kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/bbe080f4-e82d-480b-937d-3a1c7292178$
initrd /boot/kernel26.img

title Arch Linux Fallback
root (hd0,3)
kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/bbe080f4-e82d-480b-937d-3a1c7292178$
initrd /boot/kernel26-fallback.img

title Fedora
root (hd0,2)
chainloader +1

title Ubuntu
root (hd0,0)
chainloader +1
Here is my Fedora menu.lst:
Quote:
default=0
timeout=5
splashimage=(hd0,2)/boot/grub/splash.xpm.gz
hiddenmenu

title Fedora (2.6.27.24-170.2.68.fc10.i686)
root (hd0,2)
kernel /boot/vmlinuz-2.6.27.24-170.2.68.fc10.i686 ro root=UUID=cdd894fc-2$
initrd /boot/initrd-2.6.27.24-170.2.68.fc10.i686.img

title Fedora (2.6.27.21-170.2.56.fc10.i686)
root (hd0,2)
kernel /boot/vmlinuz-2.6.27.21-170.2.56.fc10.i686 ro root=UUID=cdd894fc-2$
initrd /boot/initrd-2.6.27.21-170.2.56.fc10.i686.img

title Fedora (2.6.27.19-170.2.35.fc10.i686)
root (hd0,2)
kernel /boot/vmlinuz-2.6.27.19-170.2.35.fc10.i686 ro root=UUID=cdd894fc-2$
initrd /boot/initrd-2.6.27.19-170.2.35.fc10.i686.img

title Ubuntu
root (hd0,0)
chainloader +1
I am sure that this is a simple 0 instead of a 1 somewhere, I just can't seem to find where the error is. I'm open to suggestions.
 
Old 06-21-2009, 02:37 PM   #2
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
I startup Fedora 10 from Pclinux in following way

title Fedora 10
root (hd0,2)
configfile /boot/grub/menu.lst

It should work assuming that you're sure that Fedora is on the third partition or is Fedora at the second partition because
than it should be (hd0,1)
Because the second partition seems to be missing

Last edited by ronlau9; 06-21-2009 at 02:38 PM.
 
Old 06-21-2009, 04:48 PM   #3
kmacphail
Member
 
Registered: Jan 2009
Location: Isle of Lewis
Distribution: Gentoo, Crunchbang (XFCE)
Posts: 133
Blog Entries: 1

Original Poster
Rep: Reputation: 18
Thanks Ronlau9

That did the trick, I am still a bit confused how the chainloader option worked for Ubuntu and Not Fedora.

Many thanks, I was starting to get frustrated.

Kev
 
  


Reply


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 On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Triple Boot WinXP/Ubuntu/BT3 using GRUB, Need Help The Sorrow Linux - Laptop and Netbook 4 03-27-2009 05:30 PM
Triple boot - XP, Fedora, Ubuntu Hertzy3 Linux - Software 4 08-08-2008 07:06 AM
triple boot Fedora exPee and slackware with grub terry_g Slackware - Installation 2 12-09-2005 03:07 PM
Triple Boot Fedora C2 and Suse and windows = big grub error maneeshsethi Linux - Software 6 10-07-2004 04:03 PM


All times are GMT -5. The time now is 08:43 PM.

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