I found a solution that worked for me on this site:
\http://savannah.gnu.org/bugs/?15048
To quote the instructions from adrian15 and lugduweb:
<quote>
Monday 10/09/2006 at 21:36 UTC, comment #11:
This solution is working !
Thanks a lot "adrian15" (you saved my computer's life !).
So if someone has broken his GRUB and has this problem of constant
reboot after dynamic disk partitioning scheme activation in WinXP, here
is a detailled howto :
1) Boot with a liveCD, for example Gentoo's one...
2) chroot on your grub partition
sudo mkdir -p /mnt/gentoo
sudo swapon /dev/sda2
//Note: change with your swap partition name
sudo mount /dev/sda3 /mnt/gentoo
//Note : change with your root partition name
sudo mount -o bind /dev /mnt/gentoo/dev
sudo mount -o bind /proc /mnt/gentoo/proc
chroot /mnt/gentoo
3) go in /boot/grub and delete "*stage1_5" files :
cd /boot/grub
rm *stage1_5
4) reinstall grub
find /boot/grub/menu.lst // on ubuntu
==> gives you a (hdX,Y), for example (hd1,2)
root (hd1,2)
setup (hd0) // reinstall
5) reboot and enjoy. special thanks to "adrian15" ?
I'm really happy not having to reinstall this all !
lugduweb <lugduweb>
Monday 10/09/2006 at 08:14 UTC, comment #10:
I found a person that had more or less the same problem and I solved it
from Linux.
You just have to delete stage1_5* files from /boot/grub/ folder and
reinstall grub with root (hdX,Y) setup (hdX) (grub-install copies again
the stage1_5* files !).
Once you have reinstalled grub so that stage1 loads stage2 directly ...
grub is no longer overwritten because stage1_5 is not deleted by windows
repartitioning.
adrian15
</quote>
I actually repaired grub first, booted into my installed version of Ubuntu, and
removed the *state1_5 files in there, then re-setup grub. Either way should
work. Note that you will of course have to remove the files as the root user.
--
after boot into Windows XP, grub menu is not displayed and computer reboot
https://bugs.launchpad.net/bugs/26058
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs