Bug#586143: /boot/grub/stage2 and work-around

Dominique Dumont dominique.dumont at hp.com
Fri Jun 18 13:28:58 UTC 2010


Hello

I can confirm that I have  /boot/grub/stage2  on a non-booting laptop.

With system-rescuecd, I've  moved stage2 in stage2.bak, but this is not enough 
to fix the problem.

For other googlers, here's how I fixed my laptop:
- boot systemrescuecd
- mount -t ext3 /dev/sda2 /mnt/custom/dev
- mount --bind /proc /mnt/custom/proc
- mount --bind /dev/ /mnt/custom/dev
- chroot /mnt/custom bin/bash
- grub-install /dev/sda

After that, my laptop rebooted without problem.

Of course, you'll have to use the correct device file for your system (i.e. 
replace /dev/sda2 with the device contains your root partition). 

Hope this helps

Dominique
--
http://config-model.wiki.sourceforge.net/ -o- http://search.cpan.org/~ddumont/
http://www.ohloh.net/accounts/ddumont






More information about the Pkg-grub-devel mailing list