Yes, kind of interesting... for example, if you are using an initrd.gz in lilo.conf:
boot: vmlinuz rdinit=/bin/sh
This runs /bin/sh inside the initrd instead of the usual /init script. This gets you a sh shell and nothing that /init normally does happens at all. Then, you can fix something maybe, and manually run /init (exec it so it is pid 1):
exec /init
Then, the system starts normally.
But, "rdinit=" tells the kernel to ignore the initrd and skip along with regular "legacy" boot of the root= device.
Last edited by foobarz; 09-22-2012 at 02:29 AM.
|