Also make sure that udev does not complain about a missing rules.d directory.
This creates a basic root filesystem, creates an initramfs, and tries to boot to the basic filesystem. The init code on the test filesystem prints how much memory is used vs. free and then drops to a shell. Exiting the shell will power off the VM.