From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DvzzN-0002NF-IG for qemu-devel@nongnu.org; Fri, 22 Jul 2005 12:03:09 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DvzzD-0002K3-9Q for qemu-devel@nongnu.org; Fri, 22 Jul 2005 12:02:56 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DvzzD-0002EM-3x for qemu-devel@nongnu.org; Fri, 22 Jul 2005 12:02:55 -0400 Received: from [128.8.10.164] (helo=po2.wam.umd.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dvzwj-0005VA-Sf for qemu-devel@nongnu.org; Fri, 22 Jul 2005 12:00:21 -0400 Date: Fri, 22 Jul 2005 11:50:02 -0400 From: "Jim C. Brown" Subject: Re: [Qemu-devel] Re: making a raw disk image Message-ID: <20050722155001.GA15418@jbrown.mylinuxbox.org> References: <1gzxvmt.1pa4ox51ovkbpcN%takeme2your@rocketmail.com> <20050719131852.GA12450@jbrown.mylinuxbox.org> <1h01sal.zd2ltvf8o7xyN%takeme2your@rocketmail.com> <2ad73a0507220616598c942b@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2ad73a0507220616598c942b@mail.gmail.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Andr? Braga , qemu-devel@nongnu.org On Fri, Jul 22, 2005 at 10:16:42AM -0300, Andr? Braga wrote: > 2005/7/22, U n d e r a c h i e v e r EMAIL HIDDEN: > > Jim C. Brown did not write: > > thanks -- whilst that's not exactly the answer I want > > > > oh, to bite the bullet and kills windows then? > > If it's the first partition on the disk, just use dd to copy from the > beginning of the drive up to the last sector of the partition and dump > this on a file. Use that file as a raw image. The relevant part on > number of sectors will be on the MBR. For tidyness, run fdisk on that > image and delete the other partition entries. > > If it's not... Then I'm out of ideas :) > The technique I gave works perfectly well even if the partition is not the first one. -- Infinite complexity begets infinite beauty. Infinite precision begets infinite perfection.