2 ms·
Before GRUB, (i.e. with LILO), you could easily do this at any time by just booting with the added kernel parameter “init=/usr/bin/emacs”.
by teddyh 4y ago
Before GRUB, (i.e. with LILO), you could easily do this at any time by just booting with the added kernel parameter “init=/usr/bin/emacs”.
- ilyt 4y agoI mean, that works and always worked, bootloader really have nothing to do with it (as commandline can be baked into kernel image even if bootloader wouldn't support setting it)
- teddyh 4y agoTrue; what I was thinking of was not GRUB or LILO, but the fact that setting the init process from a kernel command line is less useful for hacks like these if the initial root file system is only an initramfs images from /boot, and does not contain Emacs.
- planede 4y agoYou can configure additional kernel parameters just fine with GRUB.
- teddyh 4y agoYep, I was thinking of initramfs on /boot vs. direct root fs mounting, not GRUB vs. LILO.