I am trying to accomplish a pxe boot/scripted install from http.
I have gotten it to boot from a win2000 pxe/dhcp server, and start the esx 3.5 install from the http server... however it stops at the error unable to retrieve path http://10.1.1.2:80//esxinst//VMware/base/netstg2.img
Here is my ks.cfg
Auto-Generated Scripted Install Configuration file.
This file is used for VMware ESX Server Scripted Install Deployment
Installation Method
url --url http://10.1.1.2/esxinst/
root Password
rootpw --iscrypted $1$UJ8HMnOG$teJd2ib2avPZm/C60lQ9i.
Authconfig
auth --enableshadow --enablemd5
BootLoader ( The user has to use grub by default )
bootloader --location=mbr
Timezone
timezone America/Chicago
X windowing System
skipx
Install or Upgrade
install
Text Mode
text
Network install type
network --bootproto dhcp --addvmportgroup=0 --vlanid=1
Language
lang en_US
Langauge Support
langsupport --default en_US
Keyboard
keyboard us
Mouse
mouse none
Reboot after install ?
reboot
Firewall settings
firewall --disabled
Clear Partitions
clearpart --all --initlabel --drives=sda
Partitioning
part /boot --fstype ext3 --size 250 --ondisk sda
part / --fstype ext3 --size 5120 --ondisk sda
part swap --size 544 --ondisk sda
part /var --fstype ext3 --size 4096 --ondisk sda
part None --fstype vmkcore --size 100 --ondisk sda
part /tmp --fstype ext3 --size 1024 --ondisk sda
part /opt --fstype ext3 --size 2048 --ondisk sda
part /home --fstype ext3 --size 1024 --ondisk sda
part --fstype vmfs3 --size 1 --grow --ondisk sda
VMware Specific Commands
vmaccepteula
vmlicense --mode=server --server=27000@10.1.1.135 --edition=esxFull
%packages
@base
%post
%vmlicense_text
The file is in the path refrenced in the error, of course it somehow has extra slashes in the error... but even if I try and download the file with the extra slashes in a web browser I can download it fine. also the cd files are on the same server as the ks.cfg, so I know it has access to them, besides it is IN the SETUP program it download from that same site.. I have also tried it with
network --bootproto dhcp --addvmportgroup=0 --vlanid=0
instead of
network --bootproto dhcp --addvmportgroup=0 --vlanid=1
but it did the exact same thing...
I am lost as to what to do next, has anyone seen this problem? does anyone have an idea of what I can do to fix this?
Thanks a ton.
Richard
Hi
First, the port are not supported in the kickstart launch commande so you must setup in consequence your IIS.
Hi
First, the port are not supported in the kickstart launch commande so you must setup in consequence your IIS.
Richard,
I get the same message with my scripted install, but mine just keeps going it does not halt. What are the MIME settings set to for ".img"? I had to manually add that, I set it to "Disk Image".
Wish command are you using to lauch the kickstart installation?
I think you fixed it, I removed the :80 from the ks.cfg, and now I am getting a new error, but it appears I got past that part. THANKS
Now I am getting
valueError: partition command requires one anonymous argument.. so now I am off to troubleshoot that!
Thanks.
For IIS5 win2000 you don't need to add the mime type if you're using IIS6 win2003 you need to add the mime type application/octet-stream extension .*
When the install is running you can try ALT-F3 and ALT-F4 you will see some extra info
Richard,
I compared the partitioning section from your KS file with mine and here are the differences:
Yours is BLUE mine is RED
part /boot --fstype ext3 --size 250 --ondisk sda part /boot --fstype ext3 --size 100 --ondisk sda
part / --fstype ext3 --size 5120 --ondisk sda part / --fstype ext3 --size 4824 --ondisk sda
part swap --size 544 --ondisk sda part swap --size 544 --ondisk sda
part /var --fstype ext3 --size 4096 --ondisk sda part /var/log --fstype ext3 --size 1456 --grow --ondisk sda
part None --fstype vmkcore --size 100 --ondisk sda part None --fstype vmkcore --size 100 --ondisk sda
part --fstype vmfs3 --size 1 --grow --ondisk sda part None --fstype vmfs3 --size 2100 --grow --ondisk sda
part /tmp --fstype ext3 --size 1024 --ondisk sda part /opt --fstype ext3 --size 2048 --ondisk sda part /home --fstype ext3 --size 1024 --ondisk sda
The only difference is in the last line that we both have in common, I have "None". And if I recall correctly I had a similar issue that mentioned something about a "Label", hope this helps.
You are correct, I am using II6 in Win2K3.
That is correct, I have it working now, and that was the fix for that. thanks
Richard