Problem Grub

Started by lock255, May 10, 2013, 10:05:23 AM

Previous topic - Next topic

lock255

On my PC I have Backbox 3, yesterday I installed on a partition of my hard drive the operating system Windows 7, which has rewritten the grub and I am now 2 partitions (BackBox3 and Windows 7), but only the Windows 7 startup, who I can help to restore my grub?

weVeg

#1
windows erase mbr, you have to boot with a live cd or usb pendrive, then check your Bbox partition and follow this:

sudo mount /dev/sdaX /mnt/
sudo mount --bind /proc /mnt/proc
sudo mount --bind /dev /mnt/dev
sudo mount --bind /sys /mnt/sys
sudo chroot /mnt update-grub
sudo umount /mnt/sys
sudo umount /mnt/dev
sudo umount /mnt/proc
exit


where sdaX is your bbox partition...
If you need here http://tinyurl.com/d4mfra4 there is a good tut, or try to see the bilions of page about how to recover grub on the net!
Bye!
una voce libera รจ sempre liberatrice
under_r00t