Subject: Re: vmware 2.04 and raw disks
To: Eric Haszlakiewicz <erh@nimenees.com>
From: Leo Weppelman <leo@wau.mis.ah.nl>
List: current-users
Date: 11/06/2002 21:09:31
On Wed, Nov 06, 2002 at 10:36:42AM -0600, Eric Haszlakiewicz wrote:
> On Wed, Nov 06, 2002 at 09:11:46AM +0100, Leo Weppelman wrote:
> > /emul/linux/root/vmware/win2000/win2000.hda:
> > DEVICE /dev/hda
> 	Try changing this to /dev/wd0d (assuming it wants the device for the
> whole disk and not just the windows partition), or add a link from
> /emul/linux/dev/hda to /dev/wd0d.

This is already the case:

 leo> ls -l /emul/linux/dev/hda
 lrwxr-xr-x  1 root  wheel  9 Nov  4 12:26 /emul/linux/dev/hda -> /dev/wd0d

Also changing the device in the win2000.hda file to /dev/wd0d does not
help. The funny thing is the the wizard understands /dev/hda, it is the
wizard that correctly creates the win2000.hda file.

Using ktrace on vmware reveals that it complains right after it tries to
read the sector with the NetBSD disklabel (I _assume_ this since the word
'mydisk' near the start of that sector ;-). Right before that it reads the
MBR.

Leo.