logoalt Hacker News

maxboonelast Thursday at 1:46 PM1 replyview on HN

Absolutely, and the init system does not even have to set up the filesystem and all. If you boot your machine by adding `init=/bin/bash` to the kernel command line you'll have a fairly functioning system.

Do anything necessary from there to boot your game, and record those steps in a script. When that's done you can just point your init cmdline to that script (doesn't even have to be a binary, a script with the #!/bin/bash shebang should just work).


Replies

maccardlast Thursday at 3:44 PM

Nice - I'm thinking about could you strip back the kernel enough to make an auto-booting arcade machine or handheld game!