illusionfactory
Goto Top

ESXi 7.0U3d um Netzwerktreiber erweitern, auf i7-12700k (Alder Lake) installieren

article-picture
Hallo, zusammen, damit ich nicht immer nur Fragen stelle sondern auch mal was beitrage face-smile

Unser ESXi ist abgeraucht und wir haben einen brandneuen Alder Lake gekauft. ESXi raucht bei der Installation mit einer Fehlermeldung ab - PC zu neu face-smile

Lösung 1: E-Cores im BIOS deaktivieren, dann läuft die Installation durch. Leider erkennt er auch die Netzwerkkarte mit Standardtreibern nicht. Es gibt aber so genannte Community Network Drivers, die man aber auf den USB-Stick zur Installation integrieren muss. Habe ein Script mit alten Versionen gefunden und aktualisiert, hier anbei, falls das mal jemand braucht.

Kiste läuft und ist SCHNEEEEEEEEEEEEELLL face-smile

##############################################################################################
#     ____________  __ _    _                               __          _ __    __         
#    / ____/ ___/ |/ /(_)  (_)___ ___  ____ _____ ____     / /_  __  __(_) /___/ /__  _____
#   / __/  \__ \|   {{comment_single_line_double_slash:0}}
#  / /___ ___/ /   |/ /  / / / / / / / /_/ / /_/ /  __/  / /_/ / /_/ / / / /_/ /  __/ /    
# /_____{{comment_single_line_double_slash:1}}
#                                         /____/                                           
##############################################################################################
# Author: Jonas Werner
# GitHub URL: https:{{comment_single_line_double_slash:2}}
# Video: https:{{comment_single_line_double_slash:3}}
# Version: 0.7
##############################################################################
# Prerequisites
# Only needs to be executed once, not every time an image is built
# Must be Administrator to execute prerequisites
#
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine
Install-Module -Name VMware.PowerCLI -SkipPublisherCheck
##############################################################################

##############################################################################
# Get the base ESXi image
##############################################################################
Set-PowerCLIConfiguration -Scope User -ParticipateInCEIP $false

# Fetch ESXi image depot
Add-EsxSoftwareDepot https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml

# List avilable profiles if desired (show what images are available for download)
#Get-EsxImageProfile

# Download desired image
Export-ESXImageProfile -ImageProfile "ESXi-7.0U3d-19482537-standard" -ExportToBundle -filepath ESXi-7.0U3d-19482537-standard.zip  

# Remove the depot
Remove-EsxSoftwareDepot https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml

# Add default ESXi image files to installation media
Add-EsxSoftwareDepot .\ESXi-7.0U3d-19482537-standard.zip


##############################################################################
# Download additional drivers (can be done via browser too, either is fine) 
##############################################################################

# Get community network driver 
Invoke-WebRequest -Uri https://download3.vmware.com/software/vmw-tools/community-network-driver/Net-Community-Driver_1.2.7.0-1vmw.700.1.0.15843807_19480755.zip -OutFile Net-Community-Driver_1.2.7.0-1vmw.700.1.0.15843807_19480755.zip

# Get USB NIC driver
#Invoke-WebRequest -Uri https://download3.vmware.com/software/vmw-tools/USBNND/ESXi703-VMKUSB-NIC-FLING-51233328-component-18902399.zip -OutFile ESXi703-VMKUSB-NIC-FLING-51233328-component-18902399.zip

##############################################################################
# Add the additional drivers
##############################################################################

# Add community network driver
Add-EsxSoftwareDepot .\Net-Community-Driver_1.2.7.0-1vmw.700.1.0.15843807_19480755.zip

# Add USB NIC driver
#Add-EsxSoftwareDepot .\ESXi703-VMKUSB-NIC-FLING-51233328-component-18902399.zip

##############################################################################
# Create new installation media profile and add the additional drivers to it
##############################################################################

# Create new, custom profile
New-EsxImageProfile -CloneProfile "ESXi-7.0U3d-19482537-standard" -name "ESXi-7.0U3d-19482537-standard-MSI" -Vendor "jonamiki.com"  

# Optionally remove existing driver package (example for ne1000)
#Remove-EsxSoftwarePackage -ImageProfile "ESXi-7.0U3d-19482537-standard-MSI" -SoftwarePackage "ne1000"  

# Add community network driver package to custom profile
Add-EsxSoftwarePackage -ImageProfile "ESXi-7.0U3d-19482537-standard-MSI" -SoftwarePackage "net-community"  

# Add USB NIC driver package to custom profile
#Add-EsxSoftwarePackage -ImageProfile "ESXi-7.0U3d-19482537-standard-MSI" -SoftwarePackage "vmkusb-nic-fling"  

##############################################################################
# Export the custom profile to ISO
##############################################################################
Export-ESXImageProfile -ImageProfile "ESXi-7.0U3d-19482537-standard-MSI" -ExportToIso -filepath ESXi-7.0U3d-19482537-standard-MSI.iso  

Content-Key: 2686260746

Url: https://administrator.de/contentid/2686260746

Ausgedruckt am: 19.03.2024 um 03:03 Uhr

