Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jun 2000 12:27:55 -0400 (EDT)
From:      Andrew Gallatin <gallatin@cs.duke.edu>
To:        Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
Cc:        freebsd-emulation@freebsd.org
Subject:   Re: VMware: plaindisk problem
Message-ID:  <14662.24354.719416.636844@grasshopper.cs.duke.edu>
In-Reply-To: <ybsln09v9qo.wl@ett.sat.t.u-tokyo.ac.jp>
References:  <14645.58338.373097.99462@grasshopper.cs.duke.edu> <ybsln09v9qo.wl@ett.sat.t.u-tokyo.ac.jp>

next in thread | previous in thread | raw e-mail | index | archive | help

Hidetoshi Shimokawa writes:
 > I have no luck with plain disk too.
 > I suspect that each subdisk of plain disk must be less than 2GB
 > because those subdisk is a file and linux has 2GB file size limit.

Actually, thanks to a lot of help from Nick, I managed to get it
working on a 9GB Seagate SCSI disk.

 > BTW, does anyone figure out why we can't use raw disk with vmware2?
 > Is it because vmware2 accesses mbr ignoring 512byte boundary?

I'd like to know the answer to this too!

What I did was:

- low-level format the scsi disk I was using (using camcontrol) to
blow away partition table totally (overkill, yes..)

- unplug SCSI disk I normally boot FreeBSD from

- install Windows 2000 to get the disk partitioned properly & to get a
FAT filesystem onto it

- re-attach FreeBSD boot disk

- Create mbr file: dd if=/dev/rda1 bs=1b count=63 of=disk.mbr

- Create plain disk file:

DRIVETYPE       scsi
CYLINDERS   1106
HEADS        255
SECTORS       63
ACCESS "/home/home1/gallatin/.vmware/disk.mbr" 0 63
ACCESS "/dev/rda1s1" 63 17767827


- Create W2K config file:
------------------------------------------------------------
#!/usr/local/lib/vmware/bin/vmware

config.version = "2"

# CD-ROM
ide1:0.present = TRUE
ide1:0.fileName = "/dev/rcd0c"
ide1:0.deviceType = "atapi-cdrom"
ide1:0.startConnected = TRUE

# Floppy
floppy0.present = TRUE
floppy0.fileName = "/tmp/windows.flp"
floppy0.startConnected = FALSE

# Networked to host only subnet 
ethernet0.present = TRUE
ethernet0.connectionType = "hostOnly"
# Memory size
memsize = 128

# Nvram
nvram = "/vmware/win2000/win2000.nvram"

# Log file
log.fileName = "/vmware/win2000/win2000.log"

# Hints
guestOS = "win2000"

# SVGA
PciSvgaDynamic = TRUE

tools.remindInstall = FALSE

floppy0.fileType = "file"

mouse.hostType = "PS/2"
mouse.fileName = "/dev/sysmouse"

scsi0:0.present = TRUE
scsi0:0.deviceType = "plainDisk"
scsi0:0.fileName = "/home/home5/chase/.vmware/plain"
scsi0.present = TRUE

sound.present = TRUE
sound.device = "/dev/dsp"

#eof
------------------------------------------------------------

- Boot W2k from CD inside vmware

- Install W2K onto the plain disk (scsi 0) using the pre-existing fat
filesystem 

- boot W2K


Hope this helps you!

Cheers,

Drew
------------------------------------------------------------------------------
Andrew Gallatin, Sr Systems Programmer	http://www.cs.duke.edu/~gallatin
Duke University				Email: gallatin@cs.duke.edu
Department of Computer Science		Phone: (919) 660-6590




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-emulation" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14662.24354.719416.636844>