linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Phillip Susi <psusi@ubuntu.com>
To: One Thousand Gnomes <gnomes@lxorguk.ukuu.org.uk>,
	Gene Heskett <gheskett@wdtv.com>
Cc: linux-ide@vger.kernel.org
Subject: Re: 64 bit kernel won't mount /
Date: Sun, 25 Jan 2015 16:18:27 -0500	[thread overview]
Message-ID: <54C55DA3.4050400@ubuntu.com> (raw)
In-Reply-To: <20150122153458.6493d3fd@lxorguk.ukuu.org.uk>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 01/22/2015 10:34 AM, One Thousand Gnomes wrote:
> Unlikely. Apart from fdisk the setup is basically invisible. The
> drive reports a block size and an offset. The firmware offset is
> chosen so that the chassic DOS alignments in fdisk happen to just
> fall nicely on 4K boundaries for partition starts.
> 
> There is nothing special the OS does to deal with ATA/SATA 4K
> sectors.

Incorrect: the kernel bogus/synthetic "geometry" is the maximum
allowed of 63 sectors per track, and the old dos default alignment for
the first partition on the disk places its start at sector 63, which
is not 4k aligned.  The special thing that partitioning tools have to
do is to align the partition start to a 4k boundary.  For several
years now, parted has defaulted to 1 MiB alignment, like Windows has
done, which gives a 4k alignment.  I don't recall if Ubuntu 10.04 is
old enough to predate this change.  You certainly do NOT want to use
the cylinder alignment option in gparted.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBCgAGBQJUxV2jAAoJENRVrw2cjl5RjZIH/ijuJw1bfOxqHDi5PsfOjZqi
yiH9wGiwJukiwTkfqXoR3hRLemP3WO7vMxf/Ub/+DhmLQR7F3iGlHwfDq/8wQzpQ
2MucBJDT0ARt/I9z/xhPK3bUVdj9ooSUJfHGklhyhijdceAi7M/HwYh9Hftx5Mrn
5qw0N0E6TLNLaNYraJEEqc2aATfXRFcfLrqI5pmRhoT+KCs6IFrggyj4F7uwiaNb
QmrvUPzdAN5jmbVxm+sActWdDG/UDxIXeqLXxJ+N/OwYd4iPh6QNlsPv0/U1R71W
i+ZEoNNH729N1JMQUN/qD7Ut4oNj2nqLzrsVh5K8Z5fRkIXYLIuUMgKn0KJJQDk=
=3PnL
-----END PGP SIGNATURE-----

  parent reply	other threads:[~2015-01-25 21:18 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-19 16:45 64 bit kernel won't mount / Gene Heskett
2015-01-20 12:03 ` Gene Heskett
2015-01-21 17:23 ` One Thousand Gnomes
2015-01-21 19:21   ` Gene Heskett
2015-01-22 15:34     ` One Thousand Gnomes
2015-01-23  5:06       ` Gene Heskett
2015-01-25 21:18       ` Phillip Susi [this message]
2015-01-26 21:38         ` One Thousand Gnomes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54C55DA3.4050400@ubuntu.com \
    --to=psusi@ubuntu.com \
    --cc=gheskett@wdtv.com \
    --cc=gnomes@lxorguk.ukuu.org.uk \
    --cc=linux-ide@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).