[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Kernel panic - not syncing: attempting to kill init! when booting Gu
Re: Kernel panic - not syncing: attempting to kill init! when booting GuixSD
Sun, 28 May 2017 17:49:23 +0200
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)
Christopher Baines <address@hidden> skribis:
> So I deleted some system generations from one of my GuixSD systems, then
> rebooted. Unfortunately, I can no longer get it to boot. I think the
> latest system generation should work, and at least one of the previous
> generations should work.
> Excluding the generations that I removed, the others don't boot. All I
> can really gather so far is a call stack, and the message:
> Kernel panic - not syncing: Attempted to kill init!
Weird. Is it because the root file system could not be found? Or
something else? Like Ricardo wrote, could it be that the file system
label changed or something?
> I'm uncertain that this is something I have done wrong, I'm pretty sure
> I was using the latest system generation when I ran guix gc, and I'm
> assuming that it is the garbage collection that has stopped things working.
It’s unlikely. You could have run ‘guix’ with a wrong database location
(see ‘--localstatedir’ in the manual), but even that wouldn’t have
reclaimed store items used by the processes currently running.
> I'm going to try and make some time to see if I can get this system back
> working again. I'm not sure how realistic this is, but I'm planning to
> start by using the installation image, and somehow running guix system
I would suggest booting from an external medium such as the installation
image, mounting the file system that holds /gnu/store, and inspecting
Also worth trying: you could edit the command line in the GRUB menu to
have it refer to /var/guix/profiles/system-NNN-link, where NNN is the
number of a previous generation known to be on disk.