LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 12-15-2007, 12:25 AM   #1
pepperwood
Member
 
Registered: Nov 2005
Posts: 61

Rep: Reputation: 18
Dual Boot XP & Linux


Presently have an older PC set up to run a dual boot OS consisting of XP & Linux on separate HD's.

This will be considered a new boot job, I guess you'd call it. One HD will be for XP and the other devoted to Debian & Ubuntu EMC. Just a newbie at this and will have to be walked through the procedure.

Not really sure where to start? Most instructions call for installing XP first on the Master HD. Is it possible & how do you partition the Windows HD for both NTFS & Fat file systems? I will be using a CD to install Windows XP.

Thought about installing Debian & Ubuntu EMC on the Slave HD or vice versa?? Not sure if it makes any difference which goes on Master or Slave HD? I gather that the HD will have to be partioned for each distro but haven't the foggiest on what setting to use or partions to set for. Have CDs for each to install.

Finally upon bootup/startup is there a special file that needs to be installed someplace and where in order to be able to choice which OS to startup with?

Your assistance concerning this matter would be very much appreciated. Just an old senior newbie when it comes to Linux but you folks have been able to help out a lot. Thank you!

Pete
 
Old 12-15-2007, 02:48 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Install XP normally, leave the second HDD disconnected (I get paranoid about XP installs).
Plug the extra drive in - boot from, say, the 1st Debian CD. When you get to the partitioning, you can let it just install to the entire second drive (usually hdb or sdb) or use the manual settings to carve yourself out swap and root partitions.
Reboot from the Ubuntu CD - the partitioning stage of this will allow you to resize the debian partitions if you want - but, if you used manual partitioning in Debian, you can just select the guided install to free space.

When you get the option to install grub, choose to use MBR (master boot record).

You can also resize the windows ntfs partition from manual. However, there is not much reason to do this. Both Debian and Ubuntu can read/write to ntfs.

Ubuntu will set up all the tripple-boot entries automatically.
 
Old 12-15-2007, 05:41 AM   #3
KrahnacK
Member
 
Registered: Nov 2007
Location: /dev/volcano
Posts: 70

Rep: Reputation: 15
I totally agree with Simon Bridge's method, the only thing to be aware of is grub. You have to make sure you install it in the MBR, that's for sure, but you need to be aware that there is one MBR per hard disk, and the BIOS will give the hand to the MBR of the primary (master) disk (which will lead you to boot XP, and will not let choose you any of your linux installs). So you will surely have to install grub on the master disk's MBR.

I think the best way to do it is to follow the installation advices of Simon Bridge, and once you're done with it, boot with your prefered linux cd, and install only grub into the MBR of your master drive
 
Old 12-15-2007, 06:10 AM   #4
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
once you're done with it, boot with your prefered linux cd, and install only grub into the MBR of your master drive
You don't need to do that, the last linux install will do that for you - but good point though: grub has to be in mbr of the primary master - hda. But you are installing linux to another drive - hdb.

It strixes me that the setup is a tad complex for first time - best advise: think why you want debian and ubuntu. I would just install umuntu as the second OS, in the partition setup select "guided dual boot", tell it to use all of sdb, and hit enter - that's all there is to it.

If you really need a tripple boot, then contact a LUG for support.
 
Old 12-20-2007, 11:19 PM   #5
pepperwood
Member
 
Registered: Nov 2005
Posts: 61

Original Poster
Rep: Reputation: 18
Quote:
Originally Posted by Simon Bridge View Post
Install XP normally, leave the second HDD disconnected (I get paranoid about XP installs).
Plug the extra drive in - boot from, say, the 1st Debian CD. When you get to the partitioning, you can let it just install to the entire second drive (usually hdb or sdb) or use the manual settings to carve yourself out swap and root partitions.
Reboot from the Ubuntu CD - the partitioning stage of this will allow you to resize the debian partitions if you want - but, if you used manual partitioning in Debian, you can just select the guided install to free space.

When you get the option to install grub, choose to use MBR (master boot record).

You can also resize the windows ntfs partition from manual. However, there is not much reason to do this. Both Debian and Ubuntu can read/write to ntfs.

Ubuntu will set up all the tripple-boot entries automatically.
Don't take this the wrong way, your advice has been very much appreciated. Just wanted to give you and others that may be following along, a bit of an update. Must have missed something? Its taken me (newbie) a little longer trying to get things going. First of all, I disconnected the second HDD as suggested. Installed XP, and when I couldn't figure out how to partition HDD for the Fat32 & NTFS. Went back an installed using the NTFS files only and hopefully won't need the FAT32 Files anyway. Installation went well.

However XP would not boot up unless I put the XP CD back in the CD-ROM?? After some time & numerous attempts. I decided the HEXX with this and plugged the extra drive in to start from scratch. Upon restart XP booted up nicely from the installation on Master HD with the Slave HDD connected.

I, no doubt, must have missed something but curious if this was expected??

Getting ready to build enough confidence to go on with the Debian & Ubuntu on secondary or slave HDD. Thank you!

Pete - Newby Senior C.
 
Old 12-20-2007, 11:48 PM   #6
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
However XP would not boot up unless I put the XP CD back in the CD-ROM??
Pass... to be taken up with MS support. But you got it installed.

Just a note: as you're new, I'd suggest just installing the Ubuntu at first. Once you have some linux experience under your belt, then start messing with triple-boot.

It is possible that XP has formatted the slave drive as well... does the slave drive show up in XP (as D:\ say?)

Never mind - it means that you'll have to read the partition options a bit more carefully.
 
Old 12-21-2007, 12:00 AM   #7
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
I think your XP boot issue was a hardware related issue..

