You are not logged in.

#1 2015-05-25 06:49:11

netpumber
Member
Registered: 2009-09-20
Posts: 134

[SOLVED] gummiboot cannot find root LVM

Hello. I'm trying to configure the gummiboot with archlinux. There is no other OS on the PC.

Hard disks are treated with LVM and LUKS.

sda
|__sda1 -> /boot (UEFI)
|__sda2 -> /        (LVM) : lvmRootPool-swap & lvmRootPool-root are the logical volumes.

blkid command returns:

/dev/sda1 : UUID="088D-DE3C"
/dev/sda2 : UUID="276a67a6-xxxx-xxxx-xxxx-xxxxxxxxx"
/dev/mapper/lvmRootPool-swap : UUID="7a8913a1-xxxx-xxxx-xxxx-xxxxxxxxx"
/dev/mapper/lvmRootPool-root : UUID="0bfa0a7f-xxxx-xxxx-xxxx-xxxxxxxxxxxx"

at /boot/loader/entries/arch.conf of gummiboot i have this :

title Arch Linux
linux /vmlinuz-linux
initrd /initramfs-linux.img
options cryptdevice=UUID=276a67a6-xxxx-xxxx-xxxx-xxxxxxxxx:lvmRootPool-root root=UUID=0bfa0a7f-xxxx-xxxx-xxxx-xxxxxxxxxxxx quiet ro

At boot time, after passphrase system returns this message:

ERROR: device 'UUID=0bfa0a7f-xxxx-xxxx-xxxx-xxxxxxxxxxxx' not found. Skipping fsck.
ERROR: Unable to find root device 'UUID=0bfa0a7f-xxxx-xxxx-xxxx-xxxxxxxxxxxx'.
You are being dropped to a recovery shell
    Type 'exit' to try and continue booting
sh: can't access tty: job control turned off
[rootfs /]#

I read on net that maybe the block hook creates that problem and i change HOOKS line to that (change the order of block hook)

HOOKS = "base udev block autodetect modconf keymap encrypt lvm2 filesystems keyboard fsck"

and then mkinitcpio -p linux , but problem still exist.

Any idea ?

Last edited by netpumber (2015-05-25 08:29:06)

Offline

#2 2015-05-25 07:42:13

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] gummiboot cannot find root LVM

Do you really have a space between HOOKS and the =? That won't work.

The cryptdevice entry in your gummiboot conf should only contain the vgname. See: https://wiki.archlinux.org/index.php/Dm … ryptdevice


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2015-05-25 08:28:44

netpumber
Member
Registered: 2009-09-20
Posts: 134

Re: [SOLVED] gummiboot cannot find root LVM

Thank you. Change the

options cryptdevice=UUID=276a67a6-xxxx-xxxx-xxxx-xxxxxxxxx:lvmRootPool-root root=UUID=0bfa0a7f-xxxx-xxxx-xxxx-xxxxxxxxxxxx quiet ro

to

options cryptdevice=UUID=276a67a6-xxxx-xxxx-xxxx-xxxxxxxxx:lvmRootPool root=UUID=0bfa0a7f-xxxx-xxxx-xxxx-xxxxxxxxxxxx quiet ro

Offline

Board footer

Powered by FluxBB