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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
02-17-2008, 10:40 AM
|
#1
|
|
LQ Newbie
Registered: Feb 2008
Posts: 12
Rep:
|
grub error 13 while choosing Red Hat Linux Server
Hi I have installed Kubuntu on my first partition as Ext 3
Red Hat Linux Server as second partition and
windows xp media center as my third partition
and Grub which is being used is the grub installed by KUBUNTU
(I somehow managed to reinstal it with the help of some other threads) but now when I choose to boot to the Red Hat Linux whixh is installed on the second partition I get the Grub error 13 : I don't know so much about the commands in menu.lst ....anyway I have pasted it here ....
title Ubuntu 7.10, kernel 2.6.22-14-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=e17b381e-4995-4385-9886-ddf223fce885 ro quiet splash
initrd /boot/initrd.img-2.6.22-14-generic
quiet
title Windows XP Media Center Edition
root (hd0,2)
savedefault
makeactive
chainloader +1
title Red Hat Enterprise Linux Server release 5 (Tikanga) (on /dev/sda2)
root (hd0,1)
kernel /boot/vmlinuz-2.6.18-8.el5xen root=/dev/sda2
savedefault
boot
title Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=e17b381e-4995-4385-9886-ddf223fce885 ro single
initrd /boot/initrd.img-2.6.22-14-generic
title Ubuntu 7.10, memtest86+
root (hd0,0)
kernel /boot/memtest86+.bin
quiet
as you see .... I have changed the order ...XP and UBUNTU work fine but for the RED hat enterprise Linux Server ... I get ther error 13 Invalid or unsupported executable format. Press any key to continue.
-------------------------------------------------------
at the end I have another Question here since you are reading this ...
If I install a new linux distro a new GRUB will be written as the new bootloader if I want to use the old bootloader what should I do ?
Last edited by mehdiee; 02-17-2008 at 10:42 AM.
|
|
|
|
02-17-2008, 11:35 AM
|
#2
|
|
Senior Member
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Rep: 
|
If you want to use the old bootloader then you don't install new one on the MBR,you install it on the root partition /.In your Menu.lst try to change "boot" to chainloader +1 and add makeactive before that.
Last edited by alan_ri; 02-17-2008 at 11:38 AM.
|
|
|
|
02-17-2008, 11:49 AM
|
#3
|
|
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,594
|
Quote:
13 : 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).
|
Book at the /boot folder. Make sure the kernel version number is correct in the RHEL stanza.
I notice that there isn't an initrd line after the kernel line. Is there an initrd in RHEL that should be referenced in menu.lst?
You could also comment out the current entry for RHEL, then add a modified one like this:
Code:
title Red Hat Enterprise Linux Server release 5 (Tikanga) (on /dev/sda2)
root (hd0,1)
chainloader +1
|
|
|
|
02-17-2008, 01:05 PM
|
#4
|
|
LQ Newbie
Registered: Feb 2008
Posts: 12
Original Poster
Rep:
|
I did what you told me ...but the same error 13
title Red Hat Enterprise Linux Server
root (hd0,1)
kernel /boot/vmlinuz-2.6.18-8.el5xen root=/dev/sda2
initrd /boot/initrd-2.6.18-8.el5xen root=/dev/sda2
savedefault
makeactive
chainloader +1
hey guys this is what you told me to do right ???
I found the initrd one as well on my /dev/sda2(which is the partition that RED HAT enterprise reside when I boot up with kubuntu) and I just added that below kernel and added SAVEDEFAULT and the rest ....
what do you think is wrong ??
should I add the properties "ro quiet splash" or commands like that ???

|
|
|
|
02-17-2008, 01:25 PM
|
#5
|
|
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,594
|
Too much information in the menu.lst entry.
You have this:
Code:
title Red Hat Enterprise Linux Server
root (hd0,1)
kernel /boot/vmlinuz-2.6.18-8.el5xen root=/dev/sda2
initrd /boot/initrd-2.6.18-8.el5xen root=/dev/sda2
savedefault
makeactive
chainloader +1
It should be this:
Code:
title Red Hat Enterprise Linux Server
root (hd0,1)
kernel /boot/vmlinuz-2.6.18-8.el5xen root=/dev/sda2
initrd /boot/initrd-2.6.18-8.el5xen
or this:
Code:
title Red Hat Enterprise Linux Server
root (hd0,1)
chainloader +1
Since you have /boot in the root partition, grub knows to look in the /boot file, so you should probably do this:
Code:
title Red Hat Enterprise Linux Server
root (hd0,1)
kernel /vmlinuz-2.6.18-8.el5xen root=/dev/sda2
initrd /initrd-2.6.18-8.el5xen
because grub may be looking for /boot/boot/vmlinuz and /boot/boot/initrd, which don't exist.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 12:09 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|