VMware Cloud Community
fateswebb
Contributor
Contributor
Jump to solution

unable to retrieve path http://10.1.1.2:80//esxinst//VMware/base/netstg2.img

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

  1. Auto-Generated Scripted Install Configuration file.

  2. This file is used for VMware ESX Server Scripted Install Deployment

  1. Installation Method

url --url http://10.1.1.2/esxinst/

  1. root Password

rootpw --iscrypted $1$UJ8HMnOG$teJd2ib2avPZm/C60lQ9i.

  1. Authconfig

auth --enableshadow --enablemd5

  1. BootLoader ( The user has to use grub by default )

bootloader --location=mbr

  1. Timezone

timezone America/Chicago

  1. X windowing System

skipx

  1. Install or Upgrade

install

  1. Text Mode

text

  1. Network install type

network --bootproto dhcp --addvmportgroup=0 --vlanid=1

  1. Language

lang en_US

  1. Langauge Support

langsupport --default en_US

  1. Keyboard

keyboard us

  1. Mouse

mouse none

  1. Reboot after install ?

reboot

  1. Firewall settings

firewall --disabled

  1. Clear Partitions

clearpart --all --initlabel --drives=sda

  1. 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

  1. 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

0 Kudos
1 Solution

Accepted Solutions
admin
Immortal
Immortal
Jump to solution

Hi

First, the port are not supported in the kickstart launch commande so you must setup in consequence your IIS.

View solution in original post

0 Kudos
8 Replies
admin
Immortal
Immortal
Jump to solution

Hi

First, the port are not supported in the kickstart launch commande so you must setup in consequence your IIS.

0 Kudos
espi3030
Expert
Expert
Jump to solution

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".

admin
Immortal
Immortal
Jump to solution

Wish command are you using to lauch the kickstart installation?

0 Kudos
fateswebb
Contributor
Contributor
Jump to solution

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.

0 Kudos
MC-303
Enthusiast
Enthusiast
Jump to solution

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

0 Kudos
espi3030
Expert
Expert
Jump to solution

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.

espi3030
Expert
Expert
Jump to solution

You are correct, I am using II6 in Win2K3.

0 Kudos
fateswebb
Contributor
Contributor
Jump to solution

That is correct, I have it working now, and that was the fix for that. thanks

Richard

0 Kudos