Subject: vmware 2.04 and raw disks
To: None <current-users@netbsd.org>
From: Leo Weppelman <leo@wau.mis.ah.nl>
List: current-users
Date: 11/06/2002 09:11:46
I have x86 pc here on my desk that has w2000 installed on the first
partition and NetBSD on the 3rd. I made a virtual machine config with
vmware that tells it to have a w2000 machine on the raw disk /dev/hda.
When I try to power-up the virtual machine I get an error:
Failed to open rawdisk /dev/hda: Value too large for defined
data type. Failed to configure ide0:0.
Does anybody have an idea what the problem is? Or the workaround ;-)
Leo.
The system is running NetBSD-1.6.
Output from fdisk:
Disk: wd0d
NetBSD disklabel disk geometry:
cylinders: 16383 heads: 16 sectors/track: 63 (1008 sectors/cylinder)
BIOS disk geometry:
cylinders: 1023 heads: 255 sectors/track: 63 (16065 sectors/cylinder)
Partition table:
0: sysid 7 (OS/2 HPFS or NTFS or QNX2 or Advanced UNIX)
start 63, size 8193087 (4000 MB), flag 0x0
beg: cylinder 0, head 1, sector 1
end: cylinder 509, head 254, sector 63
1: sysid 6 (Primary 'big' DOS, 16-bit FAT (> 32MB))
start 8193213, size 4176837 (2039 MB), flag 0x0
beg: cylinder 510, head 1, sector 1
end: cylinder 769, head 254, sector 63
2: sysid 169 (NetBSD)
start 12370050, size 26732286 (13052 MB), flag 0x80
beg: cylinder 770, head 0, sector 1
end: cylinder 1022, head 254, sector 63
3: <UNUSED>
/emul/linux/root/vmware/win2000/win2000.hda:
DEVICE /dev/hda
# Partition type: MBR
RDONLY 0 62
# Partition type: OS/2 HPFS
ACCESS 63 8193149
# Partition type: DOS 16-bit >=32M
ACCESS 8193213 12370049
# Partition type: Unknown
NO_ACCESS 12370050 39102335