LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   unable to restore grub (https://www.linuxquestions.org/questions/debian-26/unable-to-restore-grub-890696/)

chessonly 07-08-2011 08:06 PM

unable to restore grub
 
installed debian while installing grub2 on / partition (Not MBR). Now trying to install grub on MBR. I used supergrub2 to boot into my debian install. Then tried installing grub2 using
Quote:

[ sudo grub-install /dev/sda
which gave this error:
Quote:

/usr/sbin/grub-setup: warn: Your embedding area is unusually small. core.img won't fit in it..
/usr/sbin/grub-setup: warn: Embedding is not possible. GRUB can only be installed in this setup
what now? supergrub2 doesn't seem to have an option to restore the grub to the MBR...

Larry Webb 07-08-2011 08:40 PM

I do not understand what you are trying to do. Is Debian the only operating system you have?

If so boot debian and run "sudo grub-install --boot-directory=/mnt /dev/sdx"

Here is some documentation on grub2


All times are GMT -5. The time now is 06:53 PM.