Solved - Cannot PXE Install on VMware Workstation

General support questions
Post Reply
apolonio
Posts: 16
Joined: 2010/04/27 14:05:12
Contact:

Solved - Cannot PXE Install on VMware Workstation

Post by apolonio » 2019/01/16 17:02:51

I have this pxe kickstart environment I use to test build my CentOS boxes as well as some other things. If you need details of the lab network, I make it publicly available.

https://www.apolonio.com/node/124

I wanted my network more portable, so I have built a small form factor box (unfortunately I can only get Windows 10 to run on it for now, that is a question for a later time) and I have VMware workstation player on it. I was able to manually install via ISO a windows 2008r2 box and a centos 7.6.1810.

I took my old pxe/http/kickstart files on a VM the resided on an ESXi host and rebuilt it to this box called BETA.

Here is where it gets weird, from an ESXi VM, I can perform a kickstart build.
And on a physical box (Dell Optiplex) I can perform the same kickstart build.

But from vmware workstation pro 14 and vmworkstation player 15 I get an error
maker-gamma-2019-01-16-08-36-55.png
maker-gamma-2019-01-16-08-36-55.png (21.13 KiB) Viewed 1006 times
I uploaded the entire rdsosreport.txt file from one of my attempts to pastebin
https://pastebin.com/rDZyyYvb

Here is the kickstart file on pastebin
https://pastebin.com/bCgvfhye

Here is the entry for the pxe boot default file

Code: Select all

label server74
        kernel vmlinuz74x64
        append initrd=initrd74x64.img ip=dhcp net.ifnames=0 biosdevname=0 inst.repo=http://192.168.80.11/linux/centos/7/ inst.ks=http://beta.makernet.local/linux/ks/makernetserverguihttp.cfg
Also from the http access logs

When the ESXi VM is being built, it is able to grab the initial files and starts getting its rpms

Code: Select all

