Comment 11 for bug 44609

Revision history for this message
Saivann Carignan (oxmosys) wrote :

Colin Watson or Tormod Volden : Here is a debdiff that add a target-config script to mdadm package, which prevent the system from halting on busybox at reboot after installing to a RAID device with ubiquity. This script does what I said earlier (update mdadm.conf on target and update-initramfs if it detects the presence of raid devices). Unless ubuntu modify mdadm initramfs hook script to auto-assemble raid devices, this script handle gracefully current static mdadm.conf configuration.

This script certainly require to be improved to look at something more revelant than availability of /dev/md* devices, but it would be certainly very easy to polish before karmic final release (4 line of code). And it would let user benefit from this great feature without hitting this bad bug. Real raid support on default ubuntu live iso could be considered later.

I tested my debdiff and it build / install correctly and it work as designed when mdadm is pre-installed in ubuntu iso (ubiquity install / on raid device, and ubuntu don't hang on busybox at first boot).