You are not logged in.

#1 2013-06-23 18:24:40

smsware
Member
From: Szczecin, Poland
Registered: 2012-08-14
Posts: 149
Website

[SOLVED (via using gummiboot)] Can't boot after grub package changed

During today's update, grub-common and grub-x86_64-efi packages was replaced by simply grub. After reboot, I'm stuck on "loading initial ramdisk" stage. I've tried Google but it's really hard on my cellphone... I can't use efi stub as I'm using vlm, root is on btrfs' subvolume and boot is on separate partition and I coudn't figure it out. Anyway, I did full reinstall of grub (step-by-step), installed vanilla kernel just to be sure it's not linux-ck's fault... what could be wrong?

Last edited by smsware (2013-06-23 21:57:43)

Offline

#2 2013-06-23 18:29:58

jrussell
Member
From: Cape Town, South Africa
Registered: 2012-08-16
Posts: 510

Re: [SOLVED (via using gummiboot)] Can't boot after grub package changed

I think a new /etc/default/grub file came with the new grub....did you run

grub-mkconfig

If you did, you might not have all your kernel parameters from lvm and efi I think

*Edit
Why are you using btrfs and lvm together?

Last edited by jrussell (2013-06-23 18:32:40)


bitcoin: 1G62YGRFkMDwhGr5T5YGovfsxLx44eZo7U

Offline

#3 2013-06-23 19:00:43

smsware
Member
From: Szczecin, Poland
Registered: 2012-08-14
Posts: 149
Website

Re: [SOLVED (via using gummiboot)] Can't boot after grub package changed

My grub.cfg seems fine, there are insmod lvm and btrfs... there were none of them but I've changed default/grub to add them, as you stated. It didn't fix the issue though...

About my btrfs/lvm, my fstab looks something like:
-EFI
-LVM:
--Btrfs:
---Root
---Home
--Var (reiserfs)
--Boot (ext4)
--Media (xfs)
--Documents (nilfs2)
--Swap

Well, I was just playing and left it that way.

Last edited by smsware (2013-06-23 19:02:52)

Offline

#4 2013-06-23 20:29:46

smsware
Member
From: Szczecin, Poland
Registered: 2012-08-14
Posts: 149
Website

Re: [SOLVED (via using gummiboot)] Can't boot after grub package changed

Any more preloaded insmods are required? As I recall, I had only gpt_part and mbr_part and lvm with others were automatically added after that, before every menuentry. Now I've added lvm, btrfs - is any like "uefi" needed? It can read vmlinuz, just initramfs is stuck. I can't even install gummiboot as I have my boot separated from efi partition... sorry for bumping but it's crutial, I can't use my PC. Should I reinstall Arch or what?

Offline

#5 2013-06-23 20:55:24

the.ridikulus.rat
Member
From: Indiana, USA
Registered: 2011-10-04
Posts: 765

Re: [SOLVED (via using gummiboot)] Can't boot after grub package changed

smsware wrote:

I can't even install gummiboot as I have my boot separated from efi partition... sorry for bumping but it's crutial, I can't use my PC. Should I reinstall Arch or what?

You can install gummiboot using

# gummiboot --path=<Mountpoint of EFISYS partition> install

Offline

#6 2013-06-23 21:48:00

smsware
Member
From: Szczecin, Poland
Registered: 2012-08-14
Posts: 149
Website

Re: [SOLVED (via using gummiboot)] Can't boot after grub package changed

I've installed it to /boot/efi, copied vmlinuz and initramfs files there and set gummiboot this way:

 linux /vmlinuz-linux-ck
initrb /initramfs-linux-ck.img
root=/dev/mapper/TheVG-RootLV rootfstype=btrfs rootflags=subvol=RootSV ro 

It prompted:

ERROR: Unable ti find root device '/dev/mapper/TheVG-RootVG'

How to tell Gummiboot that I'm using LVM?

Edit: I've made a typo in Gummiboot's config file, it's booting now, thank you! Still, I'm curious why Grub stopped to work...

Last edited by smsware (2013-06-23 21:56:48)

Offline

#7 2013-06-26 20:58:29

daniel.appelt
Member
Registered: 2012-12-29
Posts: 4

Re: [SOLVED (via using gummiboot)] Can't boot after grub package changed

Maybe you should try it again as there is a new grub version available in the repositories (grub 2.00.5043-1). For me this version solves the problem!

My setup:

/dev/sda1: UEFI system partition containing only the grub2 image
/dev/sda2: LVM containing volumes for swap, /, and /home including the kernel images in /boot etc.

The last few days I encountered the problem described by you. I simply could not get my system to boot using the new grub package. In my case, the system always rebooted after selecting a boot entry in grub.

Today I did another pacman system upgrade which included the mentioned grub revision. Subsequently, I upgraded my grub installation using the following commands:

mount /dev/sda1 /boot/efi/
modprobe dm-mod
modprobe efivars
grub-install --target=x86_64-efi --efi-directory=/boot/efi --recheck --debug
grub-mkconfig -o /boot/grub/grub.cfg

and now I can boot again using grub!

Offline

Board footer

Powered by FluxBB