I would bet your primary Hard drive is a Western Digital and it has those STUPID jumper settings of Master / Single / Slave

when jumpered in the master setting without a slave drive attached the WD drives become retarded and windows doesn't boot. Once you reconnected the slave drive the system was happy again and booted normally. with no slave drive attached the WD drive MUST be jumpered as SINGLE in order for windows to be able to boot.

afaik no other hard drive manufacturer use that silly Master / Single / Slave jumper setup, they are all just master / slave and when jumpered as master work fine with or without a slave drive attached.

I won't tell you how much time I wasted on this same issue when Windows XP first came out and I did my first install of it on a system I built.. I was on the phone with WD tech support trying to RMA the brand new Hard drive when I finally figured it out.

I find that so annoying I quit buying WD hard drives.. it's silly to have to rejumper the master HD whenever you unplug the slave. Seagate and Samsung have better warranties anyway.. imho
 
Old 12-21-2007, 08:06 PM   #8
pepperwood
Member
 
Registered: Nov 2005
Posts: 61

Original Poster
Rep: Reputation: 18
Smile

Quote:
Originally Posted by farslayer View Post
I think your XP boot issue was a hardware related issue..

I would bet your primary Hard drive is a Western Digital and it has those STUPID jumper settings of Master / Single / Slave

Yes you're right. Primary Hard Drive is a New Western Digital; and yes in addition to CS I believe.

when jumpered in the master setting without a slave drive attached the WD drives become retarded and windows doesn't boot. Once you reconnected the slave drive the system was happy again and booted normally. with no slave drive attached the WD drive MUST be jumpered as SINGLE in order for windows to be able to boot.

I can also testify to the extreme slowness during the setup. Your observations are right on. Right now not only is the XP system happy on the Master HDD but this old gezzer is also relieved for now.

afaik no other hard drive manufacturer use that silly Master / Single / Slave jumper setup, they are all just master / slave and when jumpered as master work fine with or without a slave drive attached.

This is an issue as a beginner I would not have considered, but something I hope to in mind as well. You did well to figure this out. Most of us would not have it come up. Who would of thunk!

I won't tell you how much time I wasted on this same issue when Windows XP first came out and I did my first install of it on a system I built.. I was on the phone with WD tech support trying to RMA the brand new Hard drive when I finally figured it out.

I find that so annoying I quit buying WD hard drives.. it's silly to have to rejumper the master HD whenever you unplug the slave. Seagate and Samsung have better warranties anyway.. imho
Thanks very much for your explanation & that of others who have been helping me along.

Not quite done yet?? I can appreciate the amount of time that you've must of spent in this area. I been trying to set this system up off an on for about a month a half.

If you will bear with me. I need to partition the secondary HDD with Debian & Ubuntu EMC. Had some good advice but not a good grip on what commands to expect. root, grub, hdb, etc. what they mean and how to set them. MBR

Hopefully will tackle the Debian & Ubuntu a bit later this PM going with the advice that Simon submitted. I'm hoping that I will not need the FAT32 partition on XP HDD?

Again, thank you for the explanation I'm sure there are a lot of us on the forum that would not have got it.

Best wishes,
Pete
 
Old 12-30-2007, 09:45 PM   #9
sofasurfer
Member
 
Registered: Oct 2003
Posts: 252

Rep: Reputation: 20
Simon.
I stated in your reply that, "Both Debian and Ubuntu can read/write to ntfs."

I disagree, and if you stand by that statement, please see my post at ...
http://www.linuxquestions.org/questi...tories-609732/

and explain what my problem is.
I can not copy my /home directory to a directory in Windows.
As a solution, I tried to reinstall windows in a fat32 partition and then put Debian back in but I am not able to get the Windowsxp install to creat an option to install as fat32.

Any ideas?
 
Old 12-30-2007, 11:19 PM   #10
handydan
Member
 
Registered: Mar 2005
Location: palmdale, california
Distribution: MEPIS 8; Debian (stable/testing)
Posts: 83

Rep: Reputation: 23
XP and fat32

Quote:
Originally Posted by sofasurfer View Post
Simon.
I stated in your reply that, "Both Debian and Ubuntu can read/write to ntfs."

I disagree, and if you stand by that statement, please see my post at ...
http://www.linuxquestions.org/questi...tories-609732/

and explain what my problem is.
I can not copy my /home directory to a directory in Windows.
As a solution, I tried to reinstall windows in a fat32 partition and then put Debian back in but I am not able to get the Windowsxp install to creat an option to install as fat32.

Any ideas?
If you have a "real" XP install disk, it will give you the option of partition size and fs type. i don't know if you can mix fat32 and ntfs at install time, but who cares? If you must have ntfs, leave enough extra room for post-install partitioning. This can be done with most linux installers at install time.
After the fat32 partition is created, both linux and Windows will be able to read and write to it.
And, yes, "Both Debian and Ubuntu can read/write to ntfs."
See this link.
 
Old 01-01-2008, 10:01 AM   #11
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
sofasurfer:I have replied here:
http://www.linuxquestions.org/questi...tories-609732/

Synopsis: you have received good advise in your thread, but have failed to follow that advise.
 
  


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
HP Laptop with dual boot Linux & Vista Radiolarian Linux - Laptop and Netbook 16 07-11-2007 04:51 AM
Virtualize & Dual Boot Windows In Linux? anon111 Linux - General 1 05-21-2007 09:39 AM
Linux & windows dual boot issues ViperLinux Linux - Newbie 14 11-13-2006 03:31 PM
Soundblaster Extigy: dual boot linux & XP zojirushi Linux - Hardware 1 02-22-2005 09:18 AM
Bluescreen when trying to dual-boot XP & Linux Snowcrash3d Linux - General 9 08-11-2004 09:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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