LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-15-2006, 01:25 AM   #1
tonycampos
LQ Newbie
 
Registered: Jan 2006
Posts: 28

Rep: Reputation: 15
Dual booting with XP


Hi:

I have install Suse 10.0 in my one of my computers... it works just great. Now I took the hard drive from my other computer (with XP) and tried to put them together in one machine. I tried the master/slave configuration but it does not seem to work.

I can get linux to but if it is the master, but I don't see XP. I can boot XP as the master, but I don't see linux... any word of advice?

Thanks

Tony
 
Old 02-15-2006, 10:12 AM   #2
Thulemanden
Member
 
Registered: Sep 2003
Location: Copenhagen, Denmark
Distribution: PC-BSD, PCLOS, MeeGo, Win 7
Posts: 189

Rep: Reputation: 30
Boot loader

It might be solved if you re-installed SuSE.

You need to get a boot laoder fixed, either GRUB or LILO and a reinstall might fix it.
 
Old 02-15-2006, 10:35 AM   #3
nevelis
Member
 
Registered: Feb 2005
Distribution: Ubuntu, Debian
Posts: 56

Rep: Reputation: 15
Yes I've had trouble with that before, if you install windows on a master/slave/whatever, it'll only ever work off the one you install it onto.

Can you put WinXP as master, your Linux drive as slave, and boot off the slave using a boot menu from the BIOS?

Alternatively, you can put your Linux drive in master, Windows XP in slave, format it, and use the wasted space for storing digital media instead

Aaron
 
Old 02-17-2006, 02:24 PM   #4
tonycampos
LQ Newbie
 
Registered: Jan 2006
Posts: 28

Original Poster
Rep: Reputation: 15
Hello again:

I was able to setup both HD. My linux as a master and then XP as a slave. I can boot any one by going into the BIOS and selecting master or slave... now my question is, is there a way to have a boot option without going into BIOS? I had an boot option when I installed Suse in my laptop, before booting it asked me if I wanted to boot suse or windows. any help?

TC
 
Old 02-17-2006, 03:30 PM   #5
exvor
Senior Member
 
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: Gentoo, LFS, Debian,Ubuntu
Posts: 1,537

Rep: Reputation: 87
Windows requires some boot information to be stored on the master drive in the system. You cannot take it from one computer put it in another and expect it to boot it will not as a slave device. There is light however but it will destory your current boot loader. Boot from the windows xp cd rom and do a repair installation. this will readd the boot information on the master parttion. then you will need to reinstall your boot loader.


A better way would be to format your windows xp drive and reinstall it. then fix the boot loader for linux.


hope this helps
 
Old 02-17-2006, 05:10 PM   #6
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 55
Quote:
now my question is, is there a way to have a boot option without going into BIOS?
install a boot-loader like "grub" - then you can select which one to boot without going through BIOS every time

You are a bit lucky that a Windows-installation from one computer worked also on another - but still:
I wonder why some think a reinstall (be it linux or Windows...) is THE fix for any problem - it actually is the VERY LAST resort and normally not needed - this is especialy true for linux...
He said that he could boot both systems fine by going through Bios...so there was nothing broken.
 
Old 02-17-2006, 05:41 PM   #7
tonycampos
LQ Newbie
 
Registered: Jan 2006
Posts: 28

Original Poster
Rep: Reputation: 15
Yes, I don't have a problem booting into any of the HD. I was just wondering if it is possible to boot without accesing the Bios. I also thought that GRUB comes with suse once it is installed. What do you mean by "installing grub? In fact, when I boot Suse (which by the way is my master HD, XP is my slave) it says "Grub is booting Suse..." so I thought Grub was already there. Is there anything I have to do to Grub in order to have a boot option?

Thanks!

TC
 
Old 02-17-2006, 06:09 PM   #8
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 55
Looks like this to me:
You installed suse - and suse installed grub as your boot-loader.
Since you only had linux on that disk at this time it probably did not bother you with setting up a boot-screen from which you could select which system to boot, because there was only one.

Now you have two systems.
Suse has Yast to configure it - including the boot-loader.
You should look into that to add your windows to the menu of grub - or to initially set up a menu which was not needed before.
I don't know Suse well and am not familiar with the way it works - so I can't be specific here - sorry.

You can alternatively edit the configuration-file by hand butyou should know how to do this.
As an example I include my configuration and one that _should_ fit your configuration
This is my file /boot/grub/menu.lst (which is the same as /boot/grub/grub.conf)
I have a separate partition for /boot (/dev/hda2) my / partition is /dev/hda3 - hda is for "first drive on primary controller"
Quote:
default 1
timeout 5

splashimage=(hd0,1)/grub/splash.xpm.gz

title=Gentoo-2.6.15
kernel /kernel-2.6.15-gentoo root=/dev/hda3 video=radeonfb:1024x768-16@60

title=Windows XP
rootnoverify (hd0,0)
makeactive
chainloader +1
here is one that could suit your needs - just add (append) the Windows XP section to your existing menu.lst:
Quote:
default 1
timeout 5


title=Windows XP
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0)
makeactive
chainloader +1
This assumes that your windows disk is slave on the first (primary) ide-controller
If it is slave on the second ide-controller rootnoverify (hd1,0) would become rootnoverify (hd3,0)

Last edited by jomen; 02-18-2006 at 01:13 AM. Reason: the second example was not complete
 
Old 02-19-2006, 11:15 AM   #9
nevelis
Member
 
Registered: Feb 2005
Distribution: Ubuntu, Debian
Posts: 56

Rep: Reputation: 15
Quote:
Originally Posted by jomen

This assumes that your windows disk is slave on the first (primary) ide-controller
If it is slave on the second ide-controller rootnoverify (hd1,0) would become rootnoverify (hd3,0)
... I don't think it matters whether your drives are primary/secondary master/slave, grub numbers the drives as they are found, for example if you have a drive on primary slave and one on secondary master, they will be named hd0 and hd1 respectively.
 
Old 02-19-2006, 02:32 PM   #10
exvor
Senior Member
 
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: Gentoo, LFS, Debian,Ubuntu
Posts: 1,537

Rep: Reputation: 87
Ive done windows xp/ME/98 support for over 4 years with microsoft. Reinstall is the last option but its eazier then typeing out the entire reinstallation of the boot loader and crap from a recovery consol.

Plus this will update something we liked to call the gumball witch is the core driver file for the operating system.

When you move your os like this there are several things that it does that can cause an end user issues.

1. microsoft will not support you and will tell you to format if you have an issue.


2. registery entries that the os created for your hardware setup may be duplicated or inconsistent.


3. Stablity issues due to loading drivers no longer present on the system.


I do know tho that even with grub installed on the system if you dont have the loader for the os on the main drive it will not work.

the chain loader for grub basicly passes off booting the os to the boot loader for microsoft. this is why it wont work this loader lives in the boot area of the harddrive. This is complicated and with XP was never made real clear how many boot loaders there actually are on the system. I know of 2 of them 1. an unnamed one on the first drive of the system and 2. NTLDR that lived on the installed drive.


Your better off just resintallig windows xp after backing up data and then reinstalling grub to be able to boot both os's. Trying to fix windows's stupid boot sequence is a waste of time.
 
  


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
Dual Booting SuSE 9.2 & XP Pro/dual hard drives The_Bug Linux - General 3 01-04-2006 05:44 PM
Dual dual booting with Suse 9.1 pro and windows 98SE UDflyer Linux - General 1 07-30-2004 02:37 PM
Are you dual booting and Windows stopped working (booting) then here's the answer: rberry88 Linux - General 1 02-12-2004 09:05 AM
Dual Booting Detroit Linux - Newbie 5 08-25-2003 06:22 PM
booting ,dual booting kmadhukar Linux - Newbie 1 02-02-2002 09:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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