From owner-freebsd-emulation Wed Mar 29 17: 6:52 2000 Delivered-To: freebsd-emulation@freebsd.org Received: from guardian.sftw.com (guardian.sftw.com [209.157.37.25]) by hub.freebsd.org (Postfix) with ESMTP id 7D49537BEEC for ; Wed, 29 Mar 2000 17:06:48 -0800 (PST) (envelope-from nsayer@sftw.com) Received: from yoda.sftw.com (yoda.sftw.com [209.157.37.211]) by guardian.sftw.com (8.9.3/8.9.3) with ESMTP id RAA72350 for ; Wed, 29 Mar 2000 17:06:47 -0800 (PST) (envelope-from nsayer@sftw.com) Received: from sftw.com (localhost [127.0.0.1]) by yoda.sftw.com (8.9.3/8.9.3) with ESMTP id RAA06364 for ; Wed, 29 Mar 2000 17:06:47 -0800 (PST) (envelope-from nsayer@sftw.com) Message-ID: <38E2A8A6.21221B6C@sftw.com> Date: Wed, 29 Mar 2000 17:06:46 -0800 From: Nick Sayer Reply-To: nsayer@kfu.com X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-emulation@freebsd.org Subject: vmware 2.0 raw disk workaround -- plain disks Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I am _THIS_ close to getting my NT partition to boot again under vmware 2.0. Here's what I've done. Instead of using a raw disk setup, I have created a plain disk setup using a FreeBSD raw device as one of the files. Here's how. My IDE disk shows up to fdisk(8) as a 1027c/255h/63s disk. NT is starts at sector 63 and is 4192902 sectors long. I created an 'nt4.hd' plain disk setup file containing this: DRIVETYPE ide CYLINDERS 261 HEADS 255 SECTORS 63 ACCESS "/home/vmware/mbr" 0 63 ACCESS "/dev/rad0s1" 63 4192902 To create "mbr", you dd a 32256 file from /dev/zero (63 sectors), use vnconfig to turn it into a device, then run fdisk on it with -B and -i. Tell it the geometry in the plain disk file. This setup boots and gets me into loading NT before it blue screens because it wants my boot device to be IDE. However.... When I hook this same disk up as the IDE primary master, it just hangs and I never even see the NT boot menu come up. I suspect the guest machine BIOS can't deal with the phony geometry I've set up, and attempting to change the geometry fails miserably. But this concept may be an answer for those of you suddenly unable to boot raw disk partitions under vmware. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message