LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 11-09-2007, 07:56 PM   #1
pilotgi
Member
 
Registered: Apr 2002
Location: ks
Distribution: openSUSE Tumbleweed
Posts: 495

Rep: Reputation: 33
Installed xp after SUSE 10.3, how do I boot xp?


I installed xp on sda3 partition after openSUSE 10.3 was installed. What's the correct entry in boot/grub/menu.lst for this configuration?

I used supergrub cd to fix grub after I installed xp so I could boot linux and now it won't boot xp.

I'm not a Windows user so I'm lost. I also tried fixmbr after booting from the xp disc but that didn't work.

hd0,0 is swap
hd0,1 is / linux
hd0,2 is ntfs for xp

YaST partition tool says this:
/dev/sda1 swap
/dev/sda2 / linux native
/dev/sda3 hpfs/ntfs
 
Old 11-10-2007, 12:19 AM   #2
swerdna
Member
 
Registered: Jun 2006
Location: Oz
Distribution: openSUSE 10.x
Posts: 80

Rep: Reputation: 16
Try in Yast --> system --> bootloader (grub): add the windows partition as a chainloader

The fixmbr trick only works IMO if windows is first.
 
Old 11-10-2007, 09:38 AM   #3
pilotgi
Member
 
Registered: Apr 2002
Location: ks
Distribution: openSUSE Tumbleweed
Posts: 495

Original Poster
Rep: Reputation: 33
This is what my menu.lst file looks like now. When I select windows, it asks me to insert the cd for installation even though xp is already installed. Anyone know what's wrong?



# Modified by YaST2. Last modification on Sat Nov 10 09:28:56 CST 2007
default 0
timeout 8
##YaST - generic_mbr
gfxmenu (hd0,1)/boot/message
##YaST - activate

###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 10.3 - 2.6.22.12-0.1
root (hd0,1)
kernel /boot/vmlinuz-2.6.22.12-0.1-default root=/dev/disk/by-id/scsi-SATA_ST3320620AS_9QF68MRN-part2 vga=0x348 resume=/dev/sda1 splash=silent showopts
initrd /boot/initrd-2.6.22.12-0.1-default

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 10.3 - 2.6.22.12-0.1
root (hd0,1)
kernel /boot/vmlinuz-2.6.22.12-0.1-default root=/dev/disk/by-id/scsi-SATA_ST3320620AS_9QF68MRN-part2 vga=normal showopts ide=nodma apm=off acpi=off noresume nosmp noapic maxcpus=0 edd=off 3
initrd /boot/initrd-2.6.22.12-0.1-default

title windows
rootnoverify (hd0,1)
chainloader (hd0,2)+1
 
Old 11-10-2007, 09:57 AM   #4
jdmcdaniel3
Member
 
Registered: Jan 2006
Location: Austin
Distribution: openSUSE 11.2
Posts: 167

Rep: Reputation: 31
Lightbulb Try This Entry to Menu.Lst

If I understand your setup correctly, I would add the following line after your SuSE entry:

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

You must do this using an editor like Kate and you need to log in as root. The file is menu.lst located at /boot/grub.

Thank You,
 
Old 11-10-2007, 10:18 AM   #5
pilotgi
Member
 
Registered: Apr 2002
Location: ks
Distribution: openSUSE Tumbleweed
Posts: 495

Original Poster
Rep: Reputation: 33
So you're saying rootnoverify should point to the partition that xp is on? I know how to edit menu.lst, I just want to make sure I understand the right way to boot xp.
 
Old 11-10-2007, 11:40 AM   #6
pilotgi
Member
 
Registered: Apr 2002
Location: ks
Distribution: openSUSE Tumbleweed
Posts: 495

Original Poster
Rep: Reputation: 33
I changed the entry to (hd0,2) and it still asking me to insert the xp disc to begin the install.
 
Old 11-10-2007, 01:07 PM   #7
swerdna
Member
 
Registered: Jun 2006
Location: Oz
Distribution: openSUSE 10.x
Posts: 80

Rep: Reputation: 16
Quote:
Originally Posted by pilotgi View Post
I changed the entry to (hd0,2) and it still asking me to insert the xp disc to begin the install.
Looks like the install of windows isn't finished yet. Could that be so?
 
Old 11-11-2007, 07:42 AM   #8
delta_9
Member
 
Registered: Feb 2006
Location: Athens
Distribution: opensuse 11/kubuntu 8.04
Posts: 99

Rep: Reputation: 15
Quote:
Originally Posted by swerdna View Post
Looks like the install of windows isn't finished yet. Could that be so?
Yes it could be so and that might be the problem.
After Xp installs the main packages it needs reboot to continue installation.
The installation continoues from HD which is impossible here.We need to find a way to boot to xp and continue installation.
To be honest i installed my xp after suse and Xp did overwrite the MBR so the system booted directly to windows and had no problems and then i reinstalled grub.

If u insert the windows Xp installation cd isn't there any option to boot from installed system?There should be one.
If u make a windows start up disk cant u browse the partition with windows XP and start the installation manually again?
 
Old 11-11-2007, 01:18 PM   #9
swerdna
Member
 
Registered: Jun 2006
Location: Oz
Distribution: openSUSE 10.x
Posts: 80

Rep: Reputation: 16
Quote:
Originally Posted by delta_9 View Post
Yes it could be so and that might be the problem.
After Xp installs the main packages it needs reboot to continue installation.
The installation continoues from HD which is impossible here.We need to find a way to boot to xp and continue installation.
To be honest i installed my xp after suse and Xp did overwrite the MBR so the system booted directly to windows and had no problems and then i reinstalled grub.

If u insert the windows Xp installation cd isn't there any option to boot from installed system?There should be one.
If u make a windows start up disk cant u browse the partition with windows XP and start the installation manually again?
What about this: Reinstall XP. It WILL overwrite the Grub code in the mBR but do't mind that. And MAKE SURE the win install is finished. Then use the Suse install DVD to "Boot installed Suse" and when that's up, reinstall Grub, making sure that it's picked up windows by the chainloader method.


Swerdna
 
  


Reply



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
Just installed SUSE 10.0 - on boot screen is black with GRUB displayed in corner ricardo_123 Linux - General 1 10-17-2007 03:08 PM
suse 10.1 installed but no screen when i boot warped Linux - Newbie 1 08-23-2006 09:10 AM
Installed SuSE 9.3, Can't Boot My Windows XP Any More - Help! mac57 SUSE / openSUSE 13 10-12-2005 08:41 PM
Installed Suse 9.1 along side XP - cannot boot to XP now DocShock Linux - Newbie 7 01-21-2005 09:16 AM
Installed FC3 on hard drive that contained SuSE 9.0, now it won't boot wyldeone Fedora 3 01-16-2005 12:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

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