Hafnium expects to find the following files in the root directory of its RAM disk:
vmlinuz-- the kernel of the primary VM.
initrd.img-- the initial ramdisk of the primary VM.
Follow the preparing Linux instructions to produce
initrd.img for a basic Linux primary VM.
Assuming that a subdirectory called
initrd contains the files listed in the previous section, we can build
initrd.img with the following command:
cd initrd; find . | cpio -o > ../initrd.img; cd -