Posted Jan 19, 2013 20:10 UTC (Sat) by tom.prince (subscriber, #70680)
[Link]
> I'm scared to try because I don't know Emacs well enough to undo it.
If you just pass init=/usr/bin/emacs on the kernel command line, you shouldn't need to do anything to undo it.
Joke alert
Posted Jan 20, 2013 8:04 UTC (Sun) by apoelstra (subscriber, #75205)
[Link]
> If you just pass init=/usr/bin/emacs on the kernel command line, you shouldn't need to do anything to undo it.
That didn't work. Maybe this is a bug in Fedora's initram, because it worked the last time I tried it (several years ago, and with an actual init program).
For those curious, I did manage to do it though, by popping open my initramfs and adding an explicit INIT=/bin/emacs after the code which sets the INIT variable. The result was emacs saying "cannot open /dev/tty" and bailing, and then the kernel panicked.