Mount every file system under /mnt. Therefore, /mnt/boot. Then regenerate the config.
On Wed, Aug 13, 2014 at 9:08 AM, Alexey Muranov <[email protected]> wrote: > On 12 août 2014, at 22:27, Paul Colomiets <[email protected]> wrote: > > > You don't need another EFI > > partition, nixos should put it's own kernel into existing EFI > > partition, just mount it as /boot. > > Should i mount it before running `nixos-generate-config`? If so, should i > mount it at /boot or at /mnt/boot? > > I have tried just the following sequence of commands: > > # swapon /dev/disk/by-lablel/swap > # mount /dev/disk/bt-label/nixos /mnt > # nixos-generate-config --root /mnt > # nixos-install > > It failed with the messages: > > building the system configuration... > error: while evaluating the attribute `buildCommand' of the derivation > `nixos-14.04.291.a4ac76b' at > /mnt-nixpkgs/nixos/modules/system/activation/top-level.nix:100:7: > [...] > The option value `boot.extraModulePackages' in > `/etc/nixos/hardware-configuration.nix' is not a list of paths. > > I checked my hardware-configuration.nix, there i had > > boot.extraModulePackages = [ "config.boot.kernelPackages.broadcom-sta" > ]; > > The `fileSystems` option had a single element: > > fileSystems."/" = > { device = "/dev/sda5"; > fsType = "ext4"; > } > > What is wrong? > > Alexey. > _______________________________________________ > nix-dev mailing list > [email protected] > http://lists.science.uu.nl/mailman/listinfo/nix-dev > -- www.debian.org - The Universal Operating System
_______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
