LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-13-2006, 03:16 AM   #1
Skyone
LQ Newbie
 
Registered: Mar 2006
Posts: 15

Rep: Reputation: 0
GRUB dual booting - SUSE 10.0 and XP Pro (yes, yet another)


I've seen this problem around, but I have no clue how people come to solutions with the given variables.

I need to make my GRUB loader boot Linux (and Failsafe, etc.) and also boot my XP.

Linux SUSE 10.0 is on my only IDE HDD.

Windows XP Pro is on my only SATA 3gb/s 250gb HDD.

When I enter fdisk -l in a terminal, I get:

Code:
linux:~ #  fdisk -l

Disk /dev/hdc: 60.0 GB, 60022480896 bytes
255 heads, 63 sectors/track, 7297 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdc1               1         131     1052226   82  Linux swap / Solaris
/dev/hdc2   *         132        7297    57560895   83  Linux

Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1       30401   244196001    7  HPFS/NTFS
In my menu.lst in /root/boot/grub, there is this:

Code:
# Modified by YaST2. Last modification on Wed Sep 14 22:15:14 UTC 2005

color white/blue black/light-gray
default 0
timeout 10
gfxmenu (hd0,1)/boot/message

###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows
    chainloader (hd1)+1

###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE LINUX 10.0
    root (hd0,1)
    kernel /boot/vmlinuz root=/dev/hdc2 vga=0x314 selinux=0    resume=/dev/hdc1  splash=silent showopts
    initrd /boot/initrd

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE LINUX 10.0
    root (hd0,1)
    kernel /boot/vmlinuz root=/dev/hdc2 vga=normal showopts ide=nodma apm=off acpi=off noresume selinux=0 edd=off 3
    initrd /boot/initrd
How can I change my menu.lst/GRUB to boot Windows XP correctly?

Currently, GRUB only sucsessfully boots Linux and Failsafe, but when I boot Windows, it just resets GRUB.

Help?

-Skyone
 
Old 03-13-2006, 02:50 PM   #2
Skyone
LQ Newbie
 
Registered: Mar 2006
Posts: 15

Original Poster
Rep: Reputation: 0
Ah jeez, I hope there's a loose bumping policy...

Please, I can't get to my XP!
 
Old 03-13-2006, 03:33 PM   #3
truoc444
Member
 
Registered: Aug 2005
Location: Salt Lake City
Distribution: Suse 9.3, Ubuntu, Mepis
Posts: 47

Rep: Reputation: 15
if XP is on your SATA Drive shouldn't your grub entry for XP Be

title Windows
chainloader (sd1)+1

or something similar to point it to the SATA Drive not the IDE One?
 
Old 03-13-2006, 03:42 PM   #4
Skyone
LQ Newbie
 
Registered: Mar 2006
Posts: 15

Original Poster
Rep: Reputation: 0
I suppose so, I'll try it out.

Sorry, I'm new(er) to linux, so I have no clue what to put in.

Thanks.
 
Old 03-13-2006, 03:46 PM   #5
truoc444
Member
 
Registered: Aug 2005
Location: Salt Lake City
Distribution: Suse 9.3, Ubuntu, Mepis
Posts: 47

Rep: Reputation: 15
i do a lot of trial and error in linux myself. if you open up the partitioner it should show you what that drive is called whether it's sda or sd1 or whatever. then just point it to the right partition in grub. typically written (sd1,0) sd1 being the sata drive and 0 being partition 1 of that drive. or whatever
 
Old 03-13-2006, 03:59 PM   #6
Skyone
LQ Newbie
 
Registered: Mar 2006
Posts: 15

Original Poster
Rep: Reputation: 0
When I boot into windows now (after replacing chainloader (hd1)+1 with chainloader (sd1)+1), I get this error:

Error 23: Error while parsing number


In the partition manager, it says XP is on /dev/sda1/.

That's all I know.

Last edited by Skyone; 03-13-2006 at 04:00 PM.
 
Old 03-13-2006, 04:05 PM   #7
truoc444
Member
 
Registered: Aug 2005
Location: Salt Lake City
Distribution: Suse 9.3, Ubuntu, Mepis
Posts: 47

Rep: Reputation: 15
try sda instead of sd1 i dont' have SATA Drives so i can't know for sure, but i know it's somethign like that.
 
Old 03-13-2006, 04:08 PM   #8
Skyone
LQ Newbie
 
Registered: Mar 2006
Posts: 15

Original Poster
Rep: Reputation: 0
Ok;

So it should be:

Code:
# Modified by YaST2. Last modification on Wed Sep 14 22:15:14 UTC 2005

color white/blue black/light-gray
default 0
timeout 10
gfxmenu (hd0,1)/boot/message

###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows
    chainloader (sda)+1

###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE LINUX 10.0
    root (hd0,1)
    kernel /boot/vmlinuz root=/dev/hdc2 vga=0x314 selinux=0    resume=/dev/hdc1  splash=silent showopts
    initrd /boot/initrd

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE LINUX 10.0
    root (hd0,1)
    kernel /boot/vmlinuz root=/dev/hdc2 vga=normal showopts ide=nodma apm=off acpi=off noresume selinux=0 edd=off 3
    initrd /boot/initrd
That's what it should be now?
 
Old 03-13-2006, 04:10 PM   #9
truoc444
Member
 
Registered: Aug 2005
Location: Salt Lake City
Distribution: Suse 9.3, Ubuntu, Mepis
Posts: 47

Rep: Reputation: 15
as far as i can tell yes. anyone else have any ideas?
 
Old 03-13-2006, 04:14 PM   #10
Skyone
LQ Newbie
 
Registered: Mar 2006
Posts: 15

Original Poster
Rep: Reputation: 0
Alright, I tried that out, it gives me the same error.

Any other ideas?
 
Old 03-13-2006, 04:18 PM   #11
truoc444
Member
 
Registered: Aug 2005
Location: Salt Lake City
Distribution: Suse 9.3, Ubuntu, Mepis
Posts: 47

Rep: Reputation: 15
what about chainloader (sda,0)+1
 
Old 03-13-2006, 04:43 PM   #12
Skyone
LQ Newbie
 
Registered: Mar 2006
Posts: 15

Original Poster
Rep: Reputation: 0
Nope, truoc, I still have the same exact error...
 
Old 03-13-2006, 04:49 PM   #13
truoc444
Member
 
Registered: Aug 2005
Location: Salt Lake City
Distribution: Suse 9.3, Ubuntu, Mepis
Posts: 47

Rep: Reputation: 15
sorry i'm out of ideas. maybe i'll have to go out and get a SATA Drive sometime so i can start playing with them. i'll keep googling if i come across anything else i'l llet you know.
 
Old 03-13-2006, 04:55 PM   #14
truoc444
Member
 
Registered: Aug 2005
Location: Salt Lake City
Distribution: Suse 9.3, Ubuntu, Mepis
Posts: 47

Rep: Reputation: 15
i just found this:

Okay looking at the Grub config file you posted it seems that it's thinking Windows is where it is not. That is it's looking at your ide drive not your sda drive.

For the windows stanza try this:
Code:

###Don't change this comment - YaST2 identifier: Original name: windows### title Windows XP Media
rootnoverify (hd1,0)
chainloader +1


And in your /boot/grub/device.map put this line (if it isn't there already)
Code:

(hd1) /dev/sda




or try this:


title Windows XP Media
root (hd1,0)
savedefault
makeactive
chainloader +1

Last edited by truoc444; 03-13-2006 at 04:57 PM.
 
Old 03-13-2006, 04:59 PM   #15
brian_lad
Member
 
Registered: Feb 2006
Location: Overland Park, KS
Distribution: RedHat EL, Fedora, Ubuntu
Posts: 32

Rep: Reputation: 15
how about chainloader (sda1,0)+1
 
  


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
Dual Booting SuSE 9.2 & XP Pro/dual hard drives The_Bug Linux - General 3 01-04-2006 06:44 PM
Dual Booting XP pro with SuSE 9.1 Ree Linux - Distributions 3 10-03-2004 01:58 AM
Dual dual booting with Suse 9.1 pro and windows 98SE UDflyer Linux - General 1 07-30-2004 03:37 PM
Dual Booting: Windows XP and SuSE 9.1 Pro NVPKrypton Linux - Newbie 4 05-30-2004 05:14 PM
Problems Dual booting Fedora and XP Pro using GRUB davstin2002 Linux - Laptop and Netbook 4 01-21-2004 06:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:14 AM.

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