Hi, I have the same issue than @camille-persson . I’m stuck to screen asking for network connection. It’s the first time I use LXC so I don’t really understand how it works …
In the “Let’s connect you to a network” screen, press Shift+F10 to launch cmd;
Type the following command: OOBE\BYPASSNRO
After successful execution, the system will restart and restart the OOBE session box, when you reach the “Let’s connect you to a network” screen, click “I don’t have Internet”, continue to click “limited setup”, accept the license agreement and continue to create a local user account.
I was able to get win11 installed without a network using the OOBE\BYPASSNRO method mentioned by vinarcola. However, my goal is to use win11 (in lxd) via the network. I cannot find the details of how to get my ubuntu wi-fi connection accessible to the lxd session. Win11 says I have a local network but it doesn’t connect to the internet.
There should be a “simple” way to connect ones Ubunutu ethernet (in my case wifi) adapter to the LXD VM and have it “just work”. I have spent days trying variations on how to do so, but WIN11 always says “No internet”.
THANK YOU SO MUCH!!! This was incredibly frustrating to figure out. All the information I read online said it couldn’t be done with a bridged network when you have a wifi card, yet Windows let me do it when I adjusted the firewall settings. This is a huge oversight in the LXD guide!
Great tutorial with instructions that worked fine on Ubuntu 24.
One note: Win11 installation requires an active internet connection to move forward at some point. If you machine only have Wifi, here are the steps to make it work:
Remove the ethernet device that is attached: lxc profile device remove default eth0
Search for your wifi device name and attach it:
ip addr | grep wlp
or
ifconfig | grep wlp
lxc config device add win11 wlp0s20f3 nic nictype=bridged parent=lxdbr0 # replace wlp0s20f3 with the actual name
lxc restart win11
lxc list