LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-17-2009, 11:26 PM   #1
makoshark
LQ Newbie
 
Registered: Jun 2009
Location: Laurinburg, NC
Distribution: ubuntu 10.4 LTS
Posts: 11

Rep: Reputation: 0
ubuntu linux will not boot from SATA duel boot system with XP


I am trying set up a dual boot windows XP and ubunto linux. after many fail atemps I now have it were I have to go into the bios and turn off the SATA as a boot drive(turn off enhanced mode on disks)so it will boot from the IDE. I have a d865clg motherboard with a Pentium 4 an 4 gig of RAM. I have a SATA DVD RAM drive, a 500 gigabyte SATA hdd and two IDE hdd and a CD-ROM drive. What I want is a way of booting without having to mess with the BIOS. I tried putting GRUB on the 500 gig drive were windows lives but then I could not boot to either OS. I hade to do a load of XP and then recovery followed by fixboot and fixmbr to get my XP back. I have tried two other free boot loaders. one would load XP but not Linux, I got a panic something or other. I have tried to follow descriptions to make a boot disk for Linux, but I have no idea what I am doing. Some how it ends up being unmounted before I finish(reminds me of the old commodore days). I want to see if Linux will be a good alternative to XP that is just a poorly dressed windows 2000.
Any help would be great!
 
Old 06-18-2009, 01:55 AM   #2
otkaz
LQ Newbie
 
Registered: Apr 2009
Location: Houston, TX
Posts: 26

Rep: Reputation: 0
Quote:
Originally Posted by makoshark View Post
I am trying set up a dual boot windows XP and ubunto linux. after many fail atemps I now have it were I have to go into the bios and turn off the SATA as a boot drive(turn off enhanced mode on disks)so it will boot from the IDE. I have a d865clg motherboard with a Pentium 4 an 4 gig of RAM. I have a SATA DVD RAM drive, a 500 gigabyte SATA hdd and two IDE hdd and a CD-ROM drive. What I want is a way of booting without having to mess with the BIOS. I tried putting GRUB on the 500 gig drive were windows lives but then I could not boot to either OS. I hade to do a load of XP and then recovery followed by fixboot and fixmbr to get my XP back. I have tried two other free boot loaders. one would load XP but not Linux, I got a panic something or other. I have tried to follow descriptions to make a boot disk for Linux, but I have no idea what I am doing. Some how it ends up being unmounted before I finish(reminds me of the old commodore days). I want to see if Linux will be a good alternative to XP that is just a poorly dressed windows 2000.
Any help would be great!
been a very long time since I duel booted windows but I'll give this a shot
when you installed grub on the windows drive did you get to the grub menu? You should be able to do it with your windows drive set as primary boot device with grub installed on it. You probably didn't have your menu.lst configured right.
in ubuntu run blkid to get the uuid of your linux partition and change the ########### below to that number or you can use root (hd1,0) or what ever the partition number is

default 0
timeout 10
title Ubuntu 9.04, kernel 2.6.28-11-generic
uuid ###############
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=########### ro
initrd /boot/initrd.img-2.6.28-11-generic

title Other operating systems:
root
# on /dev/sda1
title Micro$oft Window$
rootnoverify (hd0,0)
savedefault
makeactive
chainloader +1
 
Old 06-18-2009, 08:48 AM   #3
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,614

Rep: Reputation: 433Reputation: 433Reputation: 433Reputation: 433Reputation: 433
makoshark:

Q--"I tried putting GRUB on the 500 gig drive were windows lives but then I could not boot to either OS. I hade to do a load of XP and then recovery followed by fixboot and fixmbr to get my XP back."--

Clue:

Usual procedure is--

1. Install windows xp first because this lame OS needs to be at primary partition.
2. Then use the ubuntu live cd installer to install ubuntu linux.
3. Along ubuntu installation Grub is automatically installed at the MBR. This means upon next reboot it is ubuntu only. Just let it alone until linux is completely running and ready.
4. At the ubuntu terminal enter this--

makoshark@host-$: sudo gedit /boot/grub/menu.lst <Enter> <Give password if needed>

at the editor add this line to the bottom below "## ## End Default Options ##":

title Window XP
root (hd0,0)
makeactive
chainloader +1

Save the menu.lst then close.
Reboot. You should have dialogue box offering options which OS to boot up.

You may read this page also; http://www.linuxquestions.org/questi...d.php?t=240181

To get familiar with Grub read: http://www.dedoimedo.com/computers/grub.html

Check back how it goes.

Hope this helps.

Goodluck.
 
Old 06-19-2009, 09:49 PM   #4
makoshark
LQ Newbie
 
Registered: Jun 2009
Location: Laurinburg, NC
Distribution: ubuntu 10.4 LTS
Posts: 11

Original Poster
Rep: Reputation: 0
make dual boot ubunto and windows xp install

Well I am going nucking futs This Is my third day with linux um ubuntu and I have invested much time setting up ubuntu (what is a ubuntu?). I really don't want to reinstall, it took too many prictice runs (9) to get it formated correctly and installed. did it manually finally. My grub is installed on IDE drive 0 and xp on SATA 0. lunux boot is on IDE drive 0 partition 3, 4, 5, and 6. When drive boot BIOS config set to enhanced drive 3 becomes drive 0 and IDE 0 becomes 1 and so forth. I am thinking the easy way to do this is to boot from CD-ROM with grub on the CD? Then I could leave my BIOS alone and just pop in a cd, but not a rescue CD. So How do I make Linux bootable with grub? also the motherboard the I have is an d865glc with 4 hard drives with a CD-ROM and CD-RAM if this helps?

Thanks
 
Old 06-20-2009, 11:07 PM   #5
makoshark
LQ Newbie
 
Registered: Jun 2009
Location: Laurinburg, NC
Distribution: ubuntu 10.4 LTS
Posts: 11

Original Poster
Rep: Reputation: 0
Well it all turned out to be a lack of knowledge about how my BIOS looks at my hard drives. I thought the BIOS only gave SATA support on and off, but I found another setting were I could leave the SATA in and bot to the IDE first. then it was a mater of hacking the mune.lst till it worked.
 
  


Reply


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
help creating partitions for a duel boot system HouseC Slackware 6 09-29-2006 12:12 PM
duel boot system rich032266 Mandriva 4 10-09-2004 12:01 AM
Need help with duel boot Mandrake10 and Win2000 system!!! AlphaBeta Linux - Software 1 09-04-2004 12:29 PM
Re-installing XP on a duel boot system. the_rydster Linux - General 5 02-28-2004 12:41 AM
how to hide GRUB bootloader while booting a duel boot system ( linux/windows ) ? dommini Linux - General 0 12-03-2003 04:48 AM


All times are GMT -5. The time now is 06:44 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration