varazir / mkesxiaio

Automatically exported from code.google.com/p/mkesxiaio
1 stars 0 forks source link

line 1400: 512*: syntax error: operand expected (error token is "*") #9

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Select Version 4.1 (3)
2. Select ISO Installation (1)
3. Press Enter when asked

What is the expected output? What do you see instead?
You should see the message "... [DONE]

What version of the product are you using? On what operating system? The file 
name of the iso file used ?
OS:     CentOS 5.6 (Final)
Kernel: 2.6.18-238.9.1.el5

Please provide any additional information below.
Please contact me if u need more information.

Creating /home/mlander/VMware/esx-oem/sbin      [Done]
Downloading http://www.vm-help.com/esx/esx3i/Enable_FTP/wget to 
/home/mlander/VMware/esx-oem/sbin       [Done]
Downloading http://www.vm-help.com/esx/esx3i/Enable_FTP/rsync to 
/home/mlander/VMware/esx-oem/sbin      [Done]
Downloading 
http://thebsdbox.co.uk/wp-content/uploads/2010/08/sftp-server.tar.gz to 
/home/mlander/VMware/esx-ftp/       [Done]
Untar sftp-server.tar.gz to /home/mlander/VMware/esx-oem/sbin   [Done]
Downloading http://www.vm-help.com/esx/esx3i/ftp/proftpd.zip to 
/home/mlander/VMware/esx-ftp    [Done]
Copy the proftpd.conf to /home/mlander/VMware/esx-oem/etc       [Done]
Copy the proftpd to /home/mlander/VMware/esx-oem/sbin   [Done]
Copy the tcpd to /home/mlander/VMware/esx-oem/sbin      [Done]
Do you like to edit /home/mlander/VMware/esx-oem/etc/proftpd.conf ?  [y/N] 
bunzip2 imagedd.bz2     [Done]
Mounting imagedd to /home/mlander/VMware/esx-5mkesxiaio_4.3.1.sh: line 1400: 
512*: syntax error: operand expected (error token is "*")

Original issue reported on code.google.com by lama...@gmx.de on 10 May 2011 at 9:17

GoogleCodeExporter commented 9 years ago
I run the script with the ubuntu start CD, then it works perfect.

Thanks for the great script :-)

Original comment by lama...@gmx.de on 16 May 2011 at 3:51

GoogleCodeExporter commented 9 years ago
Same issue, same configuration, except with create USB Install option.

Original comment by bole...@gmail.com on 24 May 2011 at 7:19

GoogleCodeExporter commented 9 years ago
Not sure what the issue is, it shows up in line 1400 (second line below):

func_text_green "Mounting $dd_file to $install_path/${array_work_dir[4]}"
    mount -o loop,offset=$(($sector*$number)) $dd_file $install_path/${array_work_dir[4]}/                              #   Mounting the 5th partition of the DD file to esx-5
    func_text_done

Looks like $sector must be defined, wondering if $number is not getting 
populated by line 1395, but afraid I'm too time constrained to look further.  

Suspicious that the original issue is running CentOS as well.

Original comment by bole...@gmail.com on 24 May 2011 at 7:57

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Ya the problem is often langue or OS. 
I use fdisk to get the value for that variable 

Original comment by daniel.s...@gmail.com on 30 May 2011 at 4:44