[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: linux-image-3.9-0.bpo.1-amd64 efistub fails to activate LVM



>     # Make sure that we have a d-m path
>     dev="${dev#/dev/mapper/}"
>     if [ "$dev" = "$1" ]; then
>         return 1
>     fi

The code above is the problem in the lvm2 script since it assumes
"/dev/mapper" as opposed to /dev/VOLUMEGROUPNAME.

Since I used /dev/vgtWyRt3/root as my root it fails.  Changing my
efibootmgr command to use /dev/mapper/vgtWyRt3-root fixes the problem
and the system boots fine!

e.g.

efibootmgr -p 2 -c -g -L "Debian (EFI stub mapper)" -l
'\EFI\debian\vmlinuz' -u root=/dev/mapper/vgtWyRt3-root ro
rootfstype=ext4 add_efi_memmap initrd=\\EFI\\debian\\initrd.img


Reply to: