TrueNAS und Proxmox > VM startet nicht

funktioniert der boot denn wenn du die hostpci zeile entfernst? die boot reihenfolge sagt ja nur was ueber die reihenfolge aus, wenn dort keine funktionierenden bootloader/optionen drauf sind hilft die auch nix ;)
 
ja :), das ist klar. ich habe es probiert. Und ohne pci bootet der nette Truenas ohne murren :)
 
ja, PCI passthrough ist immer haarig, weil sehr hardware spezifisch. funktioniert denn ein haendischer "override" (also, wenn du ganz am anfang vom boot ins boot menu wechselst und dort dann die festplatte auswaehlst)?
 
ich bekomme keine chance in der console das zu tun :-(
ich muss bis den Fehler warten, dann kann ich esc oder enter verwenden und dann kommt truenas.

1689678244888.png
 
momen moment ... ich habe wild immer wieder auf esc geklickt, irgend eine muss durch gegangen sein... TrueNas hat gebootet ...
 
waere interessant zu wissen ob das problem bei einer UEFI VM auch auftritt, bzw. ob du dort ueber die UEFI settings dieses verhalten abdrehen kannst..
 
Hallo Fabian . . . wir sind durch :). Es hat geklappt.

Natürlich ging nicht so einfach...
Erst "Bad shim signatur"

Thread in Truenas Forum gefunden: "disable secure boot" ... Ich habe das ganze Host natürlich runter gebracht, um zu erfahren, dass das secure boot nicht aktiviert war...

Besser gegogelt (hätte ich vielleicht chatgpt fragen sollen, von welche boot gesprochen war ;-))
"When using UEFI 'BIOS' in Proxmox, "Pre-Enroll Keys" actually seems to mean "Enable Secure Boot".
Truenas scale will not install, It will stop on the Grub bootloader unable to find the linux kernel.
When setting up you VM, if using UEFI, under System, DISABLE "Pre-Enroll Keys:"

Leider ist das nicht mehr änderbar, so gefühlt haben ich zum 15 mal die VM noch mal erzeugt.
AND .... es läuft, es bootet anständig schnell und die ZFS Pool sind importiert und anwesend ...

Hier die funktionierende Konfiguration-

agent: 1
bios: ovmf
boot: order=scsi0;net0
cores: 4
efidisk0: local-lvm:vm-100-disk-0,efitype=4m,size=4M
hostpci0: 0000:84:00
machine: q35
memory: 140000
meta: creation-qemu=7.2.0,ctime=1689769256
name: truenas
net0: virtio=c2:4f:69:21:14:15,bridge=vmbr0,firewall=1
numa: 0
ostype: l26
scsi0: local-lvm:vm-100-disk-1,iothread=1,size=32G
scsihw: virtio-scsi-single
smbios1: uuid=6a5b69a1-621d-4bcb-86d2-d6376c65f937
sockets: 4
vmgenid: 5e162d19-d7b7-46f6-91c3-937fa2a84370


Jetzt gilt zu beobachten. Da das Ganze hat so angefangen, dass die VM sich erzeugen lassen hat, ein paar Woche ist sie sogar gelaufen. Und dann plötzlich war sogar die Configdatei nicht mehr zu finden. . .
Die VM war komplett falsch konfiguriert (das weiss ich jetzt) ist sie aber gelaufen und verschwunden...
Also jetzt warten und hoffen.

Aber auch feiern, dass die MV endlich tut, was sie tun muss :). Danke!
 
Last edited:
  • Like
Reactions: fabian
falls du nochmal das problem hast - du kannst die keys im UEFI firmware menu der VM entfernen (das was mit Esc direkt beim boot aufrufbar ist) und auch neue hinzufuegen, dort kannst du auch secure boot disablen ;) die keys (und anderen UEFI settings) sind in der "efi disk" gespeichert (welche wiederum einfach ein kleines volume auf einem storage ist) - auf einer baremetal maschine waere das tatsaechlich ein kleiner flash chip am mainboard, bei meiner VM ist das natuerlich virtualisiert :)
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!