Quantcast
Channel: VMware Communities : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 178257

Problems with scripted install

$
0
0

 

Hello everyone,

 

 

 

 

 

   I just started studying for my VCP about a week ago.  I have come across one problem; I am completely stumped.  I am attempting to perform a scripted installation via a usb device using the ks.cfg.  Below is the error I am getting.

 

 

Parted couldn't open device /dev/sda.  Skipping lun.  /mnt/usbdisk/ks.cfg:line 9: The specified URL is malformed.  Installation aborted.

 

 

When I run the install I select ESX scripted install using ks.cfg. I leave the boot options on the default; see below for boot options.

 

 

Boot Options initrd=initrd.img debugLogToSerial=1 mem=512M ks=usb quiet

 

 

Below is the contents of my ks.cfg. Your help is greatly appreciated!!!!

 

 

#root Password

rootpw test

# BootLoader (Use grub by default.)

bootloader --location=mbr

# Timezone

timezone America/Los_Angeles --utc

#Install

install cdrom

#Network install type

+ --bootproto=static --ip=172.16.1.4+

--netmask=255.255.0.0 --gateway=172.16.1.1

--hostname=esx3 --nameserver=172.16.1.1

--vlanid=0

#Keyboard

keyboard us

#Reboot after install?

reboot

# Clear partitions

clearpart --firstdisk

# Partitioning

part /boot --fstype=ext3 --size= --onfirstdisk

part storage1 --fstype=vmfs3 --size=10000 --grow --onfirstdisk

part None --fstype=vmkcore --size=100 --onfirstdisk

# Create the vmdk on the cos vmfs partition.

virtualdisk cos --size=5000 --onvmfs=storage1

# Partition the virtual disk.

part / --fstype=ext3 --size=0 --grow --onvirtualdisk=cos

part swap --fstype=swap --size=256 --onvirtualdisk=cos

#VMware Specific Commands

accepteula

 

 

 


Viewing all articles
Browse latest Browse all 178257

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>