Post Reply 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
The Definitive Guide to Installing ESXi using iPXE...
2019-01-15, 20:08
Post: #12
RE: The Definitive Guide to Installing ESXi using iPXE...
I successfully booted 6.7.0 with iPXE using this method below.


I was looking for the `kernel` line to pass to iPXE so that I could boot ESXi-6.7.0. User `dontlook` found this page for me which shows the correct lines used to boot the ESXi kernel using iPXE.

kernel http://repo/esx/ESXI-6.7.0/os/mboot.c32 -c http://ipxe/esxi-6.7.0.php
goto main

Also on that page is a boot.cfg. You must remove all the `/` characters from the boot.cfg that comes with your install media, and add the `prefix=` line which will prepend your server to each lookup for the kernel modules.

I booted, but had a problem like this one here, but THIS VMWARE COMMUNITY POST IS A RED HERRING. All I had to do was add the `netdevice=vmnic<N>` to the `kernelopt=` and it solved the issue "There was a problem with the Network Device specified on the command line. Error: No NIC found with MAC address."

title=esxi 6.7.0 - I find your lack of faith disturbing.
kernelopt=cdromBoot runweasel netdevice=vmnic0 ks=http://ipxe/vmware-ks.php
modules= ... remove the '/' that prepends each of these modules ...

The content of my `vmware-ks.php` file is here

# Sample scripted installation file
rootpw --iscrypted $password
install --firstdisk --overwritevmfs
network --bootproto=dhcp --device=vmnic0

Then I finally booted but still had trouble with my password. I used the password.

rootpw Password123!@#

That password has a hash at the end, and I'm afraid that the hash made the password fail whenever I tried to log in.

So I tried encrypting the password, and mixing the location of the hash. I used this page to help me with how to generate the password.

bash$ openssl passwd -1 P#ssword123

Then back in the kickstart file, change the password line like so

rootpw $1$1lyb51Fp$e13aQCVYaRpICJnEWoL9n1

I can now log in.
Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
RE: The Definitive Guide to Installing ESXi using iPXE... - activedecay - 2019-01-15 20:08

User(s) browsing this thread: 1 Guest(s)