Bug#814036: initramfs-tools: mdadm doesn't assemble disk

Mader, Alexander aumader at gmx.net
Sat Feb 27 09:01:21 UTC 2016


On Fri, 26 Feb 2016 23:45:01 +0100 "Mader, Alexander" <aumader at gmx.net>
wrote:
> On Mon, 22 Feb 2016 18:19:58 +0000 Chris Boot <bootc at debian.org> wrote:
> > Adding "rootdelay=15" to the kernel command-line probably fixes this
> > (can't test as we can't just reboot this production server at will) but
> > this isn't a nice fix.
> I just tried "rootdelay=15" as well as "rootdelay=30" to no avail. For
> this I entered the extended boot options in GRUB2, used "e" to edit the
> parameter section, and inserted as second line the rootdelay. Should I
> rather edit the /etc/default/grub?

Hello,

I just tried booting with /etc/default/grub edited, but it does not
help; presumably because root is not my problem but home. Is there
something similar for other partitions but root? As you might have
noticed, I am quiet flexible with reboot experiments for testing something.

The entries in /etc/default/grub:

8< ----------------------------------------------------------------- >8
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX="rootdelay=15"
8< ----------------------------------------------------------------- >8

After update-grub I have in /boot/grub/grub.cfg:

8< ----------------------------------------------------------------- >8
menuentry 'Debian GNU/Linux' --class debian --class gnu-linux --class
gnu --class os $menuentry_id_option
'gnulinux-simple-2c2b6225-6fd0-43af-9408-c4395b43c0f7' {
        load_video
        insmod gzio
        if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos2'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2
--hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 --hint='hd0,msdos2'
 2c2b6225-6fd0-43af-9408-c4395b43c0f7
        else
          search --no-floppy --fs-uuid --set=root
2c2b6225-6fd0-43af-9408-c4395b43c0f7
        fi
        echo    'Linux 4.2.0-0.bpo.1-amd64 wird geladen …'
        linux   /boot/vmlinuz-4.2.0-0.bpo.1-amd64
root=UUID=2c2b6225-6fd0-43af-9408-c4395b43c0f7 ro rootdelay=15 quiet
        echo    'Initiale Ramdisk wird geladen …'
        initrd  /boot/initrd.img-4.2.0-0.bpo.1-amd64
}
8< ----------------------------------------------------------------- >8

The "rootdelay" occurs in every menuentry as expected and booting pauses
before accessing root.

Best regards, Alexander.



More information about the pkg-mdadm-devel mailing list