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
 
LinkBack Search this Thread
Old 11-16-2009, 04:14 AM   #1
ggyyree
Member
 
Registered: Sep 2009
Location: London
Posts: 52

Rep: Reputation: 15
Question Dual boot Windows XP and OpenSuse


Hi there,

I met a problem with dual booting with WinXP and OpenSuse. I try to use Windows as the MBR which means I want to boot to WinXP as default, and Windows ntloader control the booting. I set the boot.ini under WinXP as,

Code:
[boot loader]
timeout=8
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
C:\linux.lnx="Grub Menu for OpenSuse 11"
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Windows XP 64-bit Pro SP3" /fastdetect
C:\GHLDR=One Key GHOST
then I copy the linux.lnx from the Linux below to connect the Linux Grub and Windows ntloader,

Code:
# mount -t vfat /dev/sda1 /mnt
# dd if=/dev/sdaY of=/mnt/linux.lnx bs=512 count=1
Last time it works fine to me; however, it doesn't work this time when I re-install a 64-bit version of Opensuse.

I don't know if it is a problem of 64-bit system or not. Should we still copy 512B of linux.lnx now?

Or my settings for OpenSuse boot is incorrect? When I install the OpenSuse, it asks something like below:

Code:
Boot from MBR?
Boot from root?
Boot from boot?
Boot from extended filesystem?
Which ones I should choose please?

Thanks a lot!
 
Old 11-16-2009, 05:44 AM   #2
soleil24
Member
 
Registered: Aug 2005
Location: Wellington NZ
Distribution: SuSE 11.2, Fedora 12
Posts: 49

Rep: Reputation: 18
Long time since I had win booting linux but iirc for that method to work, I'm pretty sure you'll need suse grub to be installed at root - because you're telling ntldr to hand off to "somewhere", that "somewhere" is the partition you've chosen as root so that's where grub needs to be. And that needs to be done before you do the copy of the front 512B of that partition.

Sure someone will correct me if my memory has got it wrong

Much easier to have grub run it all !!

IG
 
Old 11-16-2009, 09:15 AM   #3
ggyyree
Member
 
Registered: Sep 2009
Location: London
Posts: 52

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by soleil24 View Post
Long time since I had win booting linux but iirc for that method to work, I'm pretty sure you'll need suse grub to be installed at root - because you're telling ntldr to hand off to "somewhere", that "somewhere" is the partition you've chosen as root so that's where grub needs to be. And that needs to be done before you do the copy of the front 512B of that partition.

Sure someone will correct me if my memory has got it wrong

Much easier to have grub run it all !!

IG
Thanks, but refer to this link:

http://opensuse.swerdna.org/suseboot1.html

I have got a separate /boot then I need to choose 'Boot from boot',and I have already setup Grub at /boot; however, I don't know where I did something wrong. After ntloader shows the boot options:

Code:
-Grub Menu for OpenSuse 11
-Windows XP 64-bit Pro SP3
After I chose to boot OpenSuse nothing showed up. Windows XP could be login.

If I set the MBR to Opensuse then it can start...


Any other suggestions please post. Thanks a lot!
 
Old 11-16-2009, 04:33 PM   #4
yancek
Senior Member
 
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Slackware
Posts: 4,138

Rep: Reputation: 622Reputation: 622Reputation: 622Reputation: 622Reputation: 622Reputation: 622
Compare what you said you did in your first post, below:

Quote:
dd if=/dev/sdaY of=/mnt/linux.lnx bs=512 count=1
to what is suggested in the link you supplied:

Quote:
dd if=/dev/sda3 of=/mnt/windows/suse.bin bs=512 count=1
he copies the code in OpenSuse boot sector to a file named suse.bin in the root of the windows partition which is mounted at /mnt/windows, this file goes to the root partition in windows, usually referred to as: C:\. If you don't have the file there, it won't work.

Quote:
I have got a separate /boot then I need to choose 'Boot from boot',
I'm not sure what that means, do you have a separate boot partition or just the Opensuse root partition? If you have a separate boot partition, I don't think the instructions on your link account for that.
 
Old 11-16-2009, 04:35 PM   #5
soleil24
Member
 
Registered: Aug 2005
Location: Wellington NZ
Distribution: SuSE 11.2, Fedora 12
Posts: 49

Rep: Reputation: 18
If you have a separate /boot partition and have put suse grub there, that's the partition you need to be copying the front 512B from to make your .lnx file - so the "/dev/sdaY" in your quoted code, Y needs to match the partition number for wherever /boot is (and is unlikely to be 1 as that will probably be your win partition)
 
Old 11-20-2009, 12:53 PM   #6
ggyyree
Member
 
Registered: Sep 2009
Location: London
Posts: 52

Original Poster
Rep: Reputation: 15
Weird!?

It works by just choose 'Boot from extended filesystem' without mount a /boot.

Anyone can explain this to me would be appreciate.

And thanks for all your help!
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] OpenSuSE 11 on REAL raid / Dual Boot with Windows XP lpallard Linux - Laptop and Netbook 8 11-18-2008 07:20 PM
[Help] Windows Vista and OpenSuse 10.3 Dual Boot edgartech Suse/Novell 11 02-15-2008 11:23 AM
partitioning for dual boot - windows xp and opensuse 10.3 floren Linux - Newbie 1 12-22-2007 02:05 AM
dual boot openSuse 10.2/Windows XP from scratch Ultrus Suse/Novell 6 05-28-2007 09:03 PM
Why dose my internet work in windows but not in opensuse 10.2 on a dual boot computer jennylschofield Linux - Wireless Networking 6 04-21-2007 11:11 PM


All times are GMT -5. The time now is 10:55 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration