UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
My experience with SATA and Ubuntu was a trainwreck. I have about the same MOBO as you though, a Lanparty DF250 or something. My suggestion is to try putting win XP on the SATA setup, it will work fine. Then start the Ubuntu installer and see if it sees the EIDE drive. If it does, and it should, just install to it. The Grub install will be automatic, so everything should work.
1. Set the primary hard disk to be your SATA disk in BIOS, and install the windows xp on it in the normal way.
2. Set the primary hard disk to be your IDE disk in BIOS, and install the linux on it. Normally, you need to install grub or lilo in the MBR of one of your hard disks. I chose my IDE disk, cause the MBR of my SATA disk is used by windows XP. In such a way, if my linux crashes, I can easily set the primary disk to be my SATA disk in BIOS and boot windows XP from it.
3. I prefer grub to make a dual boot. The last thing you need to do is to set your grub to be able to boot windows XP, cause at this moment, the windows XP does not recognize hd1 which your SATA disk is. Simply set the file /boot/grub/menu.lst, adding two lines in the windows boot section:
map (hd0) (hd1)
map (hd1) (hd0)
Hope this is correct and could be helpful to your case.
I think I've figured Grub out in its naming strategy. It labels starting at zero as they are labeled in Bios's Boot order preference. Can't try it yet cause I'm on a solaris mainframe but I will and edit this. As far as I can see in the code thats how grub works.
Originally posted by openfun My way to do such a work is:
1. Set the primary hard disk to be your SATA disk in BIOS, and install the windows xp on it in the normal way.
2. Set the primary hard disk to be your IDE disk in BIOS, and install the linux on it. Normally, you need to install grub or lilo in the MBR of one of your hard disks. I chose my IDE disk, cause the MBR of my SATA disk is used by windows XP. In such a way, if my linux crashes, I can easily set the primary disk to be my SATA disk in BIOS and boot windows XP from it.
3. I prefer grub to make a dual boot. The last thing you need to do is to set your grub to be able to boot windows XP, cause at this moment, the windows XP does not recognize hd1 which your SATA disk is. Simply set the file /boot/grub/menu.lst, adding two lines in the windows boot section:
map (hd0) (hd1)
map (hd1) (hd0)
Hope this is correct and could be helpful to your case.
Good luck!
Lingxiao
ok, this situation is my exact setup. odd b/c i was just coming to post this exact question. but i'm a little confused where i need to add those two lines. and then where do i put that file after i modify it? i know you said the windows boot section, but does that mean i need to enter it while i'm actually booted into windows xp?
the last time i tried to use linux was fedora and i remember it walking me through setting up grub. when i would boot that computer i would get a boot selection screen where i could choose either windows xp or fedora. i'm trying to do something like that.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.