bash-4.0# ./dracut -l -f /boot/initrd-2.6.29.3-140.fc11.i586.img
2.6.29.3-140.fc11.i586
ldd: /proc/8072/exe: No such file or directory
./modules.d/90kernel-modules/install: line 8: /proc/mounts: No such file
or directory
58848 blocks
#!/bin/bash
# FIXME: hard-coded module list of doom.
instmods ${modules:-=ata =block sd_mod =fs}
# Grab modules for all filesystem types we currently have mounted
while read d mp t rest; do
instmods "$t"
done </proc/mounts
We shouldn't be relying on the running system to decide what payload
goes into the initrd. In this case we see an error message during
dracut because this is a chroot without /proc mounted. Shouldn't we be
including all filesystem drivers if we want the standard dracut output
to boot anything?
We should rely on system detection only for --hostonly mode.
Thoughts?
Warren Togami
wtogami@xxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html