[Nix-dev] Unable to install NixOS unstable in UEFI system

José Romildo Malaquias j.romildo at gmail.com
Sun Apr 27 14:15:21 CEST 2014


Hello.

When installation NixOS unstable on my x86_64 notebook, I am getting the
error

  Failed to check file system type of /boot: No such file or directory

The log file is attached, as well as the configuration I am using.

A few months ago I had successfully installed NixOS unstalbe on this
system without any major issues.

I have followed the instructions in the manual at
http://hydra.nixos.org/job/nixos/trunk-combined/nixos.manual.x86_64-linux/latest/download-by-type/doc/manual

Any clues?

Romildo
-------------- next part --------------
copying Nix to /mnt....
  /nix/store/01msmsjrb7yik2l77fksc6cvkvds3qc1-boehm-gc-7.2d
  /nix/store/0x21z9gqd3rdhxffhxdaf1ccilaay4s4-gnutar-1.27.1
  /nix/store/15wj2xxnxni8ygvrg2m2lh2syhr5010b-curl-7.35.0
  /nix/store/1flsshqg61dhbfrylbix8m0riaymr6si-acl-2.2.52
  /nix/store/7svaxfvzl8hb7ap3fjfyrqdw3bxi8pd3-sqlite-3.8.4.3
  /nix/store/9fb027n5a2lf9qwpb98v77iycqq552pf-gcc-4.8.2
  /nix/store/asnkw21m4y0ihphnxi8wvw9f45f0d83k-gzip-1.6
  /nix/store/cp1k5gmppz2r12mrnf5qr357r62l6l1k-openssl-1.0.1g
  /nix/store/f1yaikpbxnyl9rl23p50b3rc938b6xlx-xz-5.0.5
  /nix/store/gmlqaw1kp8c1nrllrs84i1pkmz34yc3b-attr-2.4.47
  /nix/store/gmmx1vwm9rxryxmsf1p6sff7kvyjggcq-zlib-1.2.8
  /nix/store/h6m2zymy43ms773b0m9841dc14yb4ip5-nix-1.7
  /nix/store/hgmvny3ibknm6mfbj1k7p9mrviwy58a2-perl-DBI-1.631
  /nix/store/hzkmjagyqhh4ab0prlr61lsrvyljrkan-libssh2-1.4.3
  /nix/store/kksws74v0v0jf6dl6f5fhw24dygzairc-zlib-1.2.8
  /nix/store/l4sd8xf2q3x5xk5z8ji9dk3hxpb9v8sa-perl-5.16.3
  /nix/store/p0vd3ydvxplbpjffkpblwj5dahcmp9ri-bash-4.2-p45
  /nix/store/pdskwizjw8ar31hql2wjnnx6g0s6xc50-glibc-2.19
  /nix/store/sfhq9l2lyk599qkbiqrdd83yhhh5k97v-bzip2-1.0.6
  /nix/store/wszhn3z5cjwqa81fk5i2pdmwypdym0vi-perl-DBD-SQLite-1.42
  /nix/store/x76l1l04vnhw82hv6iwcvcchp3f51304-linux-headers-3.7.1
  /nix/store/xdswdgz11w9lm9n9bzb6spl7dj45s2x2-coreutils-8.21
  /nix/store/z2kdd4wx9nn9sr4kwvvvl8dg495yvhli-perl-WWW-Curl-4.17
building the system configuration...
copying NixOS/Nixpkgs sources...
finalising the installation...
Failed to check file system type of /boot: No such file or directory
Traceback (most recent call last):
  File "/nix/store/l1sspk59fpkradynsgfm4d843z8w2xai-gummiboot-builder.py", line 97, in <module>
    subprocess.check_call(["/nix/store/jn9ij02b1gm426qigymm9kyj7p9md196-gummiboot-43/bin/gummiboot", "--path=/boot", "install"])
  File "/nix/store/qikwsrbsyx59ygcmb36p1rgmfclgg882-python-2.7.6/lib/python2.7/subprocess.py", line 540, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/nix/store/jn9ij02b1gm426qigymm9kyj7p9md196-gummiboot-43/bin/gummiboot', '--path=/boot', 'install']' returned non-zero exit status 1
-------------- next part --------------
# Edit this configuration file to define what should be installed on
# your system.  Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running ?nixos-help?).

{ config, pkgs, ... }:

{
  imports =
    [ # Include the results of the hardware scan.
      ./hardware-configuration.nix
    ];

  # Use the gummiboot efi boot loader.
  boot.loader.grub.enable = false;
  boot.loader.gummiboot.enable = true;
  boot.loader.efi.canTouchEfiVariables = true;

  # networking.hostName = "nixos"; # Define your hostname.
  # networking.wireless.enable = true;  # Enables wireless.

  # Select internationalisation properties.
  # i18n = {
  #   consoleFont = "lat9w-16";
  #   consoleKeyMap = "us";
  #   defaultLocale = "en_US.UTF-8";
  # };

  # List services that you want to enable:

  # Enable the OpenSSH daemon.
  # services.openssh.enable = true;

  # Enable CUPS to print documents.
  # services.printing.enable = true;

  # Enable the X11 windowing system.
  # services.xserver.enable = true;
  # services.xserver.layout = "us";
  # services.xserver.xkbOptions = "eurosign:e";

  # Enable the KDE Desktop Environment.
  # services.xserver.displayManager.kdm.enable = true;
  # services.xserver.desktopManager.kde4.enable = true;
}
-------------- next part --------------
# Do not modify this file!  It was generated by ?nixos-generate-config?
# and may be overwritten by future invocations.  Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, pkgs, ... }:

{
  imports =
    [ <nixpkgs/nixos/modules/installer/scan/not-detected.nix>
    ];

  boot.initrd.availableKernelModules = [ "ehci_pci" "ahci" "xhci_hcd" "usbhid" ];
  boot.kernelModules = [ "kvm-intel" ];
  boot.extraModulePackages = [ ];

  fileSystems."/" =
    { device = "/dev/sda8";
      fsType = "ext4";
    };

  swapDevices =
    [ { device = "/dev/sda4"; }
    ];

  nix.maxJobs = 8;
  #hardware.opengl.videoDrivers = [ "nvidia" ];
  hardware.opengl.videoDrivers = [ ];
}


More information about the nix-dev mailing list