[Nix-dev] Fwd: Single user mode
Bjørn Forsman
bjorn.forsman at gmail.com
Thu Jun 11 20:37:42 CEST 2015
(Forgot to copy nix-dev ML.)
---------- Forwarded message ----------
From: Bjørn Forsman <bjorn.forsman at gmail.com>
Date: 11 June 2015 at 20:36
Subject: Re: [Nix-dev] Single user mode
To: stewart mackenzie <setori88 at gmail.com>
On 11 June 2015 at 19:12, stewart mackenzie <setori88 at gmail.com> wrote:
> So I've got a corrupted harddisk sector that needs a fsck.ext4 run.
>
> It disturbs my bootup flow nagging me of this fact.
>
> I'm unable to umount /nix/store so I need to boot into single user mode.
> Pressing 'e' during bootup then typing 'single' into the line that starts
> with 'linux' doesn't solve it. Typing 'init 1' also doesn't solve it as I'm
> immediately presented with X11 login prompt.
>
> How does one enter rescue mode on nix?
I think it's answered here:
http://nixos.org/nixos/manual/ch-troubleshooting.html#sec-boot-problems
(Add 'single' to the kernel command line.)
- Bjørn
More information about the nix-dev
mailing list