PDA

View Full Version : [SOLVED] treble boot



Masmajou
January 11th, 2010, 05:17 PM
First - I am new to Ubuntu, and already love it.

I have installed Ubuntu 9.10 on my Vista disk as dual boot - and works well ... but I have another drive with XP installed and want to have the option to boot to Ubuntu / Vista / XP (I have reasons to need all three!!).
Is there a way this can be acheived?

underquark
January 11th, 2010, 05:28 PM
Easiest way - since you say XP is on another drive - is to go into BIOS (press F2 or whichever key it is on your computer) and boot from the XP drive when you need to. Yes, you can edit Grub etc. but why risk it?

oldfred
January 11th, 2010, 07:30 PM
All grub does is jump into the windows partition and turn over booting to the windows boot.

If your hard drive was separate from the Vista install then the installs were not combined and you should be able to directly boot winXP.

It may be as simple as

sudo update-grub

If that does not work it is probably that the added drive is not yet recognized in grub. Look at /boot/grub/device.map, it should show two drives. You may be able to manually add the second drive or:

I have not done it but:

sudo grub-mkdevicemap

or
it will create a new device map if it does not see one.
cd /boot/grub
sudo mv device.map device.map.bu
sudo update-grub

Masmajou
January 12th, 2010, 12:28 AM
Thanks - I went for updating the grub.
It works fine now, thanks for your help.