You are not logged in.

#1 2012-03-20 04:44:18

remingtontonpon
Member
Registered: 2011-09-16
Posts: 24

[SOLVED] grub2-bios in partition does not boot after upgrad

I installed grub2-bios into partition ,instead of MBR.
I removed /boot/grub directory before the upgrade just in case

# chattr -i /boot/grub/core.img
# rm -rf /boot/grub/
# pacman -Syu
# modprobe dm-mod

After grub2-bios and grub2-common have been upgraded , I ran

# grub-install --directory=/usr/lib/grub/i386-pc --target=i386-pc --boot-directory=/boot --recheck --force --debug /dev/sda1
# chattr +i /boot/grub/i386-pc/core.img

Edit /etc/default/grub , regenerate grub.cfg and reboot.
Then grub returns only

GRUB _

I can do nothing other than rebooting by ctrl+alt+delete.
There are neither 「welcome to GRUB!」 nor error code .
Now I downgraded and I can boot arch.
Any advice would be greatly appreciated.

Last edited by remingtontonpon (2012-07-21 11:49:26)


I am sorry if my English is hard to understand. Please ask if you would like me to explain something again.

Offline

#2 2012-03-21 12:18:23

pauldcox
Member
Registered: 2011-08-19
Posts: 8

Re: [SOLVED] grub2-bios in partition does not boot after upgrad

I had the exact same problem. I had grub2 installed to my /boot partition because from what I understand, it doesn't fit into MBR. But I've seen conflicting information about that with BIOS and MBR, so I'm really not sure anymore. Anyone know for sure? I did get an error message when I did grub-install on the partition, but I just kind of ignored it because I was used to it complaining about embedding and was using --force anyway. Apparently I should've paid more attention.

Anyway, I ended up booting from usb, chrooting, and removing grub2 and switched to syslinux. Modified my .cfg file, added my Windows partition for chainloading, and then installed it (to MBR). Works like a champ. Grub2 just seems like it's turning into a big convoluted mess to me. Shrug.

(I haven't tried the -2 release however.)

Offline

#3 2012-03-22 05:11:51

remingtontonpon
Member
Registered: 2011-09-16
Posts: 24

Re: [SOLVED] grub2-bios in partition does not boot after upgrad

beta2-2 has still the same trouble sad


I am sorry if my English is hard to understand. Please ask if you would like me to explain something again.

Offline

#4 2012-03-22 10:46:25

ron9
Member
From: Norway
Registered: 2011-02-02
Posts: 119

Re: [SOLVED] grub2-bios in partition does not boot after upgrad

You must install grub to MBR not a partition.
From wiki:

# grub-install --directory=/usr/lib/grub/i386-pc --target=i386-pc --boot-directory=/boot --recheck --debug /dev/sda 
where /dev/sda is the destination of the installation (in this case the MBR of the first SATA disk).

Use sda and not sda1
.


< huawei matebook 14 | archlinux | labwc | alacritty | pcman | falkon | zen-browser >

Offline

#5 2012-03-22 11:19:01

remingtontonpon
Member
Registered: 2011-09-16
Posts: 24

Re: [SOLVED] grub2-bios in partition does not boot after upgrad

I know that installing it to partition is not recommend , but it is not impossible .
https://wiki.archlinux.org/index.php/Gr … nless_Disk
And it was working fine until 1:1.99-6.


I am sorry if my English is hard to understand. Please ask if you would like me to explain something again.

Offline

#6 2012-03-22 15:56:07

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: [SOLVED] grub2-bios in partition does not boot after upgrad

Perhaps the --force option in the chattr command only applies to the system parameters in existence at the time it is imposed.

Thus, you may need to do the --force again?


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#7 2012-03-23 05:23:21

remingtontonpon
Member
Registered: 2011-09-16
Posts: 24

Re: [SOLVED] grub2-bios in partition does not boot after upgrad

I tried --force twice , but there is still the same trouble .
I have no idea sad


I am sorry if my English is hard to understand. Please ask if you would like me to explain something again.

Offline

#8 2012-07-21 11:51:35

remingtontonpon
Member
Registered: 2011-09-16
Posts: 24

Re: [SOLVED] grub2-bios in partition does not boot after upgrad

2.00-1 fixed this problem!


I am sorry if my English is hard to understand. Please ask if you would like me to explain something again.

Offline

#9 2012-07-23 17:10:16

czubek
Banned
Registered: 2012-03-08
Posts: 141

Re: [SOLVED] grub2-bios in partition does not boot after upgrad

After a recent success with the glibc update I got cocky and tried the grub update. It failed. I re-installed Arch but went with syslinux this time and it works.

Offline

Board footer

Powered by FluxBB