Skip to content

autolvm breaks GPT partitioned turnkey installations #4

@techstoa

Description

@techstoa

If turnkey is installed on a disk that is larger than 2TB, the disk ends up partitioned with a GPT partition table.

On these systems, the autolvm installer ends up removing the BIOS Boot partition, which leaves turnkey unable to boot.

Before autolvm installation:

Command (m for help): p
Disk /dev/vda: 3.64 TiB, 4000000770048 bytes, 7812501504 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 150D2FAC-2528-46E9-B410-E651833414B9

Device     Start        End    Sectors  Size Type
/dev/vda1   2048       4095       2048    1M BIOS boot
/dev/vda2   4096 7812499455 7812495360  3.6T Linux LVM

After autolvm installation:

Command (m for help): p
Disk /dev/vda: 3.64 TiB, 4000000770048 bytes, 7812501504 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 150D2FAC-2528-46E9-B410-E651833414B9

Device     Start        End    Sectors  Size Type
/dev/vda2   4096 7812499455 7812495360  3.6T EFI System

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions