PDA

View Full Version : [kubuntu] boot loader restore after winxp installation



angryalf
September 28th, 2008, 04:56 PM
Hi all!

I have next problem:
i have installed kubuntu (sda1 - swap, sda2 - root) & second OS winxp (just install in sda3). After installation winxp i have revrited grub :(
I try recover grub (load on kubuntu install CD with demo mode) then mount my partition (sda2 on /mnt , proc on /mnt/proc & dev on /mnt/dev) and chroot. After hat i do grub-install /de/sda , but this don't help.
Can any have idea to solve this?

Thank you!

WWSmith36
September 28th, 2008, 05:05 PM
Please read this
https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows

Hope it helps

angryalf
September 28th, 2008, 06:25 PM
In my case this article don't help......
To solve this i do next:

load from CD ( choise demo kubuntu)
mount my linux root partition to /mnt
mount -t proc none /mnt/proc
mount --bind /dev /mnt/dev

after that i chroot /mnt /bin/bash

and edit my fstab (change some UUID-xxxx on to /dev/sda1 , you must set your own partitions)

and install lilo.
this help me rstore my system & leave kubuntu & win.

Thanks all to help.

PS: i hope this quick guide help other peoples.

SuperSonic4
September 28th, 2008, 06:29 PM
http://apcmag.com/how_to_dual_boot_linux_and_windows_xp_linux_instal led_first.htm?page=5

Since this guide uses ubuntu you'll need to:

A) Replace Terminal with Konsole (just press alt+f2 and type Konsole)

B) Replace sudo gedit/boot/grub/menu.lst with kdesu kwrite /boot/grub/menu.lst (graphical) or sudo kwrite /boot/grub/menu.lst (in konsole)