windows overwrote boot record
Nils Kassube
kassube at gmx.net
Fri Aug 22 05:36:06 UTC 2008
Juan Kawada wrote:
> /media/boot/grub/menu.lst
That is the file where your problem is.
> ## default grub root device
> ## e.g. groot=(hd0,0)
> # groot=(hd0,5)
Make that line:
# groot=(hd0,4)
> title Ubuntu 8.04.1, kernel 2.6.24-19-generic
> root (hd0,5)
Make that line:
root (hd0,4)
> kernel /boot/vmlinuz-2.6.24-19-generic
> root=UUID=c9b44b26-5f41-48f0-bee9-778991065600 ro quiet splash
> initrd /boot/initrd.img-2.6.24-19-generic
> quiet
>
> title Ubuntu 8.04.1, kernel 2.6.24-19-generic (recovery mode)
> root (hd0,5)
Make that line:
root (hd0,4)
> kernel /boot/vmlinuz-2.6.24-19-generic
> root=UUID=c9b44b26-5f41-48f0-bee9-778991065600 ro single
> initrd /boot/initrd.img-2.6.24-19-generic
>
> title Ubuntu 8.04.1, memtest86+
> root (hd0,5)
Make that line:
root (hd0,4)
The rest should be OK.
Just in case you don't know how to modify the file: With the Live-CD mount
your partition, e.g. in a terminal like this:
sudo mount /dev/sda5 /mnt
Then modify the problem file. If your Live-CD uses KDE, the command would
be
kdesu kate /mnt/boot/grub/menu.lst
or if you have Gnome, it is
gksu gedit /mnt/boot/grub/menu.lst
Nils
More information about the kubuntu-users
mailing list