19 Apr
2004
19 Apr
'04
6:16 p.m.
On Mon, 19 Apr 2004, Karl Hiramoto wrote:
just for kicks, try putting a "hello world" program in /sbin/init sometime. make sure you have a backup & boot disk/CD though.
Most bootloaders allow you to append to the kernel commandline (at least grub and lilo both do). You could run your test by doing "init=/sbin/myinit", or safe a backup copy of /sbin/init as /sbin/init.real, and booting with "init=/sbin/init.real" to recover. Of course, backups and boot disks are always a good idea.