LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-02-2012, 01:10 PM   #1
Greebstreebling
Member
 
Registered: Nov 2005
Location: Swansea, Wales, UK
Distribution: debian
Posts: 235

Rep: Reputation: 30
Smile How to facilitate dual boot of Win XP on a Debian machine


Hi All,

I am running Deb 5 as a desktop on which I just run firefox and open office. It works great. I need to run windows xp pro in order to run some astronomy software (The Sky X)and I know GRUB can be used to allow a choice of OS at boot. I have googled a bit but mostly I found articles which say install Windows 1st. Does anyone have a step by step guide to setting up a dual boot system from a system which already has debian installed?

This is what I have currently
AMD 64 proc. (3 years old)
2GB RAM
2 SATA HDDs (one with Deb installed, the other for Data)

I also have another HDD (uninstalled in a computer at present) on which I'll install Win XP Pro

Thanks for any help you can give.

All the best
Greeb
 
Old 01-02-2012, 01:25 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
If you are installing Windows on a second drive, the order of which you install the OSes (Windows first versus Linux first) won't matter. That is a concern for two or more operating systems on the same drive.

Disconnect the Linux drive (to prevent any possibility of the Windows installer touching the Linux system), install Windows as normal, and then put the Linux drive back in as the master. Then it is just a matter of adding a line in Linux's GRUB configuration to tell it there is a Windows OS on the second drive.
 
Old 01-03-2012, 04:55 PM   #3
Greebstreebling
Member
 
Registered: Nov 2005
Location: Swansea, Wales, UK
Distribution: debian
Posts: 235

Original Poster
Rep: Reputation: 30
Thanks for this, will give it a try in next few days.
 
Old 01-05-2012, 05:30 PM   #4
Greebstreebling
Member
 
Registered: Nov 2005
Location: Swansea, Wales, UK
Distribution: debian
Posts: 235

Original Poster
Rep: Reputation: 30
Smile How to amend the config file?

Thanks for your help with this.

I have installed XP on the new hard drive and now need to amend the grub config file; here is what I found near the end of the file media:/hdc1/grub/menu.lst


## ## End Default Options ##

title Debian GNU/Linux, kernel 2.6.26-2-686
root (hd0,0)
kernel /vmlinuz-2.6.26-2-686 root=/dev/mapper/debian-root ro quiet
initrd /initrd.img-2.6.26-2-686

title Debian GNU/Linux, kernel 2.6.26-2-686 (single-user mode)
root (hd0,0)
kernel /vmlinuz-2.6.26-2-686 root=/dev/mapper/debian-root ro single
initrd /initrd.img-2.6.26-2-686

### END DEBIAN AUTOMAGIC KERNELS LIST


could you tell me what to put in to make it offer the windows OS as an option?

Thanks again,
Greeb
 
Old 01-05-2012, 10:49 PM   #5
overprotected
LQ Newbie
 
Registered: Jan 2012
Location: Pakistan
Distribution: Ubuntu
Posts: 6

Rep: Reputation: Disabled
Alternatviely, you can press F12 after POST to select your boot device (in your case, Windows hard drive or Linux hard drive)
 
  


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
Printing from Debian machine to Win machine, What I did wrong. sarajevo Debian 8 04-30-2008 11:08 PM
When I boot my comp. (dual boot sys-Suse 10.1 & Win XP) the first boot stalls. philip niedermeyer Linux - Desktop 5 11-13-2006 06:04 PM
Dual-booting SUSE 9.1 on Win 98se machine dauntless Linux - Newbie 3 06-10-2004 04:28 AM
Rebooting mdk 9.2 (win 98 dual boot) after win hd fails jnt Mandriva 3 04-05-2004 05:57 PM
Lilo: Dual boot Debian & Win 2000 mudelf Linux - General 3 11-12-2003 01:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:20 PM.

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