[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Wheezy Installer Auto-Partition Oddity






----- Original Message -----
> From: Gary Dale <garydale@rogers.com>
> To: debian-user@lists.debian.org
> Cc: "debian-user@lists.debian.org" <debian-user@lists.debian.org>
> Sent: Wednesday, January 2, 2013 1:52 PM
> Subject: Re: Wheezy Installer Auto-Partition Oddity
> 
> On 02/01/13 04:25 PM, Patrick Bartek wrote:
>>  In preparation of a clean install of Wheezy, I did a test install in 
> VirtualBox 3.1.8 running under  Fedora 12 64-bit.  To save time, I used the 
> installer's default partitioning scheme.  Normally I custom partition.  
> Anyway, I noticed an oddity:  There are gaps between the partitions.  Sizable 
> ones.  Plus, sda1 starts at 2048, not 1.  I don't know if this is due to the 
> installer partitioner or a quirk in VirtualBox.  I noticed this on a VB install 
> of Debian 6, too, on the same system.  Anybody got any ideas on the why?  
> Wasn't able to find anything applicable on net searches.
>> 
>>  Here's the output for fdisk -l on the Wheezy virtual hard drive.
>> 
>>  Disk /dev/sda: 8589 MB, 8589934592 bytes
>>  255 heads, 63 sectors/track, 1044 cylinders, total 16777216 sectors
>>  Units = sectors of 1 * 512 = 512 bytes
>>  Sector size (logical/physical): 512 bytes / 512 bytes
>>  I/O size (minimum/optimal): 512 bytes / 512 bytes
>>  Disk identifier: 0x000d6c53
>> 
>>      Device Boot      Start         End      Blocks   Id  System
>>  /dev/sda1   *        2048    15988735     7993344   83  Linux
>>  /dev/sda2        15990782    16775167      392193    5  Extended
>>  /dev/sda5        15990784    16775167      392192   82  Linux swap / 
> Solaris
>> 
>> 
>>  Thanks.
>> 
>>  B
> Using GPT, the first partition starts at 2048. Get used to it. 
> Seriously, this is how disks are partitioned these days.

That answers the second queston.

Not really "up" on GPT.  But from what little I know, I won't need it for the "real" installation of Wheezy.

Also, just realized that the partition info above is in sectors by default and not cylinders by default as I'm accustomed to seeing.  That changes things a little. ;-)

> You have an extended partition for swap space. I'd remove it and make 
> the swap partition a primary partition if you really want a swap 
> partition. No need for two partition tables on a disk with only two real 
> partitions.


As I said in my original query, this partitioning was done automatically by the Wheezy installer.  I would have never partitioned that way myself.  Besides this is just a test install to root out any problems for when I do the real one on a real hard drive.

Still don't know why there are gaps between the partitions.

B


Reply to: