Skip to content

Instantly share code, notes, and snippets.

@colemickens
Created April 15, 2019 00:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save colemickens/d930a16d1aadce8f09d5f657c8963b16 to your computer and use it in GitHub Desktop.
Save colemickens/d930a16d1aadce8f09d5f657c8963b16 to your computer and use it in GitHub Desktop.
[ 1.945720] random: crng init done
[ 10.886912] reboot: Restarting system
WARNING: Image format was not specified for 'nixos.raw' and probing guessed raw.
Automatically detecting the format is dangerous for raw images, write operat
ions on block 0 will be restricted.
Specify the 'raw' format explicitly to remove the restrictions.
cSeaBIOS (version rel-1.12.0-0-ga698c8995f-prebuilt.qemu.org)
iPXE (http://ipxe.org) 00:03.0 C980 PCI2.10 PnP PMM+3FF91100+3FEF1100 C980
Booting from ROM...
Probing EDD (edd=off to disable)... ok
cloading kernel modules...
insmod: can't insert '/nix/store/5jqg38s1xhf7dmbk349lnwiip4kqm33w-linux-4.19.33-shrun
k/lib/modules/4.19.33/kernel/arch/x86/crypto/crc32c-intel.ko.xz': No such device
warning: unable to load /nix/store/5jqg38s1xhf7dmbk349lnwiip4kqm33w-linux-4.19.33-shr
unk/lib/modules/4.19.33/kernel/arch/x86/crypto/crc32c-intel.ko.xz
mounting Nix store...
mounting host's temporary directory...
starting stage 2 (/nix/store/95p1x94g4wfdkmx96d458a6vgwnn6fs9-vm-run-stage2)
PTT = efi
++ mkdir -p /mnt/boot
++ mkfs.vfat -n ESP /dev/vda1
mkfs.fat 4.1 (2017-01-24)
++ mount /dev/vda1 /mnt/boot
++ echo
++ echo
++ ls -al /dev/vda /dev/vda1 /dev/vda2
brw------- 1 0 0 254, 0 Apr 15 00:37 /dev/vda
brw------- 1 0 0 254, 1 Apr 15 00:37 /dev/vda1
brw------- 1 0 0 254, 2 Apr 15 00:37 /dev/vda2
++ echo
++ echo
++ ls -al /mnt
total 48
drwxr-xr-x 7 0 0 4096 Apr 15 00:37 .
drwxrwxrwt 12 0 0 260 Apr 15 00:37 ..
drwxr-xr-x 2 0 0 16384 Jan 1 1970 boot
drwxr-xr-x 2 0 0 4096 Apr 15 00:37 etc
drwx------ 2 0 0 16384 Apr 15 00:37 lost+found
drwxr-xr-x 4 0 0 4096 Apr 15 00:37 nix
drwxr-xr-x 3 0 0 4096 Apr 15 00:37 root
++ echo
++ echo
++ mount
none on / type tmpfs (rw,relatime)
devtmpfs on /dev type devtmpfs (rw,relatime,size=503240k,nr_inodes=125810,mode=755)
none on /dev/shm type tmpfs (rw,relatime)
none on /dev/pts type devpts (rw,relatime,mode=600,ptmxmode=000)
store on /nix/store type 9p (rw,relatime,dirsync,loose,access=client,trans=virtio)
none on /tmp type tmpfs (rw,relatime)
none on /run type tmpfs (rw,relatime,mode=755)
/tmp/xchg on /tmp/xchg type 9p (rw,relatime,dirsync,loose,access=client,trans=virtio)
none on /proc type proc (rw,relatime)
none on /sys type sysfs (rw,relatime)
/dev/vda2 on /mnt type ext4 (rw,relatime)
/dev/vda1 on /mnt/boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,ioch
arset=iso8859-1,shortname=mixed,errors=remount-ro)
++ set +x
setting up /etc...
/dev/vda2 on / type ext4 (rw,relatime)
/dev/vda1 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharse
t=iso8859-1,shortname=mixed,errors=remount-ro)
devtmpfs on /dev type devtmpfs (rw,nosuid,size=50660k,nr_inodes=125810,mode=755)
none on /dev/shm type tmpfs (rw,nosuid,nodev,size=506580k)
none on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=3,mode=620,ptmxmode=666)
none on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run type tmpfs (rw,nosuid,nodev,size=253292k,mode=755)
ramfs on /run/keys type ramfs (rw,nosuid,nodev,relatime,mode=750)
tmpfs on /run/wrappers type tmpfs (rw,nodev,relatime)
setting up /etc...
Initializing machine ID from random generator.
Failed to open file system "/boot": No such file or directory
Traceback (most recent call last):
File "/nix/store/dkmx7y2rix02wrrrpainvyranp7csr5h-systemd-boot-builder.py", line 21
1, in <module>
main()
File "/nix/store/dkmx7y2rix02wrrrpainvyranp7csr5h-systemd-boot-builder.py", line 18
6, in main
subprocess.check_call(["/nix/store/rl4ky8x58ixnfjssliygq7iwyd30l3gn-systemd-239.2
0190219/bin/bootctl", "--path=/boot", "install"])
File "/nix/store/gbwx5sc4w0i0ipnmsa0nsk88svs983vl-python3-3.7.2/lib/python3.7/subpr
ocess.py", line 347, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/nix/store/rl4ky8x58ixnfjssliygq7iwyd30l3gn
-systemd-239.20190219/bin/bootctl', '--path=/boot', 'install']' returned non-zero exi
t status 1.
[ 2.025075] reboot: Power down
builder for '/nix/store/60sm7jw7yvlg1x8r88xj1rqj49xbrd5k-vera-vm.drv' failed with exi
t code 1
error: build of '/nix/store/60sm7jw7yvlg1x8r88xj1rqj49xbrd5k-vera-vm.drv' failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment