r/intelnuc•
amelter

Guide to installing ProxMox on NUC11

I wanted to summarize my experience installing ProxMox 6.3 - 6.4 on my Tiger Canyon NUC11s and feedback from other users.

Currently (May 01, 2021), ProxMox requires updated drivers for the NICs and video to function properly and it makes its installation a bit tricky.

One prerequisite for installation: USB ethernet dongle, something simple and old should work fine, I used 1GbE Realtek one. You only need it for the installation and will remove once installed and configured to use internal NICs.

Here is the list of steps one may follow to get it installed:

  1. Download ProxMox 6.4 iso and write it to a flash drive. Rufus on Win10 works fine for that. I used "dd" mode as ProxMox recommends.
  2. Add a monitor and a keyboard to your NUC11.
  3. Connect Ethernet dongle to your DHCP enabled network. DO NOT connect any of NUCs built-in/addon NICs to the network yet
  4. Boot from the usb drive.
  5. Start ProxMox installation and wait till it fails and bounces you back to the console
  6. Press Alt + F3 to switch to TTY3 console
  7. Now, you need to generate new Xorg config and swap the driver it uses for the video by running Xorg -configure; mv /root/xorg.conf.new /etc/X11/xorg.conf; nano /etc/X11/xorg.conf
  8. Change "modesetting" driver to "fbdev".
  9. Save the file, exit the editor.
  10. Type "exit" to logout from the TTY3
  11. Move to TTY1 (ALT + F1) and type "startx"
  12. Finish the installation process. At the end of the installation, you get another xorg error, which is save to ignore, just reboot your NUC.
  13. Once you're in the ProxMox add deb http://download.proxmox.com/debian/pve buster pvetest to /etc/apt/sources.list, and remove PVE Enterprise repo, as it creates issue for non-licensed nodes: rm -v /etc/apt/sources.list.d/pve-enterprise.list
  14. Run apt update and then apt install pve-kernel-5.11
  15. Install ifupdown2 (helps in network config setup) apt install ifupdown2. This step is optional, it allow to apply network changes without rebooting ProxMox.
  16. Once installed, reboot and confirm you're running 5.11 kernel by running uname -a or check node summary page in the UI.
  17. At this point, you have a working ProxMox VE but you still need to move traffic to NUCs built-in/addon NICs and get rid of the dongle. So, connect NUC's primary NIC to your network now and go to the UI, Node -> System -> Network section.
  18. Edit vmbr0 bridge settings and swap bridge port from your usb dongle NIC (something en<MAC>) to enp88s0 (your primary onboard NIC), save and apply the changes, disconnect your ethernet dongle.
  19. Optionally, reboot the NUC again to confirm everything works fine.

Hope it helps.

Posted May 1, 2021, 6:39 PM UTC · edited

2820
AfterShock•

Now get HW transcoding working and stable with Iris Xe...pretty please :P

2
user2000ad•

Nice one, thanks again for your help

1
Meriu•

Do you have to have 2 hard drives to run Proxmox on NUC?

1
amelterOP•

No, one drive is enough.

1
MhzDev•

I'm planning to have a similar setup with one drive, how much space did you dedicate for the root partition?

1
amelterOP•

When you install proxmox from their iso, it automatically partitions the drive without asking you much. I standardized my cluster on primary nvme drive used for local storage and secondary sata for Ceph.

With 1T primary drive, ProxMox allocates 100G for its own partition

2
MhzDev•

Yeah for what I saw default is up to 10 percent of the size, I wonder how feasible would be to realize the root after installing. I couldn't find any documentation recommending a minimum size for root.

1
[deleted]•

Would y'all recommend ESXI for noobs?

1
amelterOP•

Depending what your goal is. If you want to get VMware skills, sure, go with ESXi, you still need custom drivers but it’s less steps currently. ESXi Hypervisor is pretty simplistic in what it can do. vSphere requires a license, even with VMUG license it cost you about $15/month for personal, non commercial use. Using of vSphere with advanced features requires significant investments from businesses and smaller ones can’t afford it.

ProxMox is good for learning Linux, kvm, qemu, ceph and many other things, it’s also suitable for price cautious deployments.

3
suddenlypenguins•

Holy shit, where were you 5 days ago? :)

I got stuck on the Xorg issues, and none of the 8 thousand suggestions on the proxmox forums worked ("wait 30 mins" ...seriously?!)

What worked for me:

  • Putting my nvme in another old NUC and installing Proxmox there
  • Moving it back to NUC 11
  • Fixing up /etc/network/interfaces to match the NUC 11 hardware
  • Updating to kernel-5.11

FWIW I didn't need a a USB Ethernet dongle. I could reach the NUC via SSH after fixing up the interface to match the hardware. HOWEVER until I installed kernel-5.11 none of VM's networking worked - I could reach the PVE GUI etc but for whatever reason VM's networking was broken.

Does the 2.5gb networking work for you? I've not got any other 2.5gb kit to test with, but hoping to soon.

1
amelterOP•

I did hear that some people didn’t need a dongle because host networking was working but I couldn’t replicate it on my Tigers. Both NICs were detected but couldn’t get a DHCP address. I also received some feedback from Reddit users telling me the same, so I figured using a dongle was the way to go.

Yes, 2.5GbE works fine on both interfaces (for dual LAN setups). I use second 2.5GbE cards for migration and Ceph, it also supports 9k MTU

1
suddenlypenguins•

Nice! Glad to hear it works well :)

What 2.5GbE cards are you using? I wanted the NUC11 with dual LANs, but there is no sign of it ever being in stock, so pulled the trigger on one without. It has space for one, but apparently requires soldering the header pins off the card.

How is Ceph btw? I'd love to have some kind of little cluster going for live VM migration and HA in my homelab but everyone keeps saying Ceph is only useable on 10GbE networks with enterprise hardware. I've looked at Gluster before, and will possibly go down that route, but got really awful r/w speeds.

Regarding 9k MTU - I have a super old NAS and managed to significantlly improve backups to it by switching all my PVE nodes to 9k MTU (even old NUC's support this). One thing to note is there is currently no option in PVE GUI to set VM's ethernet to 9K mtu so you have to manually do it under the interfaces inside the VM. You can apparently set it in the VM config file but meh.

2
amelterOP•
  1. I don't really have any 2.5GbE adapters. For > 1GbE I use 10GbE multi gig cards:

For 10GbE servers: Intel X550-T2 or X710-T4L

For 10GbE desktop: Intel X550-T2

For TB3 10GbE: QNA-T310G1S (SFP+ version for versatility), it's AQC100. These adapters also work perfectly on NUC11s

I also have 25GbE in the lab on servers, desktop and my QNAP NAS.

The ones I actually use are Mellanox 4-LX in my desktop and QXG-25G2SF-CX4 for Qnap (also based on Mellanox 4-LX). I also tried X820 based cards but drivers are tricky and RSC (LRO) HW support is lacking.

For 10GbE+ switches I use XG6-Poe, Enterprise-XG24, Agg-Pro from Unifi line.

  1. So, Ceph is network replicated storage and is suffering from the same issue as VMware vSAN - latency. I.e., the biggest issue is small block random IO, writes in particular, and not aggregate throughput available. For 2.5GbE you can still get about 200Mbyte/s for large block writes (1M for instance), 4k iodepth 1 writes will be measurably low. READs are magnitude better than writes on ceph, you can actually get more throughput that from a single drive with fast enough network and OSD config where it will also be pulling from local drive/s

While it's true that 10GbE adapters typically provide lower latency than 1GbE ones, it's not by that much and also depends on your switch. 25GbE is also a step up from 10GbE in terms of latency and if you couple them with RDMA (iSER on QNAP), it get 2x boost in IOPS.

All in all, for lab purposes and not IO intensive apps, Ceph will work just fine on 2.5GbE NUCs, in my tests, comparable to vSAN.

I standardized my lab cluster on:

1x1T NVMe for local LVM storage

1x4T SATA SSD for Ceph

This config let's me quickly move VMs around backend by Ceph and use CephFS for ISO storage. When more IO is needed, I move / provision the VMs on local NVMe LVM, which you can also migrate between nodes and use in HA setups, it just takes longer as storage needs to be migrated too.

Hope it helps.

1
t13nou•

Hi ! Thanks for saving me a lot of headaches !!! :D

Anyone succeed to install the good graphic drivers ? I'm trying to install PLEX server with hardware transcoding but seems to fail ... :/

1
user2000ad•

This is also my main aim.

​

There's some commentary over on the Plex forums, but as usual Plex is hit and miss to even get the basics running properly, never mind supporting the all new box of tricks that is the NUC11!

​

https://forums.plex.tv/t/anyone-have-been-able-to-hw-transcode-on-an-intel-nuc-11-iris-xe/695381/42

1
bliblabl8•

Oh man! I feel extremely lucky now, your help is absolutely appreciated!! After a week of searching the web and trying different things and updating BIOS, I was about to return my new NUC11 TNHv5.

What worked for me:

installing Proxmox until tty error

generate Xorg config and swap the driver modesetting to fbdev.

completing the installation with startx, ignoring the other xorg error after installation and rebooting.

adding source for the new kernel, installing the new kernel-5.11, installing ifupdown2, rebooting and every vm gets a network connection instantly!!!

great thanks again!!

1
miguelxmiguel•

NUC 11 Performance i5.

Its been a nightmare. I tried installing debian buster way but couldnt get the driver to work for the ethernet but it works out of the box with proxmox.

Thanks!

1
PunchFu•

Awesome thx for the guide, also got it working without a dongle.

Now I'm going down the rabbit hole...

1
spock11710•

I have tried version 7.0 and version 6.4. On both of them my monitor stops receiving signal and it is impossible to progress. Has anyone else encountered this?

I am attempting to install on the enthuisiast NUC: 11PHKI7CAA0

1