Mitglied: cykes
cykes 05.05.2022 aktualisiert um 06:18:18 Uhr
Goto Top
Moin,

es sei aber sicherheitshalber darauf hingewiesen, dass sowas nichts in einer Produktivumgebung zu suchen hat, insbesondere wenn man eine lizensierte Version von VMWare laufen hat und den Support benötigt.

Auch bei Updates bzw. größeren Versionssprümgen muss man ggf. aufpassen.

Für's HomeLab, Testumgebung oder als Überbrückungslösung aber sicher OK.

Gruß

cykes

P.S. Hast Du den Author des Scripts gefragt, ob Du das modifizierte Script hier posten darfst?
Mitglied: DerMaddin
DerMaddin 05.05.2022 um 09:36:24 Uhr
Goto Top
Wie cykes das bereits schreibt, VMWare gibt offiziell keinen Support für Desktop-CPUs (und Mainboards), daher ist das keine Lösung für einen Ersatz in einer Produktivumgebung.

Vielleicht hilft dir dieser Beitrag etwas: https://www.reddit.com/r/homelab/comments/r5g452/alder_lake_and_vmware_e ...

Mal abgesehen davon, für das gleiche Geld hätte man auch einen Xeon mit 8C/16T kaufen können.
Mitglied: may123
may123 07.05.2022 um 16:08:44 Uhr
Goto Top
Mir hat dieses Script geholfen. Danke !
Mitglied: 3l1o7404
3l1o7404 13.05.2022 um 16:44:44 Uhr
Goto Top
Danke für das Script, nur leider läuft im letzten Schritt etwas bei mir schief. Ich habe die für mich relevanten Schritte, ich will fling nutzen, da ich einen USB-NIC habe, aus dem Script manuell durchgeführt. Es läuft alles gut, bis ich das ISO bauen will.

PS C:\esx> Export-ESXImageProfile -ImageProfile "ESXi-7.0U3d-19482537-standard-MSI" -ExportToIso -filepath ESXi-7.0U3d-19482537-standard-MSI.iso  
Export-ESXImageProfile : Error retrieving file for VIB 'VMW_bootbank_vmkusb-nic-fling_1.8-3vmw.703.0.15.51233328': ("<zipfile.ZipExtFile  
name='vib20/vmkusb-nic-fling/VMW_bootbank_vmkusb-nic-fling_1.8-3vmw.703.0.15.51233328.vib' mode='r' compress_type=deflate>", "Error opening file object for VIB  
'VMW_bootbank_vmkusb-nic-fling_1.8-3vmw.703.0.15.51233328': Expected value '' for attribute 'swplatforms', but found value '[<vmware.esximage.Vib.SoftwarePlatform object at  
0x000001D9E55DE848>]'.").  
In Zeile:1 Zeichen:1
+ Export-ESXImageProfile -ImageProfile "ESXi-7.0U3d-19482537-standard-M ...  
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Export-EsxImageProfile], SoapException
    + FullyQualifiedErrorId : System.Web.Services.Protocols.SoapException,VMware.ImageBuilder.Commands.ExportProfile

Die monierte Datei existiert in dem ZIP-Archiv mit dem Fling-Treiber, ich verstehe die Fehlermeldung daher nicht.
Mitglied: IllusionFACTORY
IllusionFACTORY 16.05.2022 um 08:10:49 Uhr
Goto Top
Zitat von @3l1o7404:

Danke für das Script, nur leider läuft im letzten Schritt etwas bei mir schief. Ich habe die für mich relevanten Schritte, ich will fling nutzen, da ich einen USB-NIC habe, aus dem Script manuell durchgeführt. Es läuft alles gut, bis ich das ISO bauen will.

Das Problem hatte ich auch - deswegen hatte ich in meinem Script die USB-Treiber einfach auskommentiert face-smile Ich weiß, das hilft Dir nicht weiter...
Mitglied: 3l1o7404
3l1o7404 17.05.2022 um 19:38:08 Uhr
Goto Top
Haha, leider nein, aber gut zu wissen, dass es nicht an mir liegt. Ob es etwas bringt, das mal in einem VMware-Forum zu pushen? Bis dahin werde ich wohl einfach mit dem Update 2 leben, trotz der Sicherheitslücke.
Mitglied: StefanKittel
StefanKittel 19.05.2022 um 10:00:52 Uhr
Goto Top
Zitat von @IllusionFACTORY:
Kiste läuft und ist SCHNEEEEEEEEEEEEELLL face-smile

Moin,

schnell ist ja immer relativ
https://www.youtube.com/watch?v=5Hxr9k5Vdc4
Mitglied: StefanKittel
StefanKittel 11.09.2022 um 01:06:55 Uhr
Goto Top
Btw. Ich würde da einfach eine Intel Netzwerkkarte reinstecken.
Mitglied: chgorges
chgorges 12.09.2022 um 13:05:40 Uhr
Goto Top
Zitat von @StefanKittel:

Btw. Ich würde da einfach eine Intel Netzwerkkarte reinstecken.

Jo, aber wie schon gesagt, den Murks hat man nur, bzw. muss man nur machen, wenn man die falsche Hardware für ESXi einsetzt.