Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
alpine-conf
alpine-conf
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 19
    • Issues 19
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 2
    • Merge Requests 2
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • alpine
  • alpine-confalpine-conf
  • Issues
  • #10469

Closed
Open
Opened Jan 17, 2021 by simon5738@simon5738

setup-disk: unable to use GPT on disk >2TB.

Setup:
Raspberry Pi 3b,
alpine-rpi-3.12.3-aarch64 on 8GB USB flash drive.
Data drive: 4TB HDD.

I tried to configure the data disk with setup-disk -m data /dev/sdb but I have a similar error as #4044:

Warning: partition 3 has size 3.0 TB (2996359397376 bytes), which is larger than the 2199023255040 bytes limit imposed by the DOS partition table for 512-byte sectors.

According to the reply in that issue, GPT is required. I understand why and I try setup-disk to use GPT.

BUT.. ;)

(How) can I specify DISKLABEL as stated by setup-disk -h?

If DISKLABEL is specified, the specified partition label will be used. if no partition label is specified, the default label will be dos except when EFI is detected or explicitly set by USE_EFI which will select gpt. Supported partition labels are: dos, gpt

I've tried to understand the script, I get the gist but not a clear understanding.

Maybe as a feature suggestion: Why is it setup-disk not detecting the disk size and using GPT if disk is unsuitable for DOS? (Besides why is DOS the default?)

Thank you!

Edited Feb 10, 2021 by simon5738
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: alpine/alpine-conf#10469