[Bug 1006894] Re: Partitions are misaligned when using GPT on disks w/ 4096 byte physical sectors

Launchpad Bug Tracker 1006894 at bugs.launchpad.net
Mon Jul 2 13:45:36 UTC 2012


This bug was fixed in the package partman-base - 158ubuntu1

---------------
partman-base (158ubuntu1) quantal; urgency=low

  * Resynchronise with Debian.  Remaining changes:
    - Ubiquity integration: If PARTMAN_NO_COMMIT is set, then exit rather
      than running commit.d and finish.d scripts; add a partman-commit
      script; dump extra information to /var/lib/partman/snoop if
      PARTMAN_SNOOP is set; check for per-menu 'no_show_choices' file in
      ask_user and don't reshow the menu if it exists.
    - Don't skip over dmraid devices if the user chooses not to activate
      them.
    - If the only thing mounted on a disk is the installation medium and it
      uses more or less the whole disk, then silently exclude that disk; if
      the installation medium is mounted but doesn't use the whole disk,
      issue a warning that partitioning may be difficult; if anything else
      is mounted, offer to unmount it. partman/filter_mounted=false disables
      this.

partman-base (158) unstable; urgency=low

  * Permit non-cylinder alignment again on GPT (closes: #674894,
    LP: #1006894).

partman-base (157) unstable; urgency=low

  * Team upload

  [ Updated translations ]
  * Croatian (hr.po) by Tomislav Krznar
  * Portuguese (Brazil) (pt_BR.po) by Felipe Augusto van de Wiel (faw)
 -- Colin Watson <cjwatson at ubuntu.com>   Mon, 02 Jul 2012 14:42:31 +0100

** Changed in: partman-base (Ubuntu Quantal)
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to partman-base in Ubuntu.
https://bugs.launchpad.net/bugs/1006894

Title:
  Partitions are misaligned when using GPT on disks w/ 4096 byte
  physical sectors

Status in OEM Priority Project:
  Confirmed
Status in OEM Priority Project precise series:
  Confirmed
Status in “partman-base” package in Ubuntu:
  Fix Released
Status in “partman-base” source package in Precise:
  Confirmed
Status in “partman-base” source package in Quantal:
  Fix Released
Status in “partman-base” package in Debian:
  Unknown

Bug description:
  I'm doing a fully preseeded install using a partman-auto disk recipe.
  This is an EFI install which obviously uses GPT.  When I launch Disk
  Utility is complains that the EFI fat32 partition and the next ext4
  Linux partition are misaligned by 3072 bytes and 2048 bytes
  respectively.

  When I dump the partitioning out in parted, I can see that the
  partition begins on logical sector 34:

  $ sudo parted /dev/sda unit s print
  Model: ATA ST9500423AS (scsi)
  Disk /dev/sda: 976773168s
  Sector size (logical/physical): 512B/4096B
  Partition Table: gpt

  Number  Start      End         Size        File system     Name     Flags
   1      34s        390659s     390626s     fat32                    boot
   2      390660s    39453160s   39062501s   ext4

  So the partition begins right after the GPT headers, but since this is
  a 4096 byte physical sector drive, this does not begin on a physical
  sector boundary.  It should begin on logical sector 40 (physical
  sector 5) to have proper alignment.

  I'm not sure if this should be filed against partman-auto since this
  is a fully preseeded install or just partman-base.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: ubiquity (not installed)
  ProcVersionSignature: Ubuntu 3.2.0-24.38-generic 3.2.16
  Uname: Linux 3.2.0-24-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.0.1-0ubuntu7
  Architecture: amd64
  Date: Thu May 31 08:45:45 2012
  DistributionChannelDescriptor:
   # This is a distribution channel descriptor
   # For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor
   canonical-oem-sutton-precise-amd64-20120523-0
  InstallCmdLine: BOOT_IMAGE=/casper/vmlinuz boot=casper automatic-ubiquity partman/alignment=minimal file=/cdrom/install/preseed.cfg quiet splash -- nouveau.modeset=0
  InstallationMedia: Ubuntu 12.04 "Precise" - Build amd64 LIVE Binary 20120523-03:49
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: ubiquity
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1006894/+subscriptions




More information about the foundations-bugs mailing list