Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
24.1 Legacy Series
»
24.1 on LXD on Ubuntu 23.10.1 does not boot...
« previous
next »
Print
Pages: [
1
]
Author
Topic: 24.1 on LXD on Ubuntu 23.10.1 does not boot... (Read 889 times)
adamfowleruk
Newbie
Posts: 1
Karma: 0
24.1 on LXD on Ubuntu 23.10.1 does not boot...
«
on:
March 20, 2024, 12:05:10 pm »
Hello all,
I'm sure someone must have tried this but I cannot find the answer on these forums or elsewhere. I am trying to run opnsense on Ubuntu Server under LXD. I have set up two network interfaces - one which is a macvlan to give a real IP on my local home network, the other is an internal (to ubuntu server) dummy linux interface which in turn has VLAN interfaces using it as their 'link'.
When I try to boot the VM from the attached OPNsense ISO in LXD it hangs at this stage: "random: registering fast source virtio entropy adapter". I've tested 23.7 too and it has the same issue.
I'm presuming there's an issue with LXD only providing the virtio network drivers and opnsense needing a different driver, but I cannot find anyone who has a working combination on the interwebs.
I was wondering if someone has a working LXD VM configuration YAML I could please take a look at for opnsense? (Especially if they attach the LAN interface to a Linux dummy Ethernet adapter)
Thanks in advance.
Logged
Patrick M. Hausen
Hero Member
Posts: 6871
Karma: 577
Re: 24.1 on LXD on Ubuntu 23.10.1 does not boot...
«
Reply #1 on:
March 20, 2024, 12:18:17 pm »
OPNsense works perfectly well with VirtIO disk and network. I ran it under bhyve on TrueNAS CORE that way. So it must be something different.
Since you are running Ubuntu, can't you use KVM?
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
bartjsmit
Hero Member
Posts: 2018
Karma: 194
Re: 24.1 on LXD on Ubuntu 23.10.1 does not boot...
«
Reply #2 on:
March 20, 2024, 12:29:10 pm »
I think LXD uses the Ubuntu kernel, which won't work (Linux vs. FreeBSD)
Patrick is right - you need a VM
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
24.1 Legacy Series
»
24.1 on LXD on Ubuntu 23.10.1 does not boot...