Linux - NewbieThis 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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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 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 ?
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.
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
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 ???
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.