From owner-freebsd-emulation Tue Jun 13 9:28:37 2000 Delivered-To: freebsd-emulation@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id EE4CA37BF9B for ; Tue, 13 Jun 2000 09:28:27 -0700 (PDT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id MAA14591; Tue, 13 Jun 2000 12:28:26 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.9.3/8.9.1) id MAA27079; Tue, 13 Jun 2000 12:27:56 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Tue, 13 Jun 2000 12:27:55 -0400 (EDT) To: Hidetoshi Shimokawa Cc: freebsd-emulation@freebsd.org Subject: Re: VMware: plaindisk problem In-Reply-To: References: <14645.58338.373097.99462@grasshopper.cs.duke.edu> X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid Message-ID: <14662.24354.719416.636844@grasshopper.cs.duke.edu> Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hidetoshi Shimokawa writes: > I have no luck with plain disk too. > I suspect that each subdisk of plain disk must be less than 2GB > because those subdisk is a file and linux has 2GB file size limit. Actually, thanks to a lot of help from Nick, I managed to get it working on a 9GB Seagate SCSI disk. > BTW, does anyone figure out why we can't use raw disk with vmware2? > Is it because vmware2 accesses mbr ignoring 512byte boundary? I'd like to know the answer to this too! What I did was: - low-level format the scsi disk I was using (using camcontrol) to blow away partition table totally (overkill, yes..) - unplug SCSI disk I normally boot FreeBSD from - install Windows 2000 to get the disk partitioned properly & to get a FAT filesystem onto it - re-attach FreeBSD boot disk - Create mbr file: dd if=/dev/rda1 bs=1b count=63 of=disk.mbr - Create plain disk file: DRIVETYPE scsi CYLINDERS 1106 HEADS 255 SECTORS 63 ACCESS "/home/home1/gallatin/.vmware/disk.mbr" 0 63 ACCESS "/dev/rda1s1" 63 17767827 - Create W2K config file: ------------------------------------------------------------ #!/usr/local/lib/vmware/bin/vmware config.version = "2" # CD-ROM ide1:0.present = TRUE ide1:0.fileName = "/dev/rcd0c" ide1:0.deviceType = "atapi-cdrom" ide1:0.startConnected = TRUE # Floppy floppy0.present = TRUE floppy0.fileName = "/tmp/windows.flp" floppy0.startConnected = FALSE # Networked to host only subnet ethernet0.present = TRUE ethernet0.connectionType = "hostOnly" # Memory size memsize = 128 # Nvram nvram = "/vmware/win2000/win2000.nvram" # Log file log.fileName = "/vmware/win2000/win2000.log" # Hints guestOS = "win2000" # SVGA PciSvgaDynamic = TRUE tools.remindInstall = FALSE floppy0.fileType = "file" mouse.hostType = "PS/2" mouse.fileName = "/dev/sysmouse" scsi0:0.present = TRUE scsi0:0.deviceType = "plainDisk" scsi0:0.fileName = "/home/home5/chase/.vmware/plain" scsi0.present = TRUE sound.present = TRUE sound.device = "/dev/dsp" #eof ------------------------------------------------------------ - Boot W2k from CD inside vmware - Install W2K onto the plain disk (scsi 0) using the pre-existing fat filesystem - boot W2K Hope this helps you! Cheers, Drew ------------------------------------------------------------------------------ Andrew Gallatin, Sr Systems Programmer http://www.cs.duke.edu/~gallatin Duke University Email: gallatin@cs.duke.edu Department of Computer Science Phone: (919) 660-6590 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message