DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #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
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Operating a vmm(4) guest on OpenBSD-current jggimi OpenBSD General 8 16th October 2016 01:36 AM
Create OpenBSD guest for Linux KVM (Kernel-based Virtual Machine) with 'virt-install' J65nko Guides 4 11th December 2014 04:30 AM
64-bit Time on OpenBSD J65nko News 0 18th August 2013 04:55 PM
NixOS - an interesting Linux distro. TerryP Off-Topic 2 21st February 2011 07:44 PM
VMWare Workstation 7 with OpenBSD 4.6 i386 guest There0 Guides 5 16th February 2010 03:13 PM


All times are GMT. The time now is 12:03 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick