You are not logged in.
Pages: 1
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
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
Offline
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
Pages: 1