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 - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 06-07-2007, 04:52 PM   #1
abrahammer
Member
 
Registered: Dec 2006
Posts: 41

Rep: Reputation: 15
install xp on ide drive, ubuntu on sata drive


Hi, (first of all, excuse my bad english) i want to know if i can install xp on an old 20 gb ide drive and ubuntu on a partitioned 250gb sata drive. What does the grub do in that situation? does it detect both drives or only the one i have first in my bios? this is what i have tried:

i plugged the ide drive on the ide 1 port, a dvd writer on the ide 2 port, and the sata drive on the sata 1 port. then i configured the bios, it boots the dvd first, then the sata drive (there isn't a third option available and i can't boot one drive first then the other, i don't know why) then i installed ubuntu 7.04 on the second partition of the sata drive (the first was the swap partition) with the live cd, restarted and got the error 22 from grub 1.5. then i erased everything and installed in the first sata partition ubuntu 7.04 and left the second sata partition for swap, restarted and got error 15 from grub.

then i erased everything again, and configured the bios to boot first the dvd, then the ide drive, then i installed xp and everything is working fine now. now how should i proceed with the ubuntu installation?¿ should i leave the bios configuration like it is and install ubuntu on the sata drive? where does the grub program install, on the ide or on the sata drive? ¿can i use another boot loader than doesn't have conflicts with using 2 physical drives? please don't give me solutions by using floppy drive because i haven't got one.
 
Old 06-07-2007, 06:04 PM   #2
kcorupe
Member
 
Registered: Nov 2004
Location: Arizona
Distribution: Arch
Posts: 107

Rep: Reputation: 15
Yeah you did it correctly the 2nd time, its much easier installing windows first, then linux.

Just install ubuntu on the other harddrive, I would have that be the first boot device, and install grub on the mbr of the same drive. It should be very straight forward and everything should be setup automatically.
 
Old 06-08-2007, 11:10 AM   #3
abrahammer
Member
 
Registered: Dec 2006
Posts: 41

Original Poster
Rep: Reputation: 15
right, so i changed the boot order, first the dvdwriter, then the sata drive and installed ubuntu 7.04 on the first sata partition. i restarted and got error 22 again. after a lot of ¡"$·%&·"$"! i changed the boot order, first the dvdwriter, then the ide drive. grub started (i thought it was installed on my sata drive ¿???) and it worked! it shows windows xp from my ide drive and ubuntu from my sata drive. why is this? where is the grub installed?
 
Old 06-24-2007, 12:04 AM   #4
abrahammer
Member
 
Registered: Dec 2006
Posts: 41

Original Poster
Rep: Reputation: 15
Hi, after much reinstalling, my question is this: how do i choose what master boot record (the SATA drive or the IDE drive) is overwritten when i install ubuntu, looks like the 7.04 live cd install won't let me make the choice, it just writes grub to the IDE drive MBR
 
Old 06-24-2007, 01:48 AM   #5
juvestar15
Member
 
Registered: Aug 2005
Location: Australia
Distribution: Debian Sid
Posts: 60

Rep: Reputation: 15
I have a near identical setup. Here's what I did.

1.) Go into your BIOS, make the IDE drive the second boot device behind your DVD writer.
2.) Install Windows on that IDE drive
(Windows writes the MBR to the IDE drive)
3.) Go into your BIOS and make the SATA drive the second boot device behind your DVD writer.
4.) Install Ubuntu on that SATA drive.
5.) When GRUB asks what drive to save to tell it /dev/sda.

/dev/sda means it will store it on the boot sector of the SATA drive. If you look at your GRUB file it might say hd0, all that means is the 'first boot device'.... remember the SATA drive was changed to first boot device in your BIOS.

Last edited by juvestar15; 06-24-2007 at 01:50 AM.
 
Old 07-29-2007, 11:57 PM   #6
abrahammer
Member
 
Registered: Dec 2006
Posts: 41

Original Poster
Rep: Reputation: 15
problem solved, ubuntu didn't ask where to install grub... but debian did, so i installed on /dev/sda asjuvestar 15 said. then unplugged the ide drive and installed ubuntu in another sata partition, plugged the ide drive back and now all three OS's work, thanks for the help

Last edited by abrahammer; 07-29-2007 at 11:59 PM.
 
  


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
Ubuntu 7.04 SATA Drive Install Issue Adler Linux - Laptop and Netbook 6 05-23-2007 08:33 PM
sata-ide combo hard drive setup Berticus Linux - Newbie 3 12-17-2006 12:03 PM
Can't boot with SUSE 9.3 - trying to install on system with IDE drive and SADA drive tbering Linux - Kernel 1 05-30-2006 11:35 AM
Changing from SATA to IDE boot drive. purelithium Linux - General 7 02-09-2006 11:54 AM
slackware 10 sata and ide drive problem RadixInsurgio Slackware - Installation 3 07-18-2005 11:12 PM

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

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