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

Sergey Mironov grrwlf at gmail.com
Wed Feb 5 11:34:59 CET 2014


Hi. Including atkbd helps, thanks!
Sergey.

--

      linux_3_10 = pkgs.linux_3_10.override {
        extraConfig = ''
          KEYBOARD_ATKBD y
        '';
      };



2014-02-05 Sergey Mironov <grrwlf at gmail.com>:
> On my real machine I've tried
> nixos-minimal-13.10.35608.1e7192a-x86_64-linux.iso from the official
> site. In VirtualBox test I used manually built image, sources were
> forked from 5898d854da459526ef032db1ad081a6eebbd772d.
>
> Regards,
> Sergey
>
> 2014-02-05 Lluís Batlle i Rossell <viric at viric.name>:
>> 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