Lost my grub on wheezy - how to fix grub from the "outside"?
I run wheezy on IBM Thinkpad T43.
Somehow I lost grub, cannot boot up. Is there a way I can install grub to the MBR? How? Thanks - Hearthstone. |
Use the install media to run, as root: grub-install /dev/sda
that is if you want to install to the mbr of the first drive (sda). Did you mount the partition to check to see if any grub files, particularly grub.cfg still exist? You might have to chroot to the partition and run: update-grub, or grub-mkconfig to create a new grub.cfg file if it doesn't exist. |
SOLVED: I installed another Debian stable alongside on an empty partition, and a new grub on the MBR.
Thanks, Hearthstone. |
All times are GMT -5. The time now is 08:07 AM. |