Skip to content

Instantly share code, notes, and snippets.

View NucciTheBoss's full-sized avatar
👾
All your source belong to us

Jason Nucciarone NucciTheBoss

👾
All your source belong to us
View GitHub Profile
@smoser
smoser / README.md
Last active August 2, 2022 18:30
test kernel and initrd boot with cirros

Minimal initramfs

If you are playing around with qemu, sometimes it is useful to have a kernel and initrd easily available to play with. Cirros provides kernel and initramfs that can be used for this purpose.

This init script here provides a initramfs /init that will do nothing but write the kernel command line and then power the system off. You can adjust it to your needs.

The get-krd script will: