View Single Post
  #1   (View Single Post)  
Old 1st January 2022
marietto2021 marietto2021 is offline
New User
 
Join Date: Jul 2021
Posts: 8
Default Trying to run a NixOS VM as an OpenBSD guest for the first time...

Hello.


I'm trying to install the NixOS Linux distribution as a virtual machine guest hosted on OpenBSD VMM hypervisor. Below there are the commands that I have issued :


Code:
1) vmctl create -s 50G linux.qcow2

2) nano /etc/vm.conf

vm "linux" {
       memory 4G
       disk "/home/marietto/Desktop/virt/linux.qcow2"
       cdrom "/home/marietto/Desktop/virt/nixos-plasma5-21.11.334934.8a053bc2255-x86_64-linux.iso"
       interface { lladdr "aa:bb:cc:dd:ee:ff"  switch "uplink" }
       owner marietto
       disable
}

switch "uplink" {
        interface bridge0
}

3) echo "add em0" > /etc/hostname.bridge0 sh /etc/netstart bridge0
4) rcctl enable vmd
5) rcctl start vmd
6) vmctl start -c linux

and boom,this is what happens :


Code:
[    0.010318] ACPI BIOS Error (bug): A valid RSDP was not found (20200925/tbxfroot-210)
[    5.430342] mce: Unable to init MCE device (rc: -5)

<<< NixOS Stage 1 >>>

loading module loop...
loading module overlay...
loading module vfat...
loading module nls_cp437...
loading module nls_iso8859-1...
loading module dm_mod...
running udev...
Starting version 249.7
kbd_mode: KDSKBMODE: Inappropriate ioctl for device
starting device mapper and LVM...
mounting tmpfs on /...
waiting for device /dev/root to appear.....................

mount: mounting /dev/root on /mnt-root/iso failed: No such file or directory

An error occurred in stage 1 of the boot process, which must mount the
root filesystem on `/mnt-root' and then start stage 2.  Press one
of the following keys:

i) to launch an interactive shell
f) to start an interactive shell having pid 1 (needed if you want to start stage 2's init manually)
r) to reboot immediately
*) to ignore the error and continue
Reply With Quote