Bug#781023: initramfs-tools: Volume group not found before trying to mount root filesystem on LVM.
Package: initramfs-tools
Version: 0.119
Severity: important
Dear Maintainer,
* What led up to the situation?
Good day.
Just built a new wheezy server and upgraded to Jessie (LVM on Raid10).
These are my steps:
1) Build new Wheezy server (LVM on Raid10).
2) Edit /etc/apt/sources.list and change Wheezy to Jessie
3) Run apt-get update ; apt-get upgrade
4) Run apt-get dist-upgrade
5) Run apt-get -f install and made sure all packages are installed.
5) Reboot
6) The server boots, and then eventually drops too spitting out
Begin: Running /scripts/local-block .... done.
Gave up waiting for /usr device.
* What exactly did you do (or not do) that was effective (or
ineffective)?
I did a cat /proc/mdstat and saw raid was running.
I then proceed to run:
1) lvm
2) vgscan
3) vgchange -ay
4) Pressed Control + D two or three times.
* What was the outcome of this action?
Booted in to new built Jessie OS.
* What outcome did you expect instead?
For the server to boot into the new built Jessie OS.
I would like to state that I have built this server a few times.
Ive rescue booted the and via chroot ran
update-initramfs -u -t -k all ; update-grub
Followed by grub-install /dev/sda1
I added 'rootdelay=10' to GRUB_CMDLINE_LINUX in /etc/default/grub
Kind Regards
Brent Clark
-- Package-specific info:
-- initramfs sizes
-rw-r--r-- 1 root root 16M Mar 23 14:07 /boot/initrd.img-3.16.0-4-amd64
-rw-r--r-- 1 root root 12M Mar 23 14:00 /boot/initrd.img-3.2.0-4-amd64
-- /proc/cmdline
BOOT_IMAGE=/vmlinuz-3.16.0-4-amd64 root=/dev/mapper/vg0-root ro nomodeset
-- resume
RESUME=UUID=104438b3-a081-4e7b-b4a9-58553e50612b
-- /proc/filesystems
ext3
ext2
ext4
-- lsmod
Module Size Used by
cpufreq_stats 12782 0
cpufreq_userspace 12525 0
cpufreq_conservative 14184 0
cpufreq_powersave 12454 0
x86_pkg_temp_thermal 12951 0
intel_powerclamp 17159 0
intel_rapl 17356 0
coretemp 12820 0
kvm_intel 139116 0
kvm 388635 1 kvm_intel
crc32_pclmul 12915 0
ghash_clmulni_intel 12978 0
aesni_intel 151423 0
ipmi_devintf 17053 0
iTCO_wdt 12831 0
iTCO_vendor_support 12649 1 iTCO_wdt
ppdev 16782 0
aes_x86_64 16719 1 aesni_intel
lrw 12757 1 aesni_intel
gf128mul 12970 1 lrw
ttm 77862 0
drm_kms_helper 49210 0
drm 249955 2 ttm,drm_kms_helper
glue_helper 12695 1 aesni_intel
ipmi_si 48709 0
ablk_helper 12572 1 aesni_intel
i2c_algo_bit 12751 0
cryptd 14516 3 ghash_clmulni_intel,aesni_intel,ablk_helper
lpc_ich 20768 0
ipmi_msghandler 39917 2 ipmi_devintf,ipmi_si
evdev 17445 5
joydev 17063 0
i2c_i801 16965 0
pcspkr 12595 0
mfd_core 12601 1 lpc_ich
winbond_cir 17082 0
rc_core 22404 1 winbond_cir
i2c_core 46012 4 drm,i2c_i801,drm_kms_helper,i2c_algo_bit
tpm_tis 17182 0
tpm 31511 1 tpm_tis
parport_pc 26300 0
battery 13356 0
button 12944 0
parport 35749 2 ppdev,parport_pc
shpchp 31121 0
video 18096 0
ac 12715 0
processor 28221 0
loop 26605 0
autofs4 35529 2
ohci_hcd 42982 0
uhci_hcd 43499 0
ext4 473802 7
crc16 12343 1 ext4
mbcache 17171 1 ext4
jbd2 82413 1 ext4
dm_mod 89373 21
hid_generic 12393 0
usbhid 44460 0
hid 102264 2 hid_generic,usbhid
raid10 47465 1
raid1 34596 1
md_mod 107672 4 raid1,raid10
sg 29973 0
sd_mod 44356 12
crc_t10dif 12431 1 sd_mod
crct10dif_generic 12581 0
crct10dif_pclmul 13387 1
crct10dif_common 12356 3 crct10dif_pclmul,crct10dif_generic,crc_t10dif
crc32c_intel 21809 0
ahci 33291 8
libahci 27158 1 ahci
ehci_pci 12512 0
ehci_hcd 69837 1 ehci_pci
libata 177457 2 ahci,libahci
usbcore 195340 5 uhci_hcd,ohci_hcd,ehci_hcd,ehci_pci,usbhid
e1000e 203664 0
scsi_mod 191405 3 sg,libata,sd_mod
usb_common 12440 1 usbcore
ptp 17692 1 e1000e
pps_core 17225 1 ptp
thermal 17559 0
fan 12681 0
thermal_sys 27642 6 fan,video,intel_powerclamp,thermal,processor,x86_pkg_temp_thermal
-- /etc/initramfs-tools/modules
-- /etc/kernel-img.conf
# Kernel image management overrides
# See kernel-img.conf(5) for details
do_symlinks = yes
do_bootloader = no
do_initrd = yes
link_in_boot = no
-- /etc/initramfs-tools/initramfs.conf
MODULES=most
BUSYBOX=y
KEYMAP=n
COMPRESS=gzip
DEVICE=
NFSROOT=auto
-- /etc/initramfs-tools/update-initramfs.conf
update_initramfs=yes
backup_initramfs=no
-- /proc/mdstat
Personalities : [raid1] [raid10]
md1 : active raid10 sdb2[1] sda2[0] sdd2[3] sdc2[2]
1952996352 blocks 512K chunks 2 near-copies [4/4] [UUUU]
[===>.................] resync = 18.2% (355855232/1952996352) finish=132.7min speed=200562K/sec
md0 : active raid1 sdb1[1] sda1[0] sdc1[2] sdd1[3]
262080 blocks [4/4] [UUUU]
unused devices: <none>
-- mkinitramfs hooks
/etc/initramfs-tools/hooks/:
/usr/share/initramfs-tools/hooks:
busybox
dmsetup
fsck
keymap
klibc
kmod
lvm2
mdadm
resume
thermal
udev
zz-busybox
-- System Information:
Debian Release: 8.0
APT prefers testing-updates
APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_ZA.UTF-8, LC_CTYPE=en_ZA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages initramfs-tools depends on:
ii busybox 1:1.22.0-9+deb8u1
ii cpio 2.11+dfsg-4.1
ii klibc-utils 2.0.4-2
ii kmod 18-3
ii module-init-tools 18-3
ii udev 215-12
Versions of packages initramfs-tools recommends:
ii busybox 1:1.22.0-9+deb8u1
Versions of packages initramfs-tools suggests:
pn bash-completion <none>
-- no debconf information
Reply to: