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. |
|
 |
12-18-2007, 12:48 AM
|
#1
|
|
Member
Registered: Apr 2007
Distribution: centos,rhel, solaris
Posts: 200
Rep:
|
Can't boot to windows XP with triple boot setup
I'm having problems with booting into Windows XP in a triple boot system
I installed the OS is this order:
1. Windows XP
2. SUSE 9.3
3. RHEL 5
4. Did a grub install using the RHEL CD.
I can boot to both SUSE and RHEL partitions without problems but with the XP option I get a :
Quote:
|
grub error 13: invalid unsupported executable format
|
error.
here is the grub.conf:
Code:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,4)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=5
splashimage=(hd0,4)/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux Server (2.6.18-8.el5)
root (hd0,4)
kernel /vmlinuz-2.6.18-8.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet hpet=disable
initrd /initrd-2.6.18-8.el5.img
title Windows XP
rootnoverify (hd0,1)
makeactive
chainloader +1
title SUSE LINUX 9.3
kernel (hd0,1)/vmlinuz root=/dev/hda4 vga=0x317 selinux=0 splash=silent acpi=off resume=/dev/hda4 showopts
initrd (hd0,1)/initrd
and the fdisk -l command gave me:
Code:
Disk /dev/hda: 60.0 GB, 60011642880 bytes
255 heads, 63 sectors/track, 7296 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 1698 13637498+ 7 HPFS/NTFS
/dev/hda2 1699 1711 104422+ 83 Linux
/dev/hda3 4297 7296 24097500 f W95 Ext'd (LBA)
/dev/hda4 2736 4296 12538732+ 83 Linux
/dev/hda5 4297 4309 104391 83 Linux
/dev/hda6 4310 7296 23993046 8e Linux LVM
Partition table entries are not in disk order
----------------
I tried to add the "makeactive" option in the windows XP item based on another post I read that worked, but the same problems arises.
What should I do?
TIA
|
|
|
|
12-18-2007, 02:53 AM
|
#2
|
|
LQ Newbie
Registered: Oct 2006
Posts: 19
Rep:
|
Quote:
Originally Posted by chickenjoy
I'm having problems with booting into Windows XP in a triple boot system
I installed the OS is this order:
1. Windows XP
2. SUSE 9.3
3. RHEL 5
4. Did a grub install using the RHEL CD.
I can boot to both SUSE and RHEL partitions without problems but with the XP option I get a :
error.
here is the grub.conf:
Code:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,4)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=5
splashimage=(hd0,4)/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux Server (2.6.18-8.el5)
root (hd0,4)
kernel /vmlinuz-2.6.18-8.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet hpet=disable
initrd /initrd-2.6.18-8.el5.img
title Windows XP
rootnoverify (hd0,1)
makeactive
chainloader +1
title SUSE LINUX 9.3
kernel (hd0,1)/vmlinuz root=/dev/hda4 vga=0x317 selinux=0 splash=silent acpi=off resume=/dev/hda4 showopts
initrd (hd0,1)/initrd
and the fdisk -l command gave me:
Code:
Disk /dev/hda: 60.0 GB, 60011642880 bytes
255 heads, 63 sectors/track, 7296 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 1698 13637498+ 7 HPFS/NTFS
/dev/hda2 1699 1711 104422+ 83 Linux
/dev/hda3 4297 7296 24097500 f W95 Ext'd (LBA)
/dev/hda4 2736 4296 12538732+ 83 Linux
/dev/hda5 4297 4309 104391 83 Linux
/dev/hda6 4310 7296 23993046 8e Linux LVM
Partition table entries are not in disk order
----------------
I tried to add the "makeactive" option in the windows XP item based on another post I read that worked, but the same problems arises.
What should I do?
TIA
|
Hi!
I am no expert but looking at your grub read-out, I would expect Windows to be (hd0,1) which it is. You also have Suse as (hd0,1) which to my mind it can't be. If this is your problem I am not sure how you fix it as you say Suse boots as (hd0,1). I would expect to have to change the Suse to (hd0,2) or (hd0,3 or 6), but you say it already recognises itself as (hd0,1). From your devices above it looks as if (hd0,6) is the other Linux partition.
I hope this might help, if not I am talking nonsense and so just ignore my nonsense.
Georgina Everingham
|
|
|
|
12-18-2007, 03:00 AM
|
#3
|
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 11,219
|
Nope - grub counts disks and partitions from zero. Try "rootnoverify (hd0,0)"
|
|
|
|
12-18-2007, 06:25 AM
|
#4
|
|
Member
Registered: Apr 2007
Distribution: centos,rhel, solaris
Posts: 200
Original Poster
Rep:
|
Tried rootnoverify (hd0,0) and grub just automatically goes back into the grub menu. Actually I tried hd0,0 till 8 and it still just reverts back to the grub selection menu.
thanks.
|
|
|
|
| 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 06:25 PM.
|
|
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
|
|