You are not logged in.
Hi all,
I am running Archlinux on my X1E with the system upto date.
This afternoon I actually left my X1E on and it shutdown because the battery ran out of juice.
When I rebooted the computer I got the error message when it tried to boot.
kernel panic - not syncing: No init found. Try passing init- option to kernel.
... and some other message I can't recollectI was able to rectify the situation by booting into archiso and running the mkcinitcpio -p linux command.
my question:
Is my assumption correct that archlinux shutting down with juice caused some kind of corruption in the initramfs? If so is there a way I can circumvent this problem?
Also is there a way where I can fix this issue without having to boot into the Archiso USB?
Thanks in advance.
Offline
Is my assumption correct that archlinux shutting down with juice caused some kind of corruption in the initramfs?
Not likely, unless you were rewriting the initramfs at the time of the power loss.
kernel panic - not syncing: No init found. Try passing init- option to kernel.is there a way where I can fix this issue without having to boot into the Archiso USB?
Oh, perhaps passing init option to the kernel.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Not likely, unless you were rewriting the initramfs at the time of the power loss.
I pretty sure I wasn't doing anything of that sort! ![]()
pyarch wrote:kernel panic - not syncing: No init found. Try passing init- option to kernel.is there a way where I can fix this issue without having to boot into the Archiso USB?
Oh, perhaps passing init option to the kernel.
Is that something that I pass by editing the config in grub?
Also any idea why in that case I would be getting that error?
Because other than that I can't think of any other reason why suddenly I would get that error (any logs/place where I can dig deep to understand why that is happening?)
Offline
No. I am not inclined to speculate on an isolated incident. Perhaps your initramfs was corrupted, but perhaps it was any one of a hundred other causes. Perhaps rebuilding your initramfs really didn't even help and just rebooting would have been sufficient. If it happens again, investigate. If not, speculating about it seems silly to me.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline