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

Bug#810102: installation-reports: Graphical Installer does not initialize initrd with LVM and MDADM



Package: installation-reports
Severity: important
Tags: d-i

Dear Maintainer,

I have designated an LVM volume on top of MDRAID to be used for / .
I used graphical installer ran from the live system, to set up LVM on top of
(already existing) mdraid setup.

(using the xfce flavour of debian-live 8.2.0 amd64 iso installed on USB flash )

The situation happened, that after succesfully completing install, the system was unable to boot past initrd.
(dropped off to initramfs busybox shell). 

The busybox shell was unable to resolve/tab-complete even the mdadm binary or anything lvm.

I then booted same live image again,

but there was no /proc/mdstat or /dev/mapper/myrootdevice straight after boot.

So I ran in the live system terminal:

sudo apt-get install mdadm
sudo apt-get install lvm2

which restored my swraid matrix and lvm pv/lv's to view (/proc/mdstat populated and /dev/mapper/myrootdevice showing)

after which I chroot'd to the to-be root device (bind-mounting /proc, /dev and /sys before that)
and ran update-initramfs -u and dpkg-reconfigure grub-pc (grub installed to mbr of each physical member of the md array)

Now after unmounting the bind mounts and the root device, the system was able to boot correctly up.

This I'm being told is NOT as it usually happens on the installer invoked from boot menu 
(either from live distribution or from netinstall)

Hope this helps.

-- System Information:
Debian Release: 8.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)


Reply to: