Description of problem: I have created a kernel pair (vmlinuz+initrd) using lorax. But when I try to boot it with repo=, dracut complains about "No or empty root= argument". There is clearly some bug that lorax doesn't include anaconda-related modules into dracut and then repo= is not recognized. Version-Release number of selected component (if applicable): lorax-17.17-1.fc17 How reproducible: always Steps to Reproduce: 1. build F17 with lorax 2. try to boot vmlinuz+initrd with repo=
This is how I do all my testing, so I'm almost 100% positive it works. Are you sure the boot arguments actually make it into the system? Can you show me the contents of /proc/cmdline so I know what arguments you're passing?
I run lorax like this: $ lorax -p Fedora -v 123 -r abc -s http://dl.fedoraproject.org/pub/fedora/linux/development/17/i386/os/ out 2>&1 | tee lorax.log This is a part of the lorax log: preparing to build output tree and boot images rebuilding initramfs images rebuilding boot/initramfs-3.3.4-5.fc17.i686.PAE.img E: Dracut module "anaconda" cannot be found. E: Dracut module "nfs" cannot be found. E: Dracut module "nfs" cannot be found. E: Dracut module "anaconda" cannot be found. E: Dracut module "nfs" cannot be found. E: Dracut module "nfs" cannot be found. rebuilding boot/initramfs-3.3.4-5.fc17.i686.img E: Dracut module "anaconda" cannot be found. E: Dracut module "nfs" cannot be found. E: Dracut module "nfs" cannot be found. E: Dracut module "anaconda" cannot be found. E: Dracut module "nfs" cannot be found. E: Dracut module "nfs" cannot be found. populating output tree and building boot images lorax-17.23-1.fc17.i686
Created attachment 587209 [details] full lorax log
Created attachment 587210 [details] vm-setup.png
Created attachment 587211 [details] vm-dracut.png
Selinux needs to be disabled or in Permissive mode when doing the compose.
Martin added a check to lorax that should warn you if you have enforcing mode enabled.