192.168.80.107 - - [15/Jan/2019:23:02:03 -0800] "GET /linux/centos/7//.treeinfo HTTP/1.1" 200 354 "-" "curl/7.29.0"
192.168.80.107 - - [15/Jan/2019:23:02:03 -0800] "GET /linux/centos/7//LiveOS/squashfs.img HTTP/1.1" 200 368574464 "-" "curl/7.29.0"
192.168.80.107 - - [15/Jan/2019:23:02:08 -0800] "GET /linux/centos/7//images/updates.img HTTP/1.1" 404 232 "-" "curl/7.29.0"
192.168.80.107 - - [15/Jan/2019:23:02:08 -0800] "GET /linux/centos/7//images/product.img HTTP/1.1" 404 232 "-" "curl/7.29.0"
192.168.80.107 - - [15/Jan/2019:23:02:08 -0800] "GET /linux/ks/makernetserverguihttp.cfg HTTP/1.1" 200 3091 "-" "curl/7.29.0"
192.168.80.181 - - [15/Jan/2019:23:03:54 -0800] "GET /linux/centos/7//.treeinfo HTTP/1.1" 200 354 "-" "curl/7.29.0"
192.168.80.181 - - [15/Jan/2019:23:03:55 -0800] "GET /linux/centos/7//LiveOS/squashfs.img HTTP/1.1" 200 368574464 "-" "curl/7.29.0"
192.168.80.181 - - [15/Jan/2019:23:04:02 -0800] "GET /linux/centos/7//images/updates.img HTTP/1.1" 404 232 "-" "curl/7.29.0"
192.168.80.181 - - [15/Jan/2019:23:04:02 -0800] "GET /linux/centos/7//images/product.img HTTP/1.1" 404 232 "-" "curl/7.29.0"
192.168.80.181 - - [15/Jan/2019:23:04:03 -0800] "GET /linux/ks/makernetserverguihttp.cfg HTTP/1.1" 200 3091 "-" "curl/7.29.0"
192.168.80.181 - - [15/Jan/2019:23:04:24 -0800] "GET /linux/centos/7//.treeinfo HTTP/1.1" 200 354 "-" "urlgrabber/3.10"
192.168.80.181 - - [15/Jan/2019:23:04:25 -0800] "GET /linux/centos/7/repodata/repomd.xml HTTP/1.1" 200 3735 "-" "CentOS (anaconda)/7 yum/3.4.3"
192.168.80.181 - - [15/Jan/2019:23:04:25 -0800] "GET /linux/centos/7//.treeinfo HTTP/1.1" 200 354 "-" "urlgrabber/3.10"
192.168.80.181 - - [15/Jan/2019:23:04:25 -0800] "GET /linux/centos/7/repodata/b686d3a0f337323e656d9387b9a76ce6808b26255fc3a138b1a87d3b1cb95ed5-primary.xml.gz HTTP/1.1" 200 2830583 "-" "CentOS (anaconda)/7 yum/3.4.3"
192.168.80.181 - - [15/Jan/2019:23:04:25 -0800] "GET /linux/centos/7/repodata/9346184be1deb727caf4b1ecf4a7949155da5da74af9b92c172687b290a773df-c7-x86_64-comps.xml.gz HTTP/1.1" 200 159667 "-" "CentOS (anaconda)/7 yum/3.4.3"
192.168.80.181 - - [15/Jan/2019:23:04:25 -0800] "GET /linux/centos/7/repodata/0c34273ad0292747ee5e15c047d3e51c67ca59861a446972db45d71abacc7ad7-primary.sqlite.bz2 HTTP/1.1" 200 6023293 "-" "CentOS (anaconda)/7 yum/3.4.3"
192.168.80.181 - - [15/Jan/2019:23:04:27 -0800] "GET /linux/centos/7//repodata/repomd.xml HTTP/1.1" 200 3735 "-" "urlgrabber/3.10"
192.168.80.107 - - [15/Jan/2019:23:05:38 -0800] "GET /linux/centos/7//.treeinfo HTTP/1.1" 200 354 "-" "curl/7.29.0"
192.168.80.107 - - [15/Jan/2019:23:05:38 -0800] "GET /linux/centos/7//LiveOS/squashfs.img HTTP/1.1" 200 368574464 "-" "curl/7.29.0"
192.168.80.107 - - [15/Jan/2019:23:05:42 -0800] "GET /linux/centos/7//images/updates.img HTTP/1.1" 404 232 "-" "curl/7.29.0"
192.168.80.107 - - [15/Jan/2019:23:05:43 -0800] "GET /linux/centos/7//images/product.img HTTP/1.1" 404 232 "-" "curl/7.29.0"
192.168.80.107 - - [15/Jan/2019:23:05:43 -0800] "GET /linux/ks/makernetserverguihttp.cfg HTTP/1.1" 200 3091 "-" "curl/7.29.0"
192.168.80.181 - - [15/Jan/2019:23:06:17 -0800] "GET /linux/centos/7/Packages/libXext-1.3.3-3.el7.x86_64.rpm HTTP/1.1" 206 9260 "-" "urlgrabber/3.10 yum/3.4.3"
192.168.80.181 - - [15/Jan/2019:23:06:17 -0800] "GET /linux/centos/7/Packages/perl-HTTP-Tiny-0.033-3.el7.noarch.rpm HTTP/1.1" 206 4544 "-" "urlgrabber/3.10 yum/3.4.3"
192.168.80.181 - - [15/Jan/2019:23:06:17 -0800] "GET /linux/centos/7/Packages/smc-fonts-common-6.0-7.el7.noarch.rpm HTTP/1.1" 206 7240 "-" "urlgrabber/3.10 yum/3.4.3"
192.168.80.181 - - [15/Jan/2019:23:06:17 -0800] "GET /linux/centos/7/Packages/basesystem-10.0-7.el7.centos.noarch.rpm HTTP/1.1" 206 3624 "-" "urlgrabber/3.10 yum/3.4.3"
192.168.80.181 - - [15/Jan/2019:23:06:17 -0800] "GET /linux/centos/7/Packages/python2-caribou-0.4.21-1.el7.noarch.rpm HTTP/1.1" 206 12544 "-" "urlgrabber/3.10 yum/3.4.3"
192.168.80.181 - - [15/Jan/2019:23:06:17 -0800] "GET /linux/centos/7/Packages/libosinfo-1.0.0-1.el7.x86_64.rpm HTTP/1.1" 206 27552 "-" "urlgrabber/3.10 yum/3.4.3"
192.168.80.181 - - [15/Jan/2019:23:06:17 -0800] "GET /linux/centos/7/Packages/gnome-packagekit-updater-3.22.1-2.el7.x86_64.rpm HTTP/1.1" 206 7820 "-" "urlgrabber/3.10 yum/3.4.3"
192.168.80.181 - - [15/Jan/2019:23:06:17 -0800] "GET /linux/centos/7/Packages/seahorse-3.20.0-1.el7.x86_64.rpm HTTP/1.1" 206 91560 "-" "urlgrabber/3.10 yum/3.4.3"
192.168.80.181 - - [15/Jan/2019:23:06:17 -0800] "GET /linux/centos/7/Packages/libXrender-0.9.10-1.el7.x86_64.rpm HTTP/1.1" 206 7844 "-" "urlgrabber/3.10 yum/3.4.3"
192.168.80.181 - - [15/Jan/2019:23:06:17 -0800] "GET /linux/centos/7/Packages/libsrtp-1.4.4-10.20101004cvs.el7.x86_64.rpm HTTP/1.1" 206 5720 "-" "urlgrabber/3.10 yum/3.4.3"
192.168.80.181 - - [15/Jan/2019:23:06:17 -0800] "GET /linux/centos/7/Packages/rarian-compat-0.8.1-11.el7.x86_64.rpm HTTP/1.1" 206 10736 "-" "urlgrabber/3.10 yum/3.4.3"
192.168.80.181 - - [15/Jan/2019:23:06:17 -0800] "GET /linux/centos/7/Packages/glade-libs-3.20.0-1.el7.x86_64.rpm HTTP/1.1" 206 55384 "-" "urlgrabber/3.10 yum/3.4.3"
But the box that is failing

Code: Select all

192.168.80.107 - - [16/Jan/2019:08:54:53 -0800] "GET /linux/centos/7//.treeinfo HTTP/1.1" 200 354 "-" "curl/7.29.0"
192.168.80.107 - - [16/Jan/2019:08:54:53 -0800] "GET /linux/centos/7//LiveOS/squashfs.img HTTP/1.1" 200 368574464 "-" "curl/7.29.0"
192.168.80.107 - - [16/Jan/2019:08:54:55 -0800] "GET /linux/centos/7//images/updates.img HTTP/1.1" 404 232 "-" "curl/7.29.0"
192.168.80.107 - - [16/Jan/2019:08:54:55 -0800] "GET /linux/centos/7//images/product.img HTTP/1.1" 404 232 "-" "curl/7.29.0"
192.168.80.107 - - [16/Jan/2019:08:54:56 -0800] "GET /linux/ks/makernetserverguihttp.cfg HTTP/1.1" 200 3106 "-" "curl/7.29.0"
It just stops after it gets the kickstart config file.

Hopefully someone can help me translate what I am missing here.
Last edited by apolonio on 2019/01/16 17:49:53, edited 1 time in total.

User avatar
TrevorH
Site Admin
Posts: 33218
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Cannot PXE Install on VMware Workstation

Post by TrevorH » 2019/01/16 17:04:34

No space on device usually indicates that the ram disk it's using to unpack the initramfs file is not large enough. How much RAM does this VM have? A minimum of at least 1280MB is required and it's safer to use 2GB.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

apolonio
Posts: 16
Joined: 2010/04/27 14:05:12
Contact:

Re: <SOLVED> Cannot PXE Install on VMware Workstation

Post by apolonio » 2019/01/16 17:37:36

That was it

I gave it 1GB of RAM on the vmware workstation, which is the default settings
2019-01-16_9-27-03.jpg
2019-01-16_9-27-03.jpg (33.5 KiB) Viewed 994 times
For an ESXi VM it is 2GB
2019-01-16_9-27-03.jpg
2019-01-16_9-27-03.jpg (33.5 KiB) Viewed 994 times
I up'd it to 2GB and it works.

I recall building a CentOS 7 box with as low as 512MB and dropping it down after the build to 256MB from a CD ISO, but I think you are correct, the kickstart and pxe boot consumes some ram and needs to be taken in to consideration.
Attachments
2019-01-16_9-23-35.jpg
2019-01-16_9-23-35.jpg (68.14 KiB) Viewed 994 times

Post Reply