README.markdown (829B) - raw
1 This is my mkinitrd script, to generate an initramfs image for booting systems
2 which use lvm2 on top of md.
3
4 The code is largely inspired by/based upon
5 [Dracut](http://fedoraproject.org/wiki/Dracut), a more full-featured initrd
6 generation system by the Fedora project.
7
8 Features:
9
10 * Image contents are built entirely from the live filesystem (including dynamic
11 link dependencies)
12 * Everything is detected automatically at boot time
13 * Root filesystem device is parsed from the standard root= kernel
14 argument
15 * mdadm --assemble --scan is used, to scan and assemble arrays as per
16 mdadm.conf (copied from the live filesystem)
17 * lvm2's autodetection features are used
18 * If something goes wrong, you get a bash shell (and an opportunity to fix it):
19 this initramfs image is not suitable for noobs :-)