Bug#607565: initramfs-tools: initramfs fails to assemble Intel
Alexander Hofbauer
alex at derhofbauer.at
Tue Jan 25 12:46:08 UTC 2011
Hi!
I think I was facing the same problem the other day and I hope this is
related.
The array holding the root partition wouldn't be assembled and stay
read-only due to the fact that mdadm couldn't start mdmon, which was not
included in the ramdisk.
Writing a quick'n'dirty hook for initramfs-tools adding mdmon
auto-magically fixed that.
--8<-----------
/etc/initramfs-tools/hooks/mdmon:
#!/bin/sh
. /usr/share/initramfs-tools/hook-functions
copy_exec /sbin/mdmon
--8<-----------
I can't shutdown the system in a clean way though, it stops at some
point (magic SysRq keys still work). I guess it's trying to unmount the
root after mdmon has been killed with all the other processes?
Best regards,
Alex
More information about the pkg-mdadm-devel
mailing list