kubuntu-users Digest, Vol 49, Issue 63

Norberto Bensa nbensa at gmail.com
Mon Feb 16 10:23:26 UTC 2009


On Mon, Feb 16, 2009 at 2:32 AM, Ray Burke <rayburke30 at hotmail.com> wrote:
> Norberto,
>
> You mean boot up with the dual boot drives(corrupt xp pro mbr and Kubuntu)
> using the live cd for K, then once booted in how just run grub and follow
> the standard grub install
>> procedure.

Yes. Unless there's a reason to disable one or the other, you should
always boot with both drives connected and enabled.

First, from your emails, I assume that hd0 is Windows XP and hd1 is
Kubuntu. I'm assuming hd0 is sda, and hd1 is sdb. And sdb1 is /boot.
If some of these is not true, then adjust the values bellow.

Boot your computer with the livecd or whatever media you have for
Kubuntu. Select "repair" from the boot menu.

When the repair tool ask you for your root partition, press ALT+F2.
You should see a console. Type everything after #:

# grub

root (hd1,0)
setup (hd1)

(after this command, you should see blahblah blah successful. If not,
copy and paste here the message)

quit

# mount /dev/sdb1 /mnt
# nano /mnt/boot/grub/menu.lst

(try not to accidentally modify this file; ignore everything in this
file that starts with #)

There should be a line like "root (hd0,0)" (without quotes of course.)
Change it to: root (hd1,0)

Now press CTRL+O, CTRL+X

# umount /mnt
# reboot

Configure your BIOS to boot your Kubuntu HD first.

Remove the CD and test if Kubuntu boots. If it does, in a next email
we'll configure grub to boot XP from the Kubuntu hard drive, but you
will have to repair its MBR first.

Regards,
Norberto




More information about the kubuntu-users mailing list