
Hey there!

Anything inside the idiot-initrd will be bundled into the initial ram disk (initrd) that gets made.

You need Syslinux installed or a premade bald.img if you want to make a bootable image!



The helper script makes a bald.img of 1M size. Make it bigger if you get "not enough free space" warnings.


You'll also need:

- mkfs.vfat*******


ALPINE'S DEFAULT MKFS.VFAT DOESN'T MAKE GOOD ENOUGH FAT FSes, APPARENTLY
   RUN 'apk add dosfstools' OR YOU'LL GET 'zero fat sectors'
                  NO CLUE WHY THIS HAPPENS


- which
- dd
- su
- mount

To make an initrd image, you'll need:

- cpio
- find
- gzip
- chmod
- guts
- some of God's salty tears


The scripts are really simple, so feel free to adjust them to your liking.

To use the qemudirect or qemuboot scripts, you need to have QEMU (do I really need to say that?) installed.
Also, qemuboot will boot boot.img-idiot, if it exists.


If you just want to test it out, you can just use the QEMU scripts, which will recursively call the other helper scripts when needed.

To run in QEMU, directly:

$ helper-scripts/qemudirect

To run in QEMU as a boot image:

helper-scripts/qemuboot



That said, you might want to run these anyway, so here they are.

To generate an initial ramdisk:

$ helper-scripts/geninitrd

To make a bootable image (uses Syslinux):

$ helper-scripts/genbootimg


When booted, run

> require "Shell"

or

> dofile("Shell.lua")

This will give you a sort of alright interpreter, a welcome message, and involuntarily force the Greeneye theme down your throat.
