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 12-18-2007, 01:48 AM   #1
chickenjoy
Member
 
Registered: Apr 2007
Distribution: centos,rhel, solaris
Posts: 239

Rep: Reputation: 30
Question 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
 
Old 12-18-2007, 03:53 AM   #2
Georgina Everingham
LQ Newbie
 
Registered: Oct 2006
Posts: 21

Rep: Reputation: 0
Quote:
Originally Posted by chickenjoy View Post
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
 
Old 12-18-2007, 04:00 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,286

Rep: Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165
Nope - grub counts disks and partitions from zero. Try "rootnoverify (hd0,0)"
 
Old 12-18-2007, 07:25 AM   #4
chickenjoy
Member
 
Registered: Apr 2007
Distribution: centos,rhel, solaris
Posts: 239

Original Poster
Rep: Reputation: 30
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.
 
  


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 with windows-xp,FC5,suse 10.1 nb4ait Linux - Distributions 1 07-29-2006 09:48 AM
LILO does not see Windows in triple boot JoeO Ubuntu 1 08-16-2005 11:56 PM
Triple-Boot Windows, Fedora and MEPIS cerebro89 Fedora - Installation 4 05-16-2005 03:06 AM
Triple Boot RedHat,Suse,and Windows??help!!! sissipher Linux - Newbie 19 08-03-2004 02:17 AM
triple boot setup dibblethewrecke Linux - Software 3 06-22-2004 08:36 AM

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

All times are GMT -5. The time now is 07:23 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