View unanswered posts | View active topics It is currently Wed May 22, 2013 4:49 pm



Reply to topic  [ 17 posts ]  Go to page 1, 2  Next
 Small problem with mkesxiaio_4.3.1.sh 
Author Message

Joined: Sat Jul 23, 2011 8:49 am
Posts: 31
Location: Karlskoga, Sweden.
Post Small problem with mkesxiaio_4.3.1.sh
I've tried all modes, but I can't get the USB Installation modes to work..
ISO Installation - Works very good.
USB Installation - Fails when writing to the USB flash.
USB Boot- Works fine.

Same goes for the USB modes without custom files.

I use a 8GB USB stick which is formatted with FAT32 and reformatted before every try to run the mkesxiaio script.
The script completes all steps up to writing, and then it fails.
When I check the stick, there is one file written, the ldlinux.sys file and its size is 14.1kB, nothing more is written before the script exits.

_________________
Anders Norrbring
MCNE, NCLE, MCITP, CCNP, CCDP.


Wed Aug 10, 2011 12:15 am
Profile

Joined: Wed Mar 18, 2009 1:32 pm
Posts: 451
Location: Sweden
Post Re: Small problem with mkesxiaio_4.3.1.sh
Strange, can you try to copy the files manually ?
You can find them under the save/ dir.

_________________
Dovie'andi se tovya sagain,



Wed Aug 10, 2011 8:49 am
Profile WWW

Joined: Sat Jul 23, 2011 8:49 am
Posts: 31
Location: Karlskoga, Sweden.
Post Re: Small problem with mkesxiaio_4.3.1.sh
Varazir wrote:
Strange, can you try to copy the files manually ?
You can find them under the save/ dir.

Here's the results... :-)

First the partition, all clean:
Code:
# parted /dev/sdb print
Model: SanDisk Cruzer Blade (scsi)
Disk /dev/sdb: 8000MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start  End     Size    Type     File system  Flags
 1      512B   8000MB  8000MB  primary  fat32        boot, , , , , , lba, , , type=0c, ,


And the result from the script:
Code:
Using /dev/sdb1
Do you really like to continue with this ? [y/N] y
Information: You may need to update /etc/fstab.

        [Done]
Mounting the /dev/sdb1 to /store1/Archives/Apps/VMware/ESXi/build/esx-usb/      [Fail]

The script failed for som reason,
 if you can't solve it your self please make a post on http://vm-help.com/forum
My guess is that the script mounted the partition already to copy ldlinux.sys??

I mounted it to check what was on:
Code:
ll /mnt
total 16
-r-xr-xr-x 1 root root 14501 Aug 10  2011 ldlinux.sys


And finally, the result from a manual copy:
Code:
# cp -av VMware_esxi_custom_4.1_oem.usb/* /mnt
`VMware_esxi_custom_4.1_oem.usb/README.txt' -> `/mnt/README.txt'
`VMware_esxi_custom_4.1_oem.usb/SYSlinux.cfg' -> `/mnt/SYSlinux.cfg'
`VMware_esxi_custom_4.1_oem.usb/a.z' -> `/mnt/a.z'
`VMware_esxi_custom_4.1_oem.usb/boot.cat' -> `/mnt/boot.cat'
`VMware_esxi_custom_4.1_oem.usb/cim.vgz' -> `/mnt/cim.vgz'
`VMware_esxi_custom_4.1_oem.usb/cimstg.tgz' -> `/mnt/cimstg.tgz'
`VMware_esxi_custom_4.1_oem.usb/cisco_n1k' -> `/mnt/cisco_n1k'
`VMware_esxi_custom_4.1_oem.usb/ienviron.vgz' -> `/mnt/ienviron.vgz'
`VMware_esxi_custom_4.1_oem.usb/imagedd.bz2' -> `/mnt/imagedd.bz2'
`VMware_esxi_custom_4.1_oem.usb/imagedd.md5' -> `/mnt/imagedd.md5'
`VMware_esxi_custom_4.1_oem.usb/install.vgz' -> `/mnt/install.vgz'
`VMware_esxi_custom_4.1_oem.usb/mboot.c32' -> `/mnt/mboot.c32'
`VMware_esxi_custom_4.1_oem.usb/menu.c32' -> `/mnt/menu.c32'
`VMware_esxi_custom_4.1_oem.usb/oem.tgz' -> `/mnt/oem.tgz'
`VMware_esxi_custom_4.1_oem.usb/open_source_licenses.txt' -> `/mnt/open_source_licenses.txt'
`VMware_esxi_custom_4.1_oem.usb/sys.vgz' -> `/mnt/sys.vgz'
`VMware_esxi_custom_4.1_oem.usb/tboot.gz' -> `/mnt/tboot.gz'
`VMware_esxi_custom_4.1_oem.usb/vmkboot.gz' -> `/mnt/vmkboot.gz'
`VMware_esxi_custom_4.1_oem.usb/vmkernel.gz' -> `/mnt/vmkernel.gz'

_________________
Anders Norrbring
MCNE, NCLE, MCITP, CCNP, CCDP.


Wed Aug 10, 2011 10:34 am
Profile

Joined: Sat Jul 23, 2011 8:49 am
Posts: 31
Location: Karlskoga, Sweden.
Post Re: Small problem with mkesxiaio_4.3.1.sh
Update, the USB doesn't boot after the manual copy. Seems like ldlinux.sys is corrupted, I only got a short string with high ASCII characters, then a system hang.
I'll reformat, manually run syslinux and the retry the copy of files.

EDIT: No joy whatsoever.. I guess it's back to CD/RW then..

_________________
Anders Norrbring
MCNE, NCLE, MCITP, CCNP, CCDP.


Wed Aug 10, 2011 10:53 am
Profile

Joined: Wed Mar 18, 2009 1:32 pm
Posts: 451
Location: Sweden
Post Re: Small problem with mkesxiaio_4.3.1.sh
which linux dist do you use ?

There is a bug in newer syslinux 4.x . '
syslinux 3.x works.

The error you get is that a file is corrupted :(

when you plugin in the usb device, please check that that it's not mounted.
if so un-mount it and run the script. Could be the problem.

_________________
Dovie'andi se tovya sagain,



Thu Aug 11, 2011 9:57 am
Profile WWW

Joined: Sat Jul 23, 2011 8:49 am
Posts: 31
Location: Karlskoga, Sweden.
Post Re: Small problem with mkesxiaio_4.3.1.sh
Varazir wrote:
which linux dist do you use ?

There is a bug in newer syslinux 4.x . '
syslinux 3.x works.

The error you get is that a file is corrupted :(

when you plugin in the usb device, please check that that it's not mounted.
if so un-mount it and run the script. Could be the problem.


I'll see if I can hunt down an older syslinux then.. ;-) I mainly use openSUSE 11.3 and 11.4.. Rather recent releases, but I'm sure I can get hold of an older version..
I've checked each try that it's not mounted, and I don't use any automount features at all..

_________________
Anders Norrbring
MCNE, NCLE, MCITP, CCNP, CCDP.


Thu Aug 11, 2011 10:03 am
Profile

Joined: Sat Jul 23, 2011 8:49 am
Posts: 31
Location: Karlskoga, Sweden.
Post Re: Small problem with mkesxiaio_4.3.1.sh
Just checked my build system, I have syslinux-3.63-44.11 on that box..

_________________
Anders Norrbring
MCNE, NCLE, MCITP, CCNP, CCDP.


Thu Aug 11, 2011 10:16 am
Profile

Joined: Wed Mar 18, 2009 1:32 pm
Posts: 451
Location: Sweden
Post Re: Small problem with mkesxiaio_4.3.1.sh
as far as I know that version should work . you can try to copy the files and run the command manually .

Rename the file isolinux.cfg to SYSlinux.cfg
Remove isolinux.bin

unmount the device

syslinux /dev/sdb1

_________________
Dovie'andi se tovya sagain,



Fri Aug 12, 2011 1:11 pm
Profile WWW

Joined: Sat Jul 23, 2011 8:49 am
Posts: 31
Location: Karlskoga, Sweden.
Post Re: Small problem with mkesxiaio_4.3.1.sh
Varazir wrote:
as far as I know that version should work . you can try to copy the files and run the command manually .

Rename the file isolinux.cfg to SYSlinux.cfg
Remove isolinux.bin

unmount the device

syslinux /dev/sdb1


No joy...
Here's the content on the stick:
Code:
-rwxr-xr-x 1 root root      2889 Aug 13 16:32 README.txt
-rwxr-xr-x 1 root root       310 Aug 13 16:32 SYSlinux.cfg
-rwxr-xr-x 1 root root     11225 Aug 13 16:32 a.z
-rwxr-xr-x 1 root root      2048 Aug 13 16:32 boot.cat
-rwxr-xr-x 1 root root  16117816 Aug 13 16:32 cim.vgz
-rwxr-xr-x 1 root root   1163276 Aug 13 16:32 cimstg.tgz
drwxr-xr-x 2 root root      4096 Aug 13 16:32 cisco_n1k
-rwxr-xr-x 1 root root   7366112 Aug 13 16:32 ienviron.vgz
-rwxr-xr-x 1 root root 309146606 Aug 13 16:32 imagedd.bz2
-rwxr-xr-x 1 root root        74 Aug 13 16:32 imagedd.md5
-rwxr-xr-x 1 root root    970939 Aug 13 16:32 install.vgz
-r-xr-xr-x 1 root root     14501 Aug 13  2011 ldlinux.sys
-rwxr-xr-x 1 root root     47404 Aug 13 16:32 mboot.c32
-rwxr-xr-x 1 root root     51020 Aug 13 16:32 menu.c32
-rwxr-xr-x 1 root root    335850 Aug 13 16:32 oem.tgz
-rwxr-xr-x 1 root root   1964115 Aug 13 16:32 open_source_licenses.txt
-rwxr-xr-x 1 root root  72665246 Aug 13 16:32 sys.vgz
-rwxr-xr-x 1 root root     41155 Aug 13 16:32 tboot.gz
-rwxr-xr-x 1 root root     48339 Aug 13 16:32 vmkboot.gz
-rwxr-xr-x 1 root root   2478795 Aug 13 16:32 vmkernel.gz

_________________
Anders Norrbring
MCNE, NCLE, MCITP, CCNP, CCDP.


Sat Aug 13, 2011 6:44 am
Profile

Joined: Wed Mar 18, 2009 1:32 pm
Posts: 451
Location: Sweden
Post Re: Small problem with mkesxiaio_4.3.1.sh
When you try to boot the USB you get msg that files are corrupted ?

_________________
Dovie'andi se tovya sagain,



Sun Aug 14, 2011 12:50 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 17 posts ]  Go to page 1, 2  Next

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.