Date: Wed, 24 May 2000 21:58:56 -0700 From: Nick Sayer <nsayer@quack.kfu.com> To: frank@exit.com, freebsd-emulation@freebsd.org Subject: Re: VMware 2.0 problems. Message-ID: <392CB310.A0A1AEAF@quack.kfu.com> References: <200005250057.RAA06561@realtime.exit.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Frank Mayhar wrote: > > Has anyone gotten VMware 2.0 to work on a 4.0-stable SCSI system? I've > beaten my head against this wall again and again and I'm about to give > up. I _really_ want to run this software, but this is ridiculous. > > My VMware configuration: > > No IDE. > SCSI 0:0 Plain Disk, contents: > DRIVETYPE scsi > CYLINDERS 1115 > HEADS 255 > SECTORS 63 > ACCESS "/home/frank/vmware/win98/disk.mbr" 0 63 > ACCESS "/dev/da0s1a" 0 6297417 This should be ACCESS "/dev/da0s1" 63 6297417 The two numbers are start and length. You may be screwed if the SCSI geometry that shows up in the guest is not the same as the numbers you quote in the .hd file. If they're not the same, Winblows type OSes for sure won't boot. Also, be sure that the disk.mbr file actually has the right contents. You can make it with dd if=/dev/da0 bs=1b count=63 of=disk.mbr The mbr is actually only the first sector, but on my disk the first partition, which is the space covered by the /dev/da0s1 device, started at 63 blocks in. Your mileage may vary. The actual algorithm for doing this is to use FreeBSD's fdisk command to find out which block ranges the different raw slice devices occupy. You then fill the rest of the space either with a local "mbr" file or with /dev/null. The idea is that you use the raw slice devices along with your own local copy of the mbr (usually the FreeBSD bootloader) to build the "plain disk" view. Partitions that you don't want to see can be substituted with /dev/null. > RDONLY "/dev/null" 6297480 11614995 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?392CB310.A0A1AEAF>