Skip to content

Instantly share code, notes, and snippets.

@rikka0w0
Last active March 19, 2024 07:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rikka0w0/b5f41447f2e076d5b63b3e8ad2c39ae3 to your computer and use it in GitHub Desktop.
Save rikka0w0/b5f41447f2e076d5b63b3e8ad2c39ae3 to your computer and use it in GitHub Desktop.
[Workstation]pve install win11
# `cat /etc/default/grub`
`GRUB_CMDLINE_LINUX_DEFAULT="intel_iommu=on kvm.ignore_msrs=1 vfio-pci.ids=10de:2786,10de:22bc pci=realloc"`
May also need: `video=efifb:off video=simplefb:off`
# `cat /etc/modprobe.d/blacklist-nouveau.conf`
```
blacklist nouveau
options nouveau modeset=0
```
# `/etc/apt/sources.list.d/pve-install-repo.list`
```
#deb [arch=amd64] http://download.proxmox.com/debian/pve bookworm pve-no-subscription
deb [arch=amd64] https://mirrors.tuna.tsinghua.edu.cn/proxmox/debian/pve bookworm pve-no-subscription
```
Add https key:
`apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1140AF8F639E0C39`
# `/etc/pve/nodes/xlpc/qemu-server/100.conf`
`args: -global q35-pcihost.pci-hole64-size=48G`
solves code 12 in vm. Need 4G allocation to be enabled in BIOS.
# Known problem
1. Need to run `dhclient -6 vmbr0` manually to get IPv6
Solution: add `net.ipv6.conf.vmbr0.accept_ra = 2` to `/etc/sysctl.conf` then run `sysctl -p`. add `up ip token set "::114/64" dev vmbr0` to `/etc/network/interfaces`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment