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

Re: How to get installer to align partitions on 4096 byte boundaries?



On May 4, 2014, at 1:28 PM, Elimar Riesebieter <riesebie@lxtec.de> wrote:

> * Rick Thomas <rbthomas@pobox.com> [2014-05-04 01:14 -0700]:
> 
> [...]
>> root@bigal:~# mac-fdisk -l /dev/sda
>> /dev/sda
>>        #                    type name                   length   base       ( size )  system
>> /dev/sda1     Apple_partition_map Apple                      63 @ 1          ( 31.5k)  Partition map
>> /dev/sda2         Apple_Bootstrap untitled                 1954 @ 64         (977.0k)  NewWorld bootblock
>> /dev/sda3         Apple_UNIX_SVR2 untitled               500001 @ 2018       (244.1M)  Linux native
>> /dev/sda4               Linux_LVM untitled           1953023100 @ 502019     (931.3G)  Unknown
>> /dev/sda5              Apple_Free Extra                      49 @ 1953525119 ( 24.5k)  Free space
>> 
>> Block size=512, Number of Blocks=1953525168
>> DeviceType=0x0, DeviceId=0x0
>> 
>> When I say "sector" or "logical-sector" in the following I mean
>> 512-byte sector.  When I say "physical-sector" I mean 8
>> logical-sectors (4096-bytes).  When I say "megabyte" or "MiB" I
>> mean 1048576 bytes or 2048 logical-sectors, or 256
>> physical-sectors.
> 
> What tells:
> # hdparm -I /dev/sda | grep -A15 Configuration:

Thanks Elimar!  Here's what it says:

   root@bigal:~# hdparm -I /dev/sda | grep -A15 Configuration:
   Configuration:
	Logical		max	current
	cylinders	16383	16383
	heads		16	16
	sectors/track	63	63
	--
	CHS current addressable sectors:   16514064
	LBA    user addressable sectors:  268435455
	LBA48  user addressable sectors: 1953525168
	Logical  Sector size:                   512 bytes
	Physical Sector size:                  4096 bytes
	Logical Sector-0 offset:                  0 bytes
	device size with M = 1024*1024:      953869 MBytes
	device size with M = 1000*1000:     1000204 MBytes (1000 GB)
	cache/buffer size  = unknown
	Form Factor: 3.5 inch
   
The disk itself is one of the new Seagate "hybrid" disks, with 8GB of flash and 1TB of "Advanced Format" spinning iron oxide.

Has anyone tried this with the Wheezy for x86 or amd64?  I'm wondering if it's a bug resulting from something having to do with PowerPC, or more general than that...

Thanks!

Rick

Reply to: