Skip to content

Installer shows incorrect partition sizes, cannot install due to perceived ESP partition size #620

@itaiferber

Description

@itaiferber

What Happened?

Attempting to install elementary OS 6 fails on my 2019 MacBook Pro, seemingly due to not being able to correctly read partition sizes on the disk. Attempting to install on this machine via the default "Erase Disk and Install" option fails with a "Installing elementary OS 6 Odin failed, possibly due to a hardware error." message, and attempting a "Custom Install" does not allow me to continue.

Steps to Reproduce

  1. Boot into macOS Recovery to disable Secure Boot, booting from external partitions, etc.; delete existing partitions from disk
  2. Boot into elementary OS 6 installer and attempt to "Erase Disk and Install"
    1. Select the internal 1 TB NVME drive ("Apple SSD AP1024M, /dev/nvme0n1 1.0 TB")
    2. Choose "Don't Encrypt" when prompted (though it doesn't matter — I've tried encrypting before and the failure is the same)
    3. Hit "Could Not Install" error
      Screenshot
      I'm not sure whether the "pointer in FFI is null" error is unrelated, correlated, or causative, but the last error produced is related to ESP partition being too small
  3. Go back with "Try Installing Again", this time selecting a "Custom Install"
    1. "Modify Partitions" to create a 512 MB EFI partition, 16 GB swap partition, 64 GB root partition, and remaining home partition
      Screenshot
    2. See that installer is incorrectly picking up on partition sizes (67.1 MB for EFI, 2.1 GB for swap, 8.6 GB for root, 114.3 GB for home, 875.5 GB unused)
      Screenshot
    3. Attempt to select the partitions anyway (installation can't begin because EFI partition is too small)
      Screenshot

I've confirmed that booting into Demo Mode on the same drive shows the right partition sizes in GParted, as does booting into a GParted live USB.

Expected Behavior

  • "Erase and Install" should have succeeded at blowing away anything on disk and installing the OS
  • The partition selector should also show the same partition sizes as "Modify Partitions"

OS Version

6.x (Odin) [elementaryos-6.0-stable.20211005]

Software Version

Latest release (I have run all updates)

Log Output

I re-ran the above steps as-is (including recreating all partitions) this morning (the day after submission) and grabbed journalctl output from demo mode: journal.log

Hardware Info

This is on a 2019 MBP with a 1 TB internal drive and SIP and Secure Boot previously disabled.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions