Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 02-08-2007, 04:11 PM   #1
LQ Newbie
Registered: Aug 2006
Distribution: Debian Testing
Posts: 15

Rep: Reputation: 0
Post Debian Testing + XP Multiboot 2 HD's

Hey y'all.

Success! So thought I'd let y'all know how. I have had Debian Testing going for months and love it. But now have a need/requirement to use W XP to try to make a little money. So I have two boxes but only one new and fast enough to use XP so I needed to multiboot on separate drives. I've played w. "hotswap" kits and swapped out drives after shutting down but they have little fans in them and I am afraid a fan motor might go out and I'm left w. a damaged drive so again, multiboot.

Here's how I did it.

AMD Sempron 2800+ 1G Ram, two WD hd's. Debian on 20G XP on 15 G.

Debian Testing originally installed on Cable 1 middle connector w. CD on Cable 2. WD allows for no jumper settings if no master/slave situation exists. At Debian install that was the case.

XP, set WD jumper to Master and CD to slave and installed on Cable 1 after disconnecting the Linux drive. So when I installed XP it was the only drive hooked up.

After installation and successful reboots I changed hookups.

Debian Testing WD 20G set to Master on Cable 1 middle connector.
W XP WD 15 G set to slave on Cable 1 end connector.

CD set to Master on Cable 2 on middle connector.

Boot up Linux and as SU, go to /boot/grub and use gedit to add: "hd1 /dev/hdb" w.i quotes to file. It already had "hd0 /dev/hda" listed. No fd0 listed but it works anyway. Just for safety sake you might want to cp to device.mapold prior to changing it just in case. And do the same w. the next change.

Now we do the menu.lst change. For safety sake make cp to menu.lstold before you edit this file.

Using gedit again, at point in file just above where the AUTOMAGIK info starts, enter the following:

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

Make sure there is a space between the map coordinates, (hd0) and (hd1 on both map lines. That drove me nuts for a while.

Anyway, save the menu.lst after adding those lines, reboot and see if it works for you. It did for me. I have not messed around w. W XP much yet, I was so happy and surprised that it came up in the first place but it came up and I fooled around and then rebooted to Linux just fine. Haven't checked the CD access yet but hopefully it will work fine.

Hope that helps. And have fun. I had looked all over looking for Debian multiboot setups w. XP and hoping to find one that worked for Testing and found basically nothing Debian distro specific so wanted to get this up here if anyone else was looking. Enjoy.

Old 02-08-2007, 04:19 PM   #2
LQ Newbie
Registered: Aug 2006
Distribution: Debian Testing
Posts: 15

Original Poster
Rep: Reputation: 0
Note: after I submitted the post I see it formatted my code a little.

After the word "title" there is a "tab" space before "Windows XP."

After the word "map" on both lines there is a "tab" space and again, make sure there is a space in between the (hd0) and (hd1) on those same lines.

And after "chainloader" there is also a "tab" space before the "+1".

I don't know if the tab spaces make a difference but the space sure did so that is why I wanted to make note of it here.

Again, have fun.


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
install debian testing rahimi992 Debian 4 01-19-2006 02:23 PM
Multiboot with Debian, Windows XP, and FreeDOS RodWC Linux - General 1 10-31-2005 10:35 AM
configuring grub-dual boot debian winXP different HD's tshontikidis Linux - Newbie 1 07-14-2005 05:46 AM
Setup as getting debian testing files from ftp - will it stay with testing BrianHenderson Debian 2 09-02-2004 07:06 PM
Debian Testing dist terran4000 Debian 18 03-22-2004 04:41 PM > Forums > Linux Forums > Linux - Distributions > Debian

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