Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DrULK-0003kM-Bc for qemu-devel@nongnu.org; Sun, 10 Jul 2005 01:27:07 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DrUL9-0003ci-8K for qemu-devel@nongnu.org; Sun, 10 Jul 2005 01:26:58 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DrUL6-0003Z3-FC for qemu-devel@nongnu.org; Sun, 10 Jul 2005 01:26:52 -0400 Received: from [83.241.133.2] (helo=filer.marasystems.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DrUHn-00089C-Jl for qemu-devel@nongnu.org; Sun, 10 Jul 2005 01:23:27 -0400 Received: from localhost (henrik@localhost) by filer.marasystems.com (8.11.6/8.11.6) with ESMTP id j6A5G8l05537 for ; Sun, 10 Jul 2005 07:16:08 +0200 Date: Sun, 10 Jul 2005 07:16:08 +0200 (CEST) From: Henrik Nordstrom Subject: Re: [Qemu-devel] fdisk give wrong number for losetup In-Reply-To: <1120732568.42cd0598078bd@webmail.alinto.com> Message-ID: References: <1120732568.42cd0598078bd@webmail.alinto.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On Thu, 7 Jul 2005, octane indice wrote: > Hello > > I have some trouble using losetup to mount partitions > from the host. > > root@zipslack:/usr/src/qemu-test# fdisk -l zipslack.img > Vous devez initialiser cylindres. > Vous pouvez faire cela =E0 partir du menu des fonctions additionnelles. > > Disque zipslack.img: 0 Mo, 0 octets > 16 t=EAtes, 63 secteurs/piste, 0 cylindres > Unit=E9s =3D cylindres de 1008 * 512 =3D 516096 octets > > P=E9riph=E9rique Amorce D=E9but Fin Blocs Id Syst=E8= me > zipslack.img1 1 49 24664+ 82 Linux swap > zipslack.img2 50 253 102816 83 Linux > zipslack.img3 254 609 179424 83 Linux fdisk -l -u zipslack.img or sfdisk -d zipslack.img gives a much better view of the partition table.. (blocks, not cylinders) Regards Henrik