가상화/proxmox
[PROXMOX] 정리
PeamS
2025. 12. 2. 16:13
INTRO
PCI Through 활성화
https://pve.proxmox.com/pve-docs/pve-admin-guide.html#qm_pci_passthrough
Proxmox VE Administration Guide
The Proxmox VE storage model is very flexible. Virtual machine images can either be stored on one or several local storages, or on shared storage like NFS or iSCSI (NAS, SAN). There are no limits, and you may configure as many storage pools as you like. Yo
pve.proxmox.com
grub 수정
vi /etc/default/grub
# intel_iommu=on 추가
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on"
grub 업데이트 및 재부팅
update-grub
root@pve:~# update-grub
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.17.4-2-pve
Found initrd image: /boot/initrd.img-6.17.4-2-pve
Found linux image: /boot/vmlinuz-6.17.2-1-pve
Found initrd image: /boot/initrd.img-6.17.2-1-pve
Found memtest86+ 64bit EFI image: /boot/memtest86+x64.efi
Found memtest86+ 32bit EFI image: /boot/memtest86+ia32.efi
Found memtest86+ 64bit image: /boot/memtest86+x64.bin
Found memtest86+ 32bit image: /boot/memtest86+ia32.bin
Adding boot menu entry for UEFI Firmware Settings ...
done
재부팅
reboot
IOMMU 활성화 확인
dmesg | grep -i "IOMMU enabled"
root@pve:~# dmesg | grep -i "IOMMU enabled"
[ 0.121510] DMAR: IOMMU enabled
모듈 활성화
cat <<EOF>> /etc/modules
vfio
vfio_iommu_type1
vfio_pci
EOF
initramfs 새로 고침
update-initramfs -u -k all
root@pve:~# update-initramfs -u -k all
update-initramfs: Generating /boot/initrd.img-6.17.4-2-pve
Running hook script 'zz-proxmox-boot'..
Re-executing '/etc/kernel/postinst.d/zz-proxmox-boot' in new private mount namespace..
No /etc/kernel/proxmox-boot-uuids found, skipping ESP sync.
update-initramfs: Generating /boot/initrd.img-6.17.2-1-pve
Running hook script 'zz-proxmox-boot'..
Re-executing '/etc/kernel/postinst.d/zz-proxmox-boot' in new private mount namespace..
No /etc/kernel/proxmox-boot-uuids found, skipping ESP sync.
로드 확인
lsmod | grep -i vfio
root@pve:~# lsmod | grep -i vfio
vfio_pci 20480 0
vfio_pci_core 86016 1 vfio_pci
vfio_iommu_type1 49152 0
vfio 65536 3 vfio_pci_core,vfio_iommu_type1,vfio_pci
iommufd 126976 1 vfio
irqbypass 16384 2 vfio_pci_core,kvm
드라이브 안 보임
https://pms3298.tistory.com/23
네트워크 안 보임
- virtio-win.iso 마운트해서 설치하면 보임.