Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BeTsj-0007cI-PD for qemu-devel@nongnu.org; Sun, 27 Jun 2004 03:15:17 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BeTsa-0007SA-BI for qemu-devel@nongnu.org; Sun, 27 Jun 2004 03:15:17 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BeTsa-0007S5-8U for qemu-devel@nongnu.org; Sun, 27 Jun 2004 03:15:08 -0400 Received: from [202.134.0.79] (helo=out-mta2.plasa.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BeTqu-0002GI-2a for qemu-devel@nongnu.org; Sun, 27 Jun 2004 03:13:24 -0400 From: Mulyadi Santosa Date: Sun, 27 Jun 2004 14:12:07 +0700 References: <20040626184535.GA19123@jbrown.mylinuxbox.org> <200406271007.11404.a_mulyadi@telkom.net> <20040627050111.GA24787@jbrown.mylinuxbox.org> In-Reply-To: <20040627050111.GA24787@jbrown.mylinuxbox.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200406271412.07258.a_mulyadi@telkom.net> Subject: [Qemu-devel] Re: replies Reply-To: a_mulyadi@telkom.net, qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Jim C. Brown" Cc: qemu-devel@nongnu.org Hello Jim :-) > I thought that some of the information i said was of use to the list, so I > post it here. I hope you don't mind. No problem....go ahead....i love open discussion...it is just me that ... at the first time I think better to talk about it head to head :-) > BTW why do you check for total sectors? This isn't needed (so removing it > doesnt break anything) and it breaks on my fdisk v2.10s (also you scan for > one extra line). Can I see the output of fdisk -lu and what your > fdisk version is? Odds are good that lomount will need to know the fdisk > version to correctly parse the output. :-) Oh geez, maybe I forgot to by "bypass" total sector :-) BTW, here is output of fdisk -lu /mnt/qemu/myimage (my fdisk version is v2.11y on RH 9 GPL edition): [[Start of Output]] You must set cylinders. You can do this from the extra functions menu. Disk /mnt/qemu/myimage: 0 MB, 0 bytes 16 heads, 63 sectors/track, 0 cylinders, total 0 sectors Units = sectors of 1 * 512 = 512 bytes Device Boot Start End Blocks Id System /mnt/qemu/myimage1 * 63 1016063 508000+ 83 Linux /mnt/qemu/myimage2 1016064 1228751 106344 82 Linux swap Partition 2 has different physical/logical endings: phys=(1023, 15, 63) logical=(1218, 15, 63) [[end of output]] Maybe it is caused by version difference in fdisk, what do you think? NB: Jim, maybe we can do "tag team" again on disk resizing......how do you think? I will write resizer once I have spare time ASAP...but first I will follow your tips for resizing raw disk image regards Mulyadi