Skip to content

Comment on Boot Naked Linuxparent

Comments

IIRC, it ran a script as init process that set up the network cards, set up iptables, etc. and then just exited. Kernel would panic (the "init was killed" panic), but the network would still be functional. Automatic reboot on panic was disabled.

To reconfigure, the admin would simply reset it and start the system with "init=/something/else" as kernel parameter that booted to a normal userspace.

Oh, clever; I didn't know you could make Linux panic but keep running.

Configure it with CONFIG_PANIC_TIMEOUT=0, or add "panic=0" to kernel parameters, or "echo 0 > /proc/sys/kernel/panic".

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.