hi,

On Tue, Oct 19, 2004 at 08:29:39AM +0100, Urs Rau wrote:
> It would sure be nice and convenient for the testing of unattended if
> the linux boot disk problems, preventing it from booting under vmware
> 4.5.x would be solved.
> Has anybody had success in that department?

I have a workaround for this: use qemu (at least for the linux portion)
qemu -hda diskimage -macaddr 00:0c:29:45:82:c9 -kernel linuxboot/tftpboot/bzImage 
-initrd linuxboot/tftpboot/initrd -append 'z_user=xxx z_pass=xxxxxx 
z_path=//192.168.42.1/unattended'

my /etc/qemu-ifup is:
#!/bin/sh
sudo /sbin/ifconfig $1 192.168.42.1
sudo /etc/init.d/dhcp3-server restart

(note that my vmnet1 device is not up while running qemu)

After the linux setup is done, I switch over to vmware.
That means first starting vmnet1 again, another restart for dhcp3,
and then using the attached vmdk as disk for the vm. Be sure to
edit the path and the Cylinder Count. The number in front of the path
is Cylinder*255*63

"diskimage" is a sparse file of C*63*255*512 bytes (where C is the
cylinder count). Best created with:
dd if=/dev/zero bs=512 count=1 seek=$((C*63*255 - 1)) of=diskimage

btw. using vmware-vdiskmanager you can convert this image to a regular
vmware diskimage.

cu
maurice
# Disk DescriptorFile
version=1
CID=fffffffe
parentCID=ffffffff
createType="monolithicFlat"

# Extent description
RW 11261565 FLAT "/path-to/unattended/diskimage" 0

# The Disk Data Base 
#DDB

ddb.virtualHWVersion = "3"
ddb.geometry.cylinders = "701"
ddb.geometry.heads = "255"
ddb.geometry.sectors = "63"
ddb.geometry.biosCylinders = "701"
ddb.geometry.biosHeads = "255"
ddb.geometry.biosSectors = "63"
ddb.adapterType = "ide"
ddb.toolsVersion = "5184"

Reply via email to