Bug#868268: initramfs-tools: Please add raid1 to the module added when MODULES=most
Package: initramfs-tools
Version: 0.130
Severity: normal
Dear Maintainer,
When using raid1 lvm root, the raid1 module is not added to the initrd
built (raid456 module is in).
This will make the system unbootable and goind to the initramfs debug mode
Please add raid1 in when selecting MODULES=most
As a workaround you can add raid1 to /etc/initramfs-tools/modules and do
update-initramfs -k all -u
-- Package-specific info:
-- initramfs sizes
-rw-r--r-- 1 root root 18M Jul 13 23:24 /boot/initrd.img-4.9.0-3-amd64
-- /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-4.9.0-3-amd64 root=/dev/mapper/VGroot-LVslash
ro quiet
-- resume
RESUME=none
-- /proc/filesystems
xfs
-- lsmod
Module Size Used by
snd_hda_codec_generic 69632 1
snd_hda_intel 36864 0
snd_hda_codec 135168 2 snd_hda_intel,snd_hda_codec_generic
snd_hda_core 81920 3
snd_hda_intel,snd_hda_codec,snd_hda_codec_generic
snd_hwdep 16384 1 snd_hda_codec
snd_pcm 110592 3 snd_hda_intel,snd_hda_codec,snd_hda_core
snd_timer 32768 1 snd_pcm
snd 86016 6
snd_hda_intel,snd_hwdep,snd_hda_codec,snd_timer,snd_hda_codec_generic,snd_pcm
soundcore 16384 1 snd
qxl 69632 1
ttm 98304 1 qxl
drm_kms_helper 155648 1 qxl
edac_mce_amd 28672 0
drm 360448 4 qxl,ttm,drm_kms_helper
ppdev 20480 0
edac_core 57344 0
pcspkr 16384 0
evdev 24576 1
serio_raw 16384 0
joydev 20480 0
virtio_balloon 16384 0
parport_pc 28672 0
virtio_console 24576 0
parport 49152 2 parport_pc,ppdev
sg 32768 0
acpi_cpufreq 20480 0
button 16384 0
ip_tables 24576 0
x_tables 36864 1 ip_tables
autofs4 40960 2
xfs 1208320 1
raid1 36864 1
dm_raid 40960 1
raid456 106496 1 dm_raid
async_raid6_recov 20480 1 raid456
async_memcpy 16384 2 raid456,async_raid6_recov
async_pq 16384 2 raid456,async_raid6_recov
async_xor 16384 3 async_pq,raid456,async_raid6_recov
async_tx 16384 5
async_xor,async_pq,raid456,async_memcpy,async_raid6_recov
md_mod 131072 3 dm_raid,raid1,raid456
xor 24576 1 async_xor
raid6_pq 110592 3 async_pq,raid456,async_raid6_recov
libcrc32c 16384 2 xfs,raid456
crc32c_generic 16384 1
dm_mod 118784 16 dm_raid
hid_generic 16384 0
usbhid 53248 0
hid 122880 2 hid_generic,usbhid
sr_mod 24576 0
cdrom 61440 1 sr_mod
ata_generic 16384 0
virtio_net 28672 0
virtio_blk 20480 4
psmouse 135168 0
floppy 69632 0
ata_piix 36864 0
ehci_pci 16384 0
uhci_hcd 45056 0
ehci_hcd 81920 1 ehci_pci
usbcore 249856 4 usbhid,ehci_hcd,uhci_hcd,ehci_pci
usb_common 16384 1 usbcore
virtio_pci 24576 0
virtio_ring 24576 5
virtio_blk,virtio_net,virtio_balloon,virtio_console,virtio_pci
virtio 16384 5
virtio_blk,virtio_net,virtio_balloon,virtio_console,virtio_pci
i2c_piix4 24576 0
libata 249856 2 ata_piix,ata_generic
scsi_mod 225280 3 libata,sr_mod,sg
-- /etc/initramfs-tools/modules
raid1
- /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=auto
KEYMAP=n
COMPRESS=gzip
DEVICE=
NFSROOT=auto
-- /etc/initramfs-tools/update-initramfs.conf
update_initramfs=yes
backup_initramfs=no
-- /proc/mdstat
Personalities : [raid6] [raid5] [raid4] [raid1]
unused devices: <none>
-- mkinitramfs hooks
/etc/initramfs-tools/hooks/:
/usr/share/initramfs-tools/hooks:
dmsetup
fsck
keymap
klibc-utils
kmod
lvm2
resume
thermal
udev
zz-busybox
-- System Information:
Debian Release: 9.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-3-amd64 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8),
LANGUAGE=fr_FR.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 initramfs-tools-core 0.130
ii linux-base 4.5
initramfs-tools recommends no packages.
Versions of packages initramfs-tools suggests:
ii bash-completion 1:2.1-4.3
-- no debconf information
Reply to: