Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - General > Member Success Stories
User Name
Password Member Success Stories Just spent four hours configuring your favorite program? Just figured out a Linux problem that has been stumping you for months?
Post your Linux Success Stories here.


  Search this Thread
Old 06-22-2004, 03:09 PM   #1
Registered: Oct 2003
Location: Oxford, England
Distribution: Ubuntu
Posts: 70

Rep: Reputation: 15
How I got XP and Linux working (dual boot)

Thought I'd share this as I know it caused me no end of grief....I can't be held responsible for your data though so you have been warned!

It seems that some Distros (mostly ones based on the 2.6 kernel) seem to have problems with dual booting of WinXP and Linux. Although I had limited success getting this working with only one hard disk, in the end it was just easier to install 2 hard disks.

I was installing fresh Windows XP Pro and a fresh Linux install. If you already have a hard disk with Windows XP on then you can skip step 1, but I would guess that you'll need to get rid of any Linux boot manager you have on the Windows HDD first . To do this, boot from the Windows CD-ROM and use the recovery console. At the console prompt type FIXMBR and Y to confirm. Then reboot.

1. Take your PC apart and plug your (Windows) Hard Disk onto the IDE Master. (Install Windows as normal if new HDD)
2. Take out your Windows HDD and set the drive's jumper to slave then put your Linux HDD in as the master and connect your Windows HDD as the slave drive.
3. Install your favourite Linux distro

When your Linux distro has finished installing, it's probably made an attempt at adding your Windows drive/partition as a boot option. This menu option invariably won't work. To get it working we need to get LILO or GRUB to swap the drives around. Depending on your bootloader you'll need to either edit /etc/grub/menu.lst or /etc/lilo.conf

For GRUB you need the following entry added to menu.lst

title Windows XP
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0)
chainloader +1

For LILO change lilo.conf (this definately works although you might need to change /dev/hdd to something different for your system)

# Windows bootable partition config begins
other = /dev/hdd1
label = WindowsXP
map-drive = 0x80
to = 0x81
map-drive = 0x81
to = 0x80
table = /dev/hdd
# Windows bootable partition config ends

run: /sbin/lilo (as root) after changing the lilo.conf file to update LILO

Hope this helps someone

Last edited by wellmt; 06-22-2004 at 04:14 PM.
Old 06-22-2004, 03:34 PM   #2
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 471Reputation: 471Reputation: 471Reputation: 471Reputation: 471
Moved: This thread is more suitable in Success Stories and has been moved accordingly to help your thread/question get the exposure it deserves.
Old 06-22-2004, 03:57 PM   #3
Senior Member
Registered: Feb 2003
Location: The Real Washington
Distribution: Debian, Android
Posts: 1,819

Rep: Reputation: 46
You should post this in the "member success stories" section, or kindly ask a moderator to move it for you. That way it will get more coverage than it will sinking into the forum. Congratulations by the way.

Edit: Nevermind, the mods here operate at light speed.
Old 06-23-2004, 01:33 AM   #4
Registered: Jun 2004
Posts: 39

Rep: Reputation: 15
if this works...

Boy oh boy, I have been trying to install SuSE 9.1 Pro along with XP on the same machine and I have tried everything. I have done it with no problems in the past on other machines but the one I am trying to work now is an old PII machine and I think the BIOS is to blame. However I ran into this method of installing both and it is my last resort, if this works it will make my day and probably my week. I shall post again to say if it worked for me later on. All I can do is hope.


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
hOw to dual boot linux suse with a dual boot win98/xp pc walterkai SUSE / openSUSE 1 12-14-2004 05:04 PM
Trying to dual boot, Windows isn't working. SonicGT Linux - Software 2 10-18-2004 02:45 PM
Got my dual boot working, now LINUX WON'T CONNECT TO THE INTERNET!?!?!? :-( Ausar Linux - Newbie 2 10-04-2004 07:54 AM
grub/dual boot not working? pcdebb Fedora 6 12-03-2003 11:17 AM
Setup dual boot, now linux isn't working. ziidle Linux - General 2 09-24-2002 11:53 AM > Forums > Linux Forums > Linux - General > Member Success Stories

All times are GMT -5. The time now is 06:13 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration