linux-image-3.9-0.bpo.1-amd64 efistub fails to activate LVM
I decided to use this kernel on my laptop and use efistub.
Upon boot it drops to BusyBox complaining it cannot find / which is on
a logical volume. (/boot is on a standard partition).
If I run "vgchange -ay" it detects my logical volumes, I can then exit
the initramfs prompt and it then continues to boot fine.
I tried adding rootdelay=30 to the arguments but this didn't help.
The efibootmgr command I am using is:
efibootmgr -p 2 -c -g -L "Debian (EFI stub)" -l '\EFI\debian\vmlinuz'
-u root=/dev/vgtWyRt3/root ro quiet rootfstype=ext4 add_efi_memmap
initrd=\\EFI\\debian\\initrd.img
vmlinuz and initrd.img are copied to the efi partition as follows:
cp /vmlinuz /initrd.img /boot/efi/EFI/debian/
One thing I have noticed is that when I am in the BusyBox prompt I can
"ls /dev/vgtWyRt3/" and only swap shows up. So the swap parition
which is also an logical volume IS detected - making my subject line a
half truth I guess... All the rest of the logical volumes are EXT4
and fail to get detected until I run vgchange.
The system is multibooting with Windows 8.
Below is my LVM and mount info.
james@3mmel-tp05:~$ sudo blkid
/dev/mapper/vgtWyRt3-swap: UUID="c5917a4c-d170-47ac-a354-5f7d684911d0"
TYPE="swap"
/dev/sda1: LABEL="Recovery" UUID="9EB014BAB0149ABB" TYPE="ntfs"
/dev/sda4: UUID="E4242C1D242BF16A" TYPE="ntfs"
/dev/sda6: UUID="rbicCo-D384-sAod-9sQL-MQHQ-ra2i-ANtRLb" TYPE="LVM2_member"
/dev/sda5: UUID="26257af6-77ba-40fb-9d8e-7de8b5a41c7d" TYPE="ext4"
/dev/mapper/vgtWyRt3-chroot:
UUID="4ccc51d0-7f4d-43a3-8c1b-41d4c9560f85" TYPE="ext4"
/dev/mapper/vgtWyRt3-home: UUID="40944d22-8742-4061-a6f9-f0e39f463761"
TYPE="ext4"
/dev/mapper/vgtWyRt3-log: UUID="e7e46021-bae5-47ee-aa9b-7500555ea17c"
TYPE="ext4"
/dev/sda2: UUID="1817-9F2C" TYPE="vfat"
/dev/mapper/vgtWyRt3-root: UUID="c874031f-80ed-4ec9-ad6d-9d1de19fa38c"
TYPE="ext4"
james@3mmel-tp05:~$ sudo lvs
LV VG Attr LSize Pool Origin Data% Move Log Copy% Convert
chroot vgtWyRt3 -wi-ao-- 4.00g
home vgtWyRt3 -wi-ao-- 180.00g
log vgtWyRt3 -wi-ao-- 2.00g
root vgtWyRt3 -wi-ao-- 8.00g
swap vgtWyRt3 -wc-ao-- 4.00g
james@3mmel-tp05:~$ sudo pvs
PV VG Fmt Attr PSize PFree
/dev/sda6 vgtWyRt3 lvm2 a-- 265.26g 67.26g
james@3mmel-tp05:~$ sudo vgs
VG #PV #LV #SN Attr VSize VFree
vgtWyRt3 1 5 0 wz--n- 265.26g 67.26g
james@3mmel-tp05:~$ mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,relatime,size=10240k,nr_inodes=491055,mode=755)
devpts on /dev/pts type devpts
(rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=394560k,mode=755)
/dev/vgtWyRt3/root on / type ext4
(rw,noatime,nodiratime,errors=remount-ro,data=ordered)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=789100k)
/dev/sda5 on /boot type ext4 (rw,relatime,data=ordered)
/dev/sda2 on /boot/efi type vfat
(rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=utf8,shortname=mixed,errors=remount-ro)
/dev/mapper/vgtWyRt3-chroot on /chroot type ext4
(rw,noatime,nodiratime,data=ordered)
/dev/mapper/vgtWyRt3-home on /home type ext4
(rw,noatime,nodiratime,data=ordered)
/dev/mapper/vgtWyRt3-log on /var/log type ext4
(rw,noatime,nodiratime,data=ordered)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
What can i try to resolve this?
Thanks
Reply to: