[Nix-dev] boot problem: stage1 repair console doesn't work under VirtualBox

Lluís Batlle i Rossell viric at viric.name
Wed Feb 5 09:17:45 CET 2014


On Wed, Feb 05, 2014 at 12:00:05PM +0400, Sergey Mironov wrote:
> I've tried this approach on a real machine, the result is the same.

Does it happen with a master iso image? At some point, we missed the atkbd
module in stage 1.

In case of a USB keyboard, something similar may happen.

> 2014-02-05 Sergey Mironov <grrwlf at gmail.com>:
> > Hi! Looks like stage1 repair console can't read user input, at least
> > under VirtualBox. Here is how to reproduce the problem:
> > 1. Boot VirtualBox with NixOS minimal installation CD attached
> > 2. Press 'e' in the grub to edit kernel command line
> > 3. Add bood.debug1 kernel argument
> > 4. Boot
> >
> > Repair console appears but It doesn't react on key presses. It feels
> > like /dev/tty1 hangs while trying to read something (bash 'read'
> > operator). Note that system doesn't hang in general, other processes
> > continue to work  (I have carried out some experiments with inserting
> > "( while true ; do echo -n . ; sleep 1; done) &" into stage-1 script)
> >
> > Any ideas on how to fix it?
> >
> > Regards,
> > Sergey
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev


More information about the nix-dev mailing list