# Installation Host

# Installation von Proxmox VE 9

## 1. ISO herunterladen

- Offizielle Downloadseite:  
    👉 <a class="decorated-link cursor-pointer" data-end="412" data-start="336" rel="noopener" target="_new">https://www.proxmox.com/en/downloads<span aria-hidden="true" class="ms-0.5 inline-block align-middle leading-none"><svg class="block h-[0.75em] w-[0.75em] stroke-current stroke-[0.75]" data-rtl-flip="" fill="currentColor" height="20" viewbox="0 0 20 20" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M14.3349 13.3301V6.60645L5.47065 15.4707C5.21095 15.7304 4.78895 15.7304 4.52925 15.4707C4.26955 15.211 4.26955 14.789 4.52925 14.5293L13.3935 5.66504H6.66011C6.29284 5.66504 5.99507 5.36727 5.99507 5C5.99507 4.63273 6.29284 4.33496 6.66011 4.33496H14.9999L15.1337 4.34863C15.4369 4.41057 15.665 4.67857 15.665 5V13.3301C15.6649 13.6973 15.3672 13.9951 14.9999 13.9951C14.6327 13.9951 14.335 13.6973 14.3349 13.3301Z"></path></svg></span></a>
- Gewählt wird: **Proxmox VE 9.x ISO Installer** (aktuell `proxmox-ve_9.x.iso`).

---

## 2. Bootfähigen USB-Stick unter Windows erstellen

Am einfachsten mit **Rufus**:

1. Download Rufus: <a class="decorated-link cursor-pointer" data-end="645" data-start="609" rel="noopener" target="_new">https://rufus.ie<span aria-hidden="true" class="ms-0.5 inline-block align-middle leading-none"><svg class="block h-[0.75em] w-[0.75em] stroke-current stroke-[0.75]" data-rtl-flip="" fill="currentColor" height="20" viewbox="0 0 20 20" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M14.3349 13.3301V6.60645L5.47065 15.4707C5.21095 15.7304 4.78895 15.7304 4.52925 15.4707C4.26955 15.211 4.26955 14.789 4.52925 14.5293L13.3935 5.66504H6.66011C6.29284 5.66504 5.99507 5.36727 5.99507 5C5.99507 4.63273 6.29284 4.33496 6.66011 4.33496H14.9999L15.1337 4.34863C15.4369 4.41057 15.665 4.67857 15.665 5V13.3301C15.6649 13.6973 15.3672 13.9951 14.9999 13.9951C14.6327 13.9951 14.335 13.6973 14.3349 13.3301Z"></path></svg></span></a>
2. USB-Stick (≥ 4 GB, wird gelöscht) einstecken.
3. Rufus starten → folgendes einstellen:
    
    
    - **Gerät**: USB-Stick auswählen
    - **Boot-Auswahl**: heruntergeladene `proxmox-ve_9.x.iso`
    - **Partitionstyp**: GPT
    - **Zielsystem**: UEFI (nicht BIOS/Legacy)
    - Rest Standard lassen
4. Start → ISO wird auf den Stick geschrieben.

---

## 3. Installation von Proxmox VE

1. Server einschalten und vom USB-Stick booten (UEFI-Modus wählen).
2. Installationsmenü → `Install Proxmox VE` wählen.
3. Lizenzbedingungen akzeptieren.
4. **Zieldatenträger auswählen**:
    
    
    - Samsung NVMe 990 Pro 2 TB (Systemplatte).
    - Dateisystem: **ext4** (einfach und stabil, ZFS nur bei RAID oder Snapshots nötig).
5. Zeitzone: `Europe/Berlin`, Tastaturlayout `de`.
6. Root-Passwort und E-Mail-Adresse setzen (für Benachrichtigungen).
7. Netzwerkeinstellungen:
    
    
    - Hostname: `pve.localdomain` (später anpassen).
    - Management-IP manuell vergeben.
8. Installation starten, nach Abschluss neustarten.

---

## 4. Erste Anmeldung

- Webinterface über: `https://<IP-des-Servers>:8006`
- Login mit `root` und dem gesetzten Passwort.

---

## 5. BIOS-Anpassungen für GPU-Passthrough

Vor dem Start der VMs müssen im BIOS folgende Optionen aktiviert werden:

- **Intel VT-d** → `Enabled`
- **SR-IOV** → `Enabled`
- **Above 4G Decoding** → `Enabled`
- **Resizable BAR** → `Enabled` (falls vorhanden, für GPU Performance)
- **Primary Display** → auf `iGPU` oder `Onboard` stellen (damit die NVIDIA-Karte für Passthrough frei ist).

---

## 6. GRUB &amp; Kernel-Anpassungen für Passthrough

Auf dem Proxmox-Host anmelden (SSH oder Shell).

### a) IOMMU aktivieren

Datei `/etc/default/grub` bearbeiten:

<div class="contain-inline-size rounded-2xl relative bg-token-sidebar-surface-primary" id="bkmrk-nano-%2Fetc%2Fdefault%2Fgr"><div class="sticky top-9"><div class="absolute end-0 bottom-0 flex h-9 items-center pe-2"><div class="bg-token-bg-elevated-secondary text-token-text-secondary flex items-center gap-4 rounded-sm px-2 font-sans text-xs">  
</div></div></div><div class="overflow-y-auto p-4" dir="ltr">`nano /etc/default/grub`</div></div>Die Zeile mit `GRUB_CMDLINE_LINUX_DEFAULT` anpassen:

<div class="contain-inline-size rounded-2xl relative bg-token-sidebar-surface-primary" id="bkmrk-grub_cmdline_linux_d"><div class="sticky top-9"><div class="absolute end-0 bottom-0 flex h-9 items-center pe-2"><div class="bg-token-bg-elevated-secondary text-token-text-secondary flex items-center gap-4 rounded-sm px-2 font-sans text-xs">  
</div></div></div><div class="overflow-y-auto p-4" dir="ltr">`GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on iommu=pt"`</div></div>Speichern und GRUB neu generieren:

<div class="contain-inline-size rounded-2xl relative bg-token-sidebar-surface-primary" id="bkmrk-update-grub"><div class="sticky top-9"><div class="absolute end-0 bottom-0 flex h-9 items-center pe-2"><div class="bg-token-bg-elevated-secondary text-token-text-secondary flex items-center gap-4 rounded-sm px-2 font-sans text-xs">  
</div></div></div><div class="overflow-y-auto p-4" dir="ltr">`update-grub`</div></div>### b) VFIO-Module laden

Datei `/etc/modules` bearbeiten und folgende Zeilen ergänzen:

<div class="contain-inline-size rounded-2xl relative bg-token-sidebar-surface-primary" id="bkmrk-vfio-vfio_iommu_type"><div class="sticky top-9"><div class="absolute end-0 bottom-0 flex h-9 items-center pe-2"><div class="bg-token-bg-elevated-secondary text-token-text-secondary flex items-center gap-4 rounded-sm px-2 font-sans text-xs">  
</div></div></div><div class="overflow-y-auto p-4" dir="ltr">`vfiovfio_iommu_type1vfio_pcivfio_virqfd`</div></div>---

## 7. GPU identifizieren &amp; binden

1. PCI-Geräte auflisten:
    
    <div class="contain-inline-size rounded-2xl relative bg-token-sidebar-surface-primary"><div class="sticky top-9"><div class="absolute end-0 bottom-0 flex h-9 items-center pe-2"><div class="bg-token-bg-elevated-secondary text-token-text-secondary flex items-center gap-4 rounded-sm px-2 font-sans text-xs">  
    </div></div></div><div class="overflow-y-auto p-4" dir="ltr">`lspci -nn`</div></div>→ GPU (z. B. `10de:2805`) und Audio-Controller (`10de:228b`) notieren.
2. Datei `/etc/modprobe.d/vfio.conf` erstellen:
    
    <div class="contain-inline-size rounded-2xl relative bg-token-sidebar-surface-primary"><div class="sticky top-9"><div class="absolute end-0 bottom-0 flex h-9 items-center pe-2"><div class="bg-token-bg-elevated-secondary text-token-text-secondary flex items-center gap-4 rounded-sm px-2 font-sans text-xs">  
    </div></div></div><div class="overflow-y-auto p-4" dir="ltr">`options vfio-pci ids=10de:2805,10de:228b`</div></div>
3. NVIDIA-Treiber auf Host blockieren:  
    Datei `/etc/modprobe.d/blacklist.conf` ergänzen:
    
    <div class="contain-inline-size rounded-2xl relative bg-token-sidebar-surface-primary"><div class="sticky top-9"><div class="absolute end-0 bottom-0 flex h-9 items-center pe-2"><div class="bg-token-bg-elevated-secondary text-token-text-secondary flex items-center gap-4 rounded-sm px-2 font-sans text-xs">  
    </div></div></div><div class="overflow-y-auto p-4" dir="ltr">`blacklist nouveaublacklist nvidiablacklist nvidiafb`</div></div>
4. Initramfs neu erstellen:
    
    <div class="contain-inline-size rounded-2xl relative bg-token-sidebar-surface-primary"><div class="sticky top-9"><div class="absolute end-0 bottom-0 flex h-9 items-center pe-2"><div class="bg-token-bg-elevated-secondary text-token-text-secondary flex items-center gap-4 rounded-sm px-2 font-sans text-xs">  
    </div></div></div><div class="overflow-y-auto p-4" dir="ltr">`update-initramfs -u -k all`</div></div>

---

## 8. Neustart &amp; Kontrolle

Nach Neustart prüfen, ob die GPU an VFIO gebunden ist:

<div class="contain-inline-size rounded-2xl relative bg-token-sidebar-surface-primary" id="bkmrk-lspci--nnk-%7C-grep--a"><div class="sticky top-9"><div class="absolute end-0 bottom-0 flex h-9 items-center pe-2"><div class="bg-token-bg-elevated-secondary text-token-text-secondary flex items-center gap-4 rounded-sm px-2 font-sans text-xs">  
</div></div></div><div class="overflow-y-auto p-4" dir="ltr">`lspci -nnk | grep -A 3 -E <span class="hljs-string">"10de"</span>`</div></div>→ Sollte `Kernel driver in use: vfio-pci` anzeigen.