Re: [Nix-dev] Failure to boot after hibernate

2017-04-25 Thread Bas van Dijk
Thanks for the pointer. It would be cool to have this feature in NixOS. On 25 April 2017 at 12:20, Sander wrote: > Bas van Dijk wrote (ao): >> On 24 April 2017 at 12:35, Linus Heckemann wrote: >> > If it's systemd-boot, which it probably is, it does in fact allow >> > editing unless you disable

Re: [Nix-dev] Failure to boot after hibernate

2017-04-25 Thread Sander
Bas van Dijk wrote (ao): > On 24 April 2017 at 12:35, Linus Heckemann wrote: > > If it's systemd-boot, which it probably is, it does in fact allow > > editing unless you disable it in its config — I think you just press E > > to edit the command line. > > I actually disabled that (I believe for s

Re: [Nix-dev] Failure to boot after hibernate

2017-04-24 Thread Bas van Dijk
On 24 April 2017 at 12:35, Linus Heckemann wrote: > If it's systemd-boot, which it probably is, it does in fact allow > editing unless you disable it in its config — I think you just press E > to edit the command line. I actually disabled that (I believe for security reasons) using: boot.loade

Re: [Nix-dev] Failure to boot after hibernate

2017-04-24 Thread Linus Heckemann
On 24/04/17 11:33, Bas van Dijk wrote: > On 24 April 2017 at 12:20, Danylo Hlynskyi wrote: >> Probably too late, but can you boot with hibernate=no kernel parameter? > > Hi Danylo, thanks. Unfortunately I can't edit the kernel parameters. > My system is using the default EFI loader and isn't usin

Re: [Nix-dev] Failure to boot after hibernate

2017-04-24 Thread Bas van Dijk
On 24 April 2017 at 12:20, Danylo Hlynskyi wrote: > Probably too late, but can you boot with hibernate=no kernel parameter? Hi Danylo, thanks. Unfortunately I can't edit the kernel parameters. My system is using the default EFI loader and isn't using grub which does allow editing the kernel comma

Re: [Nix-dev] Failure to boot after hibernate

2017-04-24 Thread Danylo Hlynskyi
Probably too late, but can you boot with hibernate=no kernel parameter? In general I found this[1] article great on debugging suspend/hibernate issues on Nixos (which I had twice). [1] https://wiki.ubuntu.com/DebuggingKernelSuspend 2017-04-24 2:20 GMT+03:00 Bas van Dijk : > I made a few pictures

Re: [Nix-dev] Failure to boot after hibernate

2017-04-23 Thread Bas van Dijk
I made a few pictures and a video of the boot process: https://goo.gl/photos/vrAkb5TFmZZ1J9kn9. In the video you can see that after I've input my passphrase the following lines are printed before the blinking cursor appears: killall: cryptsetup: no process killed starting device mapper and LVM

[Nix-dev] Failure to boot after hibernate

2017-04-23 Thread Bas van Dijk
Dear list, Two weeks ago I installed NixOS natively on my Mac Book Pro (I was running NixOS in virtualbox before that). It ren well for two weeks but today I hit a snag. I was doing some work when my battery power became too low. Then I believe my system hibernated (suspended to disk) before it s