Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #166526

Re: debian installer 4k sectors

Path csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From cbannister@slingshot.co.nz
Newsgroups linux.debian.user
Subject Re: debian installer 4k sectors
Date Fri, 08 Apr 2016 10:30:01 +0200
Message-ID <rlzXH-XP-5@gated-at.bofh.it> (permalink)
References <rlyoW-8fi-15@gated-at.bofh.it>
X-Original-To debian-user@lists.debian.org
X-Mailbox-Line From debian-user-request@lists.debian.org Fri Apr 8 08:21:08 2016
Old-Return-Path <cbannister@slingshot.co.nz>
X-Amavis-Spam-Status No, score=-5.9 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DIGITS_LETTERS=1, FOURLA=0.1, LDO_WHITELIST=-5] autolearn=no autolearn_force=no
X-Policyd-Weight NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_BL_NJABL=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .slingshot. - helo: .mta6.flip. - helo-domain: .flip.) FROM/MX_MATCHES_NOT_HELO(DOMAIN)=0; rate: -5
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent Mutt/1.5.23 (2014-03-12)
X-Broken-Header X-flip.co.nz-MailScanner-Information: Please contact the ISP for more information
X-Broken-Header X-flip.co.nz-MailScanner-ID: u388Kh8u014626
X-Broken-Header X-flip.co.nz-MailScanner: Found to be clean
X-Broken-Header X-flip.co.nz-MailScanner-From: cbannister@slingshot.co.nz
X-Mailing-List <debian-user@lists.debian.org> archive/latest/706017
List-ID <debian-user.lists.debian.org>
List-URL <https://lists.debian.org/debian-user/>
List-Archive https://lists.debian.org/msgid-search/20160408082042.GA26304@localhost.localdomain
Approved robomod@news.nic.it
Lines 47
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Fri, 8 Apr 2016 20:20:42 +1200
X-Original-Message-ID <20160408082042.GA26304@localhost.localdomain>
X-Original-References <57075182.8000704@email.cz>
Xref csiph.com linux.debian.user:166526

Show key headers only | View raw


On Fri, Apr 08, 2016 at 08:36:50AM +0200, Pavel Kosina wrote:
> Hi,
> 
> several times I tried install Debian stable/testing. I have MB Asrock UEFI
> D1800B-ITX and HDD WD20EFRX. Debian installer /part where partitioning and
> formatting happens/ never formats to correct sectors 4k. It always formats
> to 512b:
> ----------------------
> linuxbox:~# fdisk -l
> Disk /dev/sda: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors
> Units: sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 4096 bytes
> I/O size (minimum/optimal): 4096 bytes / 4096 bytes
> Disklabel type: dos
> Disk identifier: 0xa10b2c0d
> 
> Device     Boot      Start        End    Sectors  Size Id Type
> /dev/sda1  *          2048 3903531007 3903528960  1.8T 83 Linux
> /dev/sda2       3903533054 3907028991    3495938  1.7G  5 Extended
> /dev/sda5       3903533056 3907028991    3495936  1.7G 82 Linux swap /
> Solaris
> 
> Partition 2 does not start on physical sector boundary.
> -----------------------------
> 
> 
> why is that? Is that bug or I miss something?
> Due to this there is also error: "Partition 2 does not start on physical
> sector boundary."

Sorry I don't have the answer, but:
https://wiki.archlinux.org/index.php/Advanced_Format
shows the HDD WD20EFRX to be logical 512 and physical 4096

and
http://excess.org/article/2010/11/wd-hdd-lying-about-4k-sectors/

It seems the first partition is aligned correctly. 

Hopefully the answer isn't "you have to calculate the sector alignment 
yourself and physically enter those values."

-- 
The media's the most powerful entity on earth. 
They have the power to make the innocent guilty 
and to make the guilty innocent, and that's power.
 -- Malcolm X

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

debian installer 4k sectors Pavel Kosina <peekaa@email.cz> - 2016-04-08 08:50 +0200
  Re: debian installer 4k sectors Sven Hartge <sven@svenhartge.de> - 2016-04-08 10:10 +0200
    Re: debian installer 4k sectors <peekaa@email.cz> - 2016-04-08 10:30 +0200
      Re: debian installer 4k sectors Sven Hartge <sven@svenhartge.de> - 2016-04-08 11:10 +0200
    Re: debian installer 4k sectors Curt <curty@free.fr> - 2016-04-08 11:00 +0200
  Re: debian installer 4k sectors cbannister@slingshot.co.nz - 2016-04-08 10:30 +0200
  Re: debian installer 4k sectors Felix Miata <mrmazda@earthlink.net> - 2016-04-08 11:00 +0200

csiph-web