Tom's Hardware > Forum > Linux/Free BSD > Linux/Free BSD General Discussion > Cant get Ubuntu 7.04 to dual boot with XP.

Cant get Ubuntu 7.04 to dual boot with XP.

Forum Linux/Free BSD : Linux/Free BSD General Discussion - Cant get Ubuntu 7.04 to dual boot with XP.

Tom's Hardware: Over 1.4 million members in 6 different countries available to answer all your high-tech questions. Sign up now! Its free!
Word :    Username :           
 

I'm running windows XP Pro SP2 at the moment and have been trying for days now to get Ubuntu to dual boot.

I have got windows running on one 500GB hard disk, and I have already resized the partition so there is enough space. I go through the setup (booting from the live CD), I do the partitions manually (4GB Swap and 20GB EXT3 set as root), and it installs fine. When I reboot it doesn't go on to the boot selector, it just goes straight into windows.

I remember when dual booting fedora core 1 years ago I had to change the place where the boot selector was installed (from HD0 to HD1) so I tried that once, and it made it go onto the boot menu at least, but I had to change the boot setup in the command line from HD1 to HD0 to make it boot, and my windows wouldnt boot at all (NTDLR missing).

Any ideas? I've researched for hours how your "meant" to do it, with windows XP still installed but I have followed them all down the the last letter and I still cant get it working.

Any help appreciated.

Sponsored Links
Register or log in to remove.
- 0 +

Did you install GRUB ( the Grand Unified Boot Loader ) on your boot drive?

If your 500GB drive is the 1st SATA HDD on your system GRUB should be installed on /dev/sda.

On most Linux distributions you should be able to boot from a Live CD / DVD or a rescue disk, su to root if you are not root already ( "sudo su -" on ubuntu ) and run

"/sbin/grub-install --recheck /dev/sda"

replacing /dev/sda with your primary boot drive in case it is something other than sda.




Your /boot/grub/menu.lst ( /etc/grub.conf on Fedora / RedHat / CentOS / etc ) should contain something like this


title Ubuntu
root (hd0,1)
kernel /vmlinuz-2.6.2xxxxxxxxxxxxxx
initrd /initrd-2.6.2xxxxxxxxxxxxx
title XP
rootnoverify (hd0,0)
chainloader +1



assuming XP in on /dev/sda1 and Linux on /dev/sda2

GL :)


Message edited by linux_0 on 10-04-2007 at 04:07:00 PM
------------------------------ $GNU_Linux=$Linus_Torvalds=AWESOME();

Need Linux help? PM me
Reply to linux_0

Oh my god you legend!

I'll give that a go as soon as I'm back from uni. Its my first time on linux and I'm feeling a little out of my depth!

Thanks

Joe

Reply to joetempleman

=( Tried it....still not working!

Reply to joetempleman
- 0 +

Please post the contents of /boot/grub/menu.lst and the output of the following commands:

dmesg |grep hd

dmesg |grep sd


If your 500GB HDD is /dev/sda please run

fdisk -l /dev/sda

if it's /dev/sdb

fdisk -l /dev/sdb

and so on

then post that too.

:)

------------------------------ $GNU_Linux=$Linus_Torvalds=AWESOME();

Need Linux help? PM me
Reply to linux_0
- 0 +

You could always use a different boot loader that might make things easier. Just make sure you learn how to use it as it can be a bit complicated and you need to know what you're doing so that you don't accidentally prevent Windows from loading.

I use GAG (boot loader). It works well. Once you install a distro enough times, it becomes almost second nature and it is only a matter of determining which partition is what.

I prefer using it rather than worrying about what GRUB is doing.

Reply to Canuck1
Tom's Hardware > Forum > Linux/Free BSD > Linux/Free BSD General Discussion > Cant get Ubuntu 7.04 to dual boot with XP.
Go to:

There are 470 identified and unidentified users. To see the list of identified users, Click here.

Please mind

You are about to answer a thread that has been inactive for more than 6 months.
If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.

Add a reply Cancel
Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them
  • 01:00 vianescute won the Freshman badge
  • 01:00 meywd won the Freshman badge
  • 01:00 nayega won the Freshman badge
  • 01:00 gpfear won the Freshman badge
  • 01:00 Conrad925 won the Freshman badge
  • 01:00 skythra won the Freshman badge
  • 01:00 Ckaz won the Freshman badge
  • 01:00 james59 won the Uniformed badge
  • 01:00 snarl won the Uniformed badge
  • 01:00 patlabor44 won the Uniformed badge