From owner-freebsd-emulation Fri Dec 1 7:50:10 2000 Delivered-To: freebsd-emulation@freebsd.org Received: from solo.ned.dem.csiro.au (solo.ned.dem.CSIRO.AU [130.116.144.65]) by hub.freebsd.org (Postfix) with ESMTP id BF7ED37B400 for ; Fri, 1 Dec 2000 07:50:04 -0800 (PST) Received: from ned.dem.csiro.au (truro-gc.ned.dem.CSIRO.AU [130.116.145.114]) by solo.ned.dem.csiro.au (8.9.1a/8.9.0) with ESMTP id XAA24696 for ; Fri, 1 Dec 2000 23:49:58 +0800 (WST) Message-ID: <3A27C855.62A7FF5E@ned.dem.csiro.au> Date: Fri, 01 Dec 2000 23:48:37 +0800 From: Peter Hornby Organization: CSIRO Exploration and Mining. X-Mailer: Mozilla 4.75 [en] (Win95; U) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-emulation@freebsd.org Subject: Re: Vmware2 on 4.2-STABLE Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Just a line FYae. The trick is.... 1) try to create a raw disk in order to get the wizard to make the following file for you ====== DEVICE /compat/linux/dev/hda # Partition type: MBR RDONLY 0 62 # Partition type: Win95 FAT32 NO_ACCESS 63 4096574 # Extended partition hole RDONLY 4096575 4096637 # Partition type: Win95 FAT32 ACCESS 4096638 8385929 # Extended partition hole RDONLY 8385930 8385992 # Partition type: Win95 FAT32 ACCESS 8385993 12659219 ======== 2) Hack this into a plain disk format along the lines of the Hints file. ======== DRIVETYPE ide CYLINDERS 13410 HEADS 15 SECTORS 63 # Partition type: MBR RDONLY "/home//vmware/hda/wd0.mbr" 0 63 # Partition type: Win95 FAT32 RDONLY "/dev/rwd0s1" 63 4096512 # Extended partition hole RDONLY "/home//vmware/hda/wd0.eph1" 4096575 63 # Partition type: Win95 FAT32 ACCESS "/dev/rwd0s5" 4096638 4289292 # Extended partition hole RDONLY "/home//vmware/hda/wd0.eph2" 8385930 63 # Partition type: Win95 FAT32 ACCESS "/dev/rwd0s6" 8385993 4273227 # padding RDONLY "/dev/null" 12659220 13230 ========== 3) Grab the partition tables and MBR & put then in the indicated files above eg. dd if=/dev/rwd0 of=wd0.eph1 bs=1b count=63 skip=4096575 etc.... 3a) Now install this disk in a VM config somewhere, and see if it's OK.(Don't boot from it). 4) Now do a dd if=/dev/rwd0s1 of=whatever bs=1b count=4096512 to get a copy of the first partition, and point the plain disk's first partition at this instead of the real disk slice (and make it ACCESS instead of RDONLY). 5) boot with this plain disk, and see what the damage is..... Cheers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message