GRUB2 won't install into MBR
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I got a blank screen after the "Welcome to GRUB" greetings.
I ran grub-install
and grub-mkconfig
from a chroot, but still couldn't get to the GRUB menu.
Because of the setup (former dual boot with another GNU/Linux distribution) I thought maybe it was using GRUB-legacy, so I ran both this first method, which confirmed that GRUB-legacy was not installed, and this second method, which confirmed GRUB2 was installed. However, confusingly this third method seemed to provide evidence that GRUB-legacy was installed.
Consequently, I decided to wipe the MBR and reinstall a fresh GRUB2 on it. As suggested elsewhere, I used dd if=/dev/zero of=/dev/hda bs=1 count=446
to wipe the MBR (above commands and a reboot all confirmed the success of this command).
Finally, I chrooted again into my working partition and ran grub-install
, which reported "Installation finished" without errors but didn't seem to actually modify the MBR.
Now I'm lost, how am I supposed to install GRUB2 on the MBR ?
FWIW, /boot
is on /dev/sda3
, which is set as "bootable".
For now I ended up installing LILO (I'm running Slackware) but I'm still willing to fix this issue.
Update :
I couldn't help but run grub-install
again after booting through LILO. This time the MBR was successfully modified according to the second method mentioned above (though the third method still showed LILO but I guess it's only a remaining useless string) and the fact that I got the GRUB greetings.
I suppose I'm missing some binding besides /sys
and /proc
when running grub-install
through chroot (yes I tried again), but which one(s) ? It says "No error reported"…
(Still get the blank screen, though… Gonna stick to LILO for now.)
grub2 boot-loader mbr
add a comment |
up vote
0
down vote
favorite
I got a blank screen after the "Welcome to GRUB" greetings.
I ran grub-install
and grub-mkconfig
from a chroot, but still couldn't get to the GRUB menu.
Because of the setup (former dual boot with another GNU/Linux distribution) I thought maybe it was using GRUB-legacy, so I ran both this first method, which confirmed that GRUB-legacy was not installed, and this second method, which confirmed GRUB2 was installed. However, confusingly this third method seemed to provide evidence that GRUB-legacy was installed.
Consequently, I decided to wipe the MBR and reinstall a fresh GRUB2 on it. As suggested elsewhere, I used dd if=/dev/zero of=/dev/hda bs=1 count=446
to wipe the MBR (above commands and a reboot all confirmed the success of this command).
Finally, I chrooted again into my working partition and ran grub-install
, which reported "Installation finished" without errors but didn't seem to actually modify the MBR.
Now I'm lost, how am I supposed to install GRUB2 on the MBR ?
FWIW, /boot
is on /dev/sda3
, which is set as "bootable".
For now I ended up installing LILO (I'm running Slackware) but I'm still willing to fix this issue.
Update :
I couldn't help but run grub-install
again after booting through LILO. This time the MBR was successfully modified according to the second method mentioned above (though the third method still showed LILO but I guess it's only a remaining useless string) and the fact that I got the GRUB greetings.
I suppose I'm missing some binding besides /sys
and /proc
when running grub-install
through chroot (yes I tried again), but which one(s) ? It says "No error reported"…
(Still get the blank screen, though… Gonna stick to LILO for now.)
grub2 boot-loader mbr
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I got a blank screen after the "Welcome to GRUB" greetings.
I ran grub-install
and grub-mkconfig
from a chroot, but still couldn't get to the GRUB menu.
Because of the setup (former dual boot with another GNU/Linux distribution) I thought maybe it was using GRUB-legacy, so I ran both this first method, which confirmed that GRUB-legacy was not installed, and this second method, which confirmed GRUB2 was installed. However, confusingly this third method seemed to provide evidence that GRUB-legacy was installed.
Consequently, I decided to wipe the MBR and reinstall a fresh GRUB2 on it. As suggested elsewhere, I used dd if=/dev/zero of=/dev/hda bs=1 count=446
to wipe the MBR (above commands and a reboot all confirmed the success of this command).
Finally, I chrooted again into my working partition and ran grub-install
, which reported "Installation finished" without errors but didn't seem to actually modify the MBR.
Now I'm lost, how am I supposed to install GRUB2 on the MBR ?
FWIW, /boot
is on /dev/sda3
, which is set as "bootable".
For now I ended up installing LILO (I'm running Slackware) but I'm still willing to fix this issue.
Update :
I couldn't help but run grub-install
again after booting through LILO. This time the MBR was successfully modified according to the second method mentioned above (though the third method still showed LILO but I guess it's only a remaining useless string) and the fact that I got the GRUB greetings.
I suppose I'm missing some binding besides /sys
and /proc
when running grub-install
through chroot (yes I tried again), but which one(s) ? It says "No error reported"…
(Still get the blank screen, though… Gonna stick to LILO for now.)
grub2 boot-loader mbr
I got a blank screen after the "Welcome to GRUB" greetings.
I ran grub-install
and grub-mkconfig
from a chroot, but still couldn't get to the GRUB menu.
Because of the setup (former dual boot with another GNU/Linux distribution) I thought maybe it was using GRUB-legacy, so I ran both this first method, which confirmed that GRUB-legacy was not installed, and this second method, which confirmed GRUB2 was installed. However, confusingly this third method seemed to provide evidence that GRUB-legacy was installed.
Consequently, I decided to wipe the MBR and reinstall a fresh GRUB2 on it. As suggested elsewhere, I used dd if=/dev/zero of=/dev/hda bs=1 count=446
to wipe the MBR (above commands and a reboot all confirmed the success of this command).
Finally, I chrooted again into my working partition and ran grub-install
, which reported "Installation finished" without errors but didn't seem to actually modify the MBR.
Now I'm lost, how am I supposed to install GRUB2 on the MBR ?
FWIW, /boot
is on /dev/sda3
, which is set as "bootable".
For now I ended up installing LILO (I'm running Slackware) but I'm still willing to fix this issue.
Update :
I couldn't help but run grub-install
again after booting through LILO. This time the MBR was successfully modified according to the second method mentioned above (though the third method still showed LILO but I guess it's only a remaining useless string) and the fact that I got the GRUB greetings.
I suppose I'm missing some binding besides /sys
and /proc
when running grub-install
through chroot (yes I tried again), but which one(s) ? It says "No error reported"…
(Still get the blank screen, though… Gonna stick to LILO for now.)
grub2 boot-loader mbr
grub2 boot-loader mbr
edited 3 hours ago
asked 4 hours ago
Skippy le Grand Gourou
9771020
9771020
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f480866%2fgrub2-wont-install-into-mbr%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password