Triple boot XP Vista Ubuntu, cant boot UBUNTU

csalcedo

Member
I have the following hard drive setup:
Drive 0
Partition 0 (HPFS/NTFS - 316 gb) Partion that I use for sharing between vista, xp and ubuntu
Partition 1 (Linux native - 28 gb) My ubuntu 7.10 partion
Partition 0 (Linux - swap - 4 gb) Linux swap

Drive 1
Partition 1 (HPFS/NTFS - 466 gb) XP This is where EasyBCD is installed....

Drive 2
Partition 0 (HPFS/NTFS - 37 gb) Vista

All Os's were installed as stand alone OS's i.e. if I set bios to boot Drive 0 it boots ubuntu if I set bios to boot drive 1 it boots XP etc.

I now have XP and Vista booting using EasyBCD but I cant get it to boot ubuntu...

Drive 0 has grub already installed and boots directly to ubuntu if I set bios to boot that drive...

I am a total noob when it comes to linux.. sorry..

Any help gratly apreciated....
 
I did follow the instructions but it did not work.. remember that it is installed on another drive...

Addendum:

This is what the menu.lst in the boot/grub folder looks like
title Ubuntu 7.10, kernel 2.6.22-14-generic
root (hd0,5)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=d1649302-6f4c-4ca3-9f6e-7ef7aeab2b1a ro quiet splash
initrd /boot/initrd.img-2.6.22-14-generic
quiet

Addendum:

I suspect that since I added another drive (for vista) it may be having a hard time finding the drive/partition for ubuntu.....

Addendum:

Forgot yo mention, the XP drive is a sata raid 0, the vista is an IDE drive and the ubuntu/shared is a sata

Addendum:

This is what I get when I config according to the Ububtu specific instructions...(it just then hangs...)

Find --set-root--ignore floppies /nst/menu.lst

(HD0,0)
File syste type is ntfs, partiotion type 0x7
configfile /nst/menu.lst
Turning on gate a20 ... success
Starting cmain()..find--set-root-ignore floppies /boot/grub/menu.lst
 
Last edited:
Being installed on a seperate hard drive is not the problem. The problem comes in with you adding another drive has changed the boot config. You will need to use the Ubuntu LiveCD and find out what the UUID for the Linux partition is so that you can adjust EasyBCD accordingly.
 
Ran Live CD and ran a cople of commands... here are the results...

BY UUID...
lrwxrwxrwx 1 root root 10 2007-12-28 20:30 9C486AFD486AD594 -> ../../sdc5
lrwxrwxrwx 1 root root 10 2007-12-28 12:23 AE4CF25A4CF21CB1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 2007-12-28 12:23 CE581D7B581D640D -> ../../hda1
lrwxrwxrwx 1 root root 10 2007-12-28 20:30 d1649302-6f4c-4ca3-9f6e-7ef7aeab2b1a -> ../../sdc6
lrwxrwxrwx 1 root root 10 2007-12-28 12:23 d4e8470f-988e-4005-8021-eadd61f02f4d -> ../../sdc7

Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x9d26359b

Disk /dev/sda doesn't contain a valid partition table

Disk /dev/sdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xcd4d428e

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 60801 488384001 7 HPFS/NTFS

Disk /dev/sdc: 500.1 GB, 500107862016 bytes
16 heads, 63 sectors/track, 969021 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Disk identifier: 0x095a1c52

Device Boot Start End Blocks Id System
/dev/sdc2 * 2 723639 364713552 5 Extended
/dev/sdc5 2 657760 331510504+ 7 HPFS/NTFS
/dev/sdc6 657761 715889 29296984+ 83 Linux
/dev/sdc7 715890 723639 3905968+ 82 Linux swap / Solaris

Disk /dev/hda: 40.0 GB, 40000000000 bytes
255 heads, 63 sectors/track, 4863 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x9dc96e9e

Device Boot Start End Blocks Id System
/dev/hda1 * 1 4863 39059456 7 HPFS/NTFS
 
dev/sdc6 657761 715889 29296984+ 83 Linux
/dev/sdc7 715890 723639 3905968+ 82 Linux swap / Solaris

Those 2 partitions are the Linux ones. So you have to make sure that Grub points toward them. They would be hd2,5 and hd2,6.
 
I reinstalled ubuntu and now grub loads on boot and gives me the choice of going into the vista bootloader. the grub menu.lst shows this

title Ubuntu 7.10, kernel 2.6.22-14-generic
root (hd3,5)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=e888585d-ad1d-4cb1-8763-11f2a165e2c3 ro quiet splash
initrd /boot/initrd.img-2.6.22-14-generic
quiet

title Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
root (hd3,5)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=e888585d-ad1d-4cb1-8763-11f2a165e2c3 ro single
initrd /boot/initrd.img-2.6.22-14-generic

title Ubuntu 7.10, memtest86+
root (hd3,5)
kernel /boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda1
title Windows Vista/Longhorn (loader)
root (hd0,0)
savedefault
chainloader +1


How do I get grub to not load and use easyBCD to boot ubuntu.. please be as specific as possible since I have not been able to get this to work....(and I don't know anything about linux...)
Thanks
 
As I have stated before when I folow the instructions from the wiki i get the following
and then it just hangs....

Find --set-root--ignore floppies /nst/menu.lst

(HD0,0)
File syste type is ntfs, partiotion type 0x7
configfile /nst/menu.lst
Turning on gate a20 ... success
Starting cmain()..find--set-root-ignore floppies /boot/grub/menu.lst
 
GRUB will always load just so you know. Either before the BCD (Vista bootloader) or after you select Linux. It will alway sload. The Vista bootloader can not boot into Linux. It will load the GRUB for you. Since it seems you are having trouble getting the BCD tow ork with your GRUB why not just leave the GRUB up first?

I dont know why you are having these issues. Following the instructions i have been able to get several systems to boot correctly. So it has to be a specific issue realted to your GRUB loader. At that poitn i cant help you as i don tknow much about GRUB. Guru will have to help you out further.

IT has nothing to do with what drive it is installed on. I have 4 different OS's on 3 different hard drives and it has not failed me yet. So this is a specific issue related to you. Sorry i cant be of more help.
 
Thanks Makaveli for your help... I have grub that can load UBUNTU then has the Vista autoloader as the default OS then the Vista autoloader has XP and Vista .... Lets hope that GURU will see this thread so he can chime in...

Thanks again....
 
hello!

Sorry about that - I've been busy with "that crazy EasyBCD idea" I once mentioned... more on that later though.

I'm not exactly clear on what the problem is, but try these alternate steps:
Remove EasyBCD linux entries.
Add EasyBCD -> NeoGrub
Copy menu.lst from Ubuntu (basically what you posted above) to the NeoGrub configuration file.
EasyBCD -> Manage Bootloader -> Write Vista MBR

Reboot. Choosing NeoGrub should give you a fully-working menu with the Ubuntu options.
Changing the timeout in NeoGrub's menu.lst should stop the menu from showing at all and boot you straight into Linux when you pick NeoGrub from the Vista menu.
 
Did as suggested but still no go...
I get the following error message (menus work ok)
error occurred while saving default
chainloader +1

When I use grub it boots into UBUNTU without any problem..
this is the line from grub to select the partition...
title Ubuntu 7.10, kernel 2.6.22-14-generic
root (hd3,5)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=e888585d-ad1d-4cb1-8763-11f2a165e2c3 ro quiet splash
initrd /boot/initrd.img-2.6.22-14-generic
 
If it is still the same setup as earlier it should be hd2,5 not hd3,5. The hard drive counting begins at 0 (Zero) not 1.
 
Remember that I reinstalled UBUNTU with all the hard drives connected... Before I did not have the vista HD or the XP drives... thats why its a little different now....
 
That is true. But the thinking i have for this is if you installed it to the same location on the same hard drive the path to it should be what i think it is. Even with every drive hooked up. I could be wrong. Guru is the master at this. He will know. I am just trying to learn it and help out others. :grinning:
 
I understand...

It probably has more to do with the number of boot devices that are now shown in bios and the boot order...
1st boot device is sata nvidia raid 0 1 partition for XP (drives 1 and 2 since grub does not recognize the raid and sees them as separate drives.. i think..)
2nd boot device single drive with 3 partitions 1st ntfs for XP/Vista/Linux share, 2nd ext3 / for Ubuntu and 3rd is swap
3rd boot device is an IDE drive with 1 partiton for Vista
 
Replace NeoGrub's configuration file with this:

Code:
find --set-root /boot/vmlinuz-2.6.22-14-generic
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=e888585d-ad1d-4cb1-8763-11f2a165e2c3 ro quiet splash
initrd /boot/initrd.img-2.6.22-14-generic
boot
 
Back
Top