Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support GPT on legacy BIOS system #759

Merged
merged 3 commits into from
Oct 5, 2021
Merged

Conversation

johnliu55tw
Copy link
Contributor

The main reason behind this PR is that we have users running on legacy BIOS systems with storage greater than MBR limit (2.2TB), so we need to create GPT for their system.

Some additional thoughts: I'm thinking maybe GPT should be the default option, regardless of booting from EFI or Legacy BIOS, because GRUB can use GPT for both. Maybe MBR is the one that should be --forced, only when users encountered some issue.

Add argument `--force-gpt` to cos-installer to force GPT partition
scheme on legacy BIOS system. GRUB has support on this.
@kkaempf kkaempf requested a review from mudler October 5, 2021 11:11
@kkaempf kkaempf added the status/safe to test Triggers self-hosted actions label Oct 5, 2021
Copy link
Contributor

@mudler mudler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks good to me, however it needs a version bump into the installer definition file here: https://github.com/rancher-sandbox/cOS-toolkit/blob/master/packages/installer/definition.yaml#L3. Otherwise there is no new installer version with your changes included (and neither CI will see them).

I'd suggest a version: "0.18"

mudler added 2 commits October 5, 2021 14:21
Signed-off-by: Ettore Di Giacinto <edigiacinto@suse.com>
Signed-off-by: Ettore Di Giacinto <edigiacinto@suse.com>
Copy link
Contributor

@mudler mudler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've added the package bumps on top of the PR, looks good here, thanks! 👍

@johnliu55tw
Copy link
Contributor Author

Thank you so much @mudler!

@tscswcn
Copy link

tscswcn commented Oct 12, 2021

has harvester support GPT as default within 0.30 release?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/harvester status/safe to test Triggers self-hosted actions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants