Sample Header Ad - 728x90

Kexec into new kernel, but I can't access the initramfs prompt!

2 votes
2 answers
2394 views
I used kexec to successfully load my kernel, but it's just printing dmesg lines. How do I get out of this to drop into the initramfs prompt? Ctrl-Alt-F2 just loads a black screen and ctrl-c does nothing. Here is my kexec commandline: kexec -l $kernel --initrd=$initrd --command-line="root=UUID=... acpi=off ro text earlyshell debug showerr debuginitrd" earlyshell should provide me access to a shell, but it doesn't. Without that commandline, I just end up in a scripting loop that I can't break out of even with ctrl-c.
Asked by SurpriseDog (662 rep)
Jun 30, 2019, 05:37 AM
Last activity: Jul 1, 2019, 05:24 PM