Without really understanding, I tried to hack something and found the
following bits, use at your own risk. This is on a degraded mdadm RAID1
with the root filesystem as a LV.

The following procedure was found to help:

  * Interrupt grub and edit the linux command line.
  * Go to the end of the line that starts with "linux".
  * Append "break" to the line.
  * Press "Ctl-X" to boot. You will get a busybox prompt.
  * udevadm trigger --action=add
    * After that, "ls /dev/mapper" shows what is needed for the root parameter: 
HOST--vg-root
  * exit

The following procedure was found to make the above hack persistent:

  * Add new file /usr/share/initramfs-tools/scripts/init-premount
/10hack-raid-udev

#!/bin/sh
sleep 5
udevadm trigger --action=add
exit 0

  * update-initramfs -u

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1335642

Title:
  mdadm runs into infinite loop and prevents initrd/initramfs phase to
  finish on boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/1335642/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to