LWN.net Logo

Joke alert

Joke alert

Posted Jan 19, 2013 20:10 UTC (Sat) by tom.prince (subscriber, #70680)
In reply to: Joke alert by apoelstra
Parent article: The Grumpy Editor's Fedora 18 experience

> 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.


(Log in to post comments)

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.

If only udev had been merged into emacs..

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds