From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: 63 sectors Date: Wed, 03 Sep 2008 12:32:11 +0300 Message-ID: <48BE599B.9020709@qumranet.com> References: <48BE46DD.1070703@qumranet.com> <48BE4C43.1010401@mair-family.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: KVM list , "H. Peter Anvin" To: David Mair Return-path: Received: from il.qumranet.com ([212.179.150.194]:45504 "EHLO il.qumranet.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751317AbYICJcM (ORCPT ); Wed, 3 Sep 2008 05:32:12 -0400 In-Reply-To: <48BE4C43.1010401@mair-family.org> Sender: kvm-owner@vger.kernel.org List-ID: David Mair wrote: > A solution used on another platform I'm familiar with is for the > platform's storage drivers to report disk geometry as having have 32 > sectors per track. The native partitioning tool will then always > create partitions with 32 sector alignment. It's possible a BIOS > change could be made to achieve that. > I tried 60 sectors per track, but Windows saw the disk as an 8GB disk and refused to format. Linux had similar problems. >> Does anybody know if scsi will have the same problems? Can anyone >> suggest other workarounds? > > If you are using a guest platform like linux and don't need multiple > file systems on the same [virtual] disk then just format the whole > disk rather than partition it: > > # mkfs -t ext3 /dev/sdb > > (instead of /dev/sdb1, 2, 3, etc) That won't work with the installers (at least not simply), and doesn't allow for a swap partition. -- error compiling committee.c: too many arguments to function