LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 10-04-2008, 10:04 PM   #1
ritam_bkp
Member
 
Registered: Sep 2008
Location: Calcutta,India
Distribution: Fedora 11, OpenSUSE 11.0
Posts: 116

Rep: Reputation: 17
Exclamation GRUB problem


i had dual booting machine..with windows xp and ubuntu...and 15gb of free HDD space
i decided to load fedora in the free space..
my ubuntu partitions are stated below ->

/boot 256 MB /dev/hda9
/ 12 GB /dev/hda10
SWAP 768 MB /dev/hda11

i installed fedora succesfuuly in the free free space..
it had partittions as stated below ->

/boot 256 MB /dev/hda12
/ 14 GB /dev/hda13
SWAP 768 MB /dev/hda14 (now,i think this swap partition was unnecessary..as i had already one swap partition functioning)

While installing fedora ,in the boot loader configuration setup,
there were booting options such as fedora and others (windows)..
but no entry for ubuntu..
hence i added ubuntu and gave /dev/hda10(root partition of ubuntu)
as path for ubuntu in the boot loader..
next..when i try to boot ubuntu in GRUB the following message shows up :

< booting 'ubuntu'
rootnoverify(hd0,9)
chainloader +1
invalid or unsupported executable format >

i have surely messed up while installation.
at the boot loader configuration setup what should i am supposed to give the path of ubuntu????should that be /boot(/dev/hda9) instead of root partition(/dev/hda10)

now..is there any way to fix this problem??

Last edited by ritam_bkp; 10-04-2008 at 11:03 PM.
 
Old 10-04-2008, 11:09 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,041

Rep: Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619
From the Grub Documentation Page:

Invalid or unsupported executable format
This error is returned if the kernel image being loaded is not recognized as Multiboot or one of the supported native formats (Linux zImage or bzImage, FreeBSD, or NetBSD

Fedora doesn't do well at detecting or making entries for other OS's in the grub.conf (menu.lst) file. You need to make a manual entry. I assume you are able to boot Fedora? If so, just mount Ubuntu in Fedora and go to the Ubuntu /boot/grub/menu.lst file and copy the Ubuntu entry from there to /boot/grub/grub.conf in Fedora. If you don't know how to do this, post again. Also, it would be useful to post the output of 'fdisk -l' (lower case letter L).

Do you have two boot partitions on your drive (hda9 and hda12)??

Last edited by yancek; 10-04-2008 at 11:10 PM.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Triple Boot problem baldur2630 Linux - General 9 08-18-2008 11:41 AM
problem in triple boot sachin_malik Linux - Hardware 1 04-30-2005 10:25 AM
grub triple boot problem the rev Fedora 6 08-12-2004 03:15 AM
triple boot problem jemp Linux - Newbie 2 05-18-2004 07:31 AM
Triple Boot problem Commander Linux - General 5 02-18-2003 01:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:41 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration