Hy Chantra,
Where are you now with all this?
-What boots and what doesn't?
-Do you have several partitions on the 2 drives?
-What is installed where?
[ie: xp on 1rst partition first disk, ubuntu on second and vista on all second disk]
-In what order did you install them?
-did you use the 'repair' feature of the install disk of M$?
Cheers
Jean-Philippe
--
Tact, n.:
The unsaid part of what you're thinking.
eg, if you mount the Ubuntu partition on /mnt/ubuntu, there will be a
/mnt/ubuntu/boot directory. (could be /media/ubuntu these days)
In the boot directory, there should be a file grub/menu.lst. Take a look
at this.
eg cat /mnt/ubuntu/boot/grub/menu.lst
If you get something like:
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.
## default num
# Set the default entry to the entry number NUM. Numbering starts from
0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default
entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default 0
and so on until you get to:
## ## End Default Options ##
title Ubuntu 9.10, kernel 2.6.31-14-generic
uuid b1bbea77-f2e6-46d1-b495-250e2d935260
kernel /boot/vmlinuz-2.6.31-14-generic
root=UUID=b1bbea77-f2e6-46d1-b495-250e2d935260 ro quiet splash
initrd /boot/initrd.img-2.6.31-14-generic
quiet
title Ubuntu 9.10, kernel 2.6.31-14-generic (recovery mode)
uuid b1bbea77-f2e6-46d1-b495-250e2d935260
kernel /boot/vmlinuz-2.6.31-14-generic
root=UUID=b1bbea77-f2e6-46d1-b495-250e2d935260 ro single
initrd /boot/initrd.img-2.6.31-14-generic
There should be a couple of Windows boot definitions as well - my XP one is:
### 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/sda1
title Microsoft Windows XP Professional
rootnoverify (hd0,0)
savedefault
makeactive
chainloader +1
Check this - if it looks Okay, all you will need to do is reinstall the
bootloader.
grub-install --root-directory=/mnt/ubuntu/boot/grub /dev/hd0
* Depending on how you set it up - I think a default Ubuntu install puts
the boot directory on the main partition, but it could have a small
partition all to itself.
BTW - probably a good idea to check the commands - it may be
grub-install --root-directory=/mnt/ubuntu/boot /dev/hd0
and /dev/hd0 should be the first disk - if you have a SATA, it would be
/dev/sda
don
"GRUB 2 will be installed by default on NEW installations of Karmic. If
you have upgraded from Jaunty 9.04 to Karmic 9.10 you can follow the
install instructions for Jaunty 9.04 below. "
from the page mentioned below.
Frederic Muller wrote:
> Karmic uses grub2 now and menu.lst is deprecated. Grub2 has a
> grub-update utility which is supposed to discover partitions, there is
> also a community guide at https://wiki.ubuntu.com/Grub2
>
> Hope that helps.
>
> Fred
>
Hmmm - grub is working fine on my system, and I don't need any of the
features of grub2. I can live without the GUI. Should I upgrade?
"Grub 2 is currently at version 1.96 so users still have time to
contribute to its development."
So it is not a final release? Guess I *have* to upgrade. Release
versions are for wimps ;-)
don