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 for OS uninstall and partition grow #128

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

VinDuv
Copy link
Contributor

@VinDuv VinDuv commented Aug 25, 2022

Add the following options to the installer:

  • Delete arbitrary partitions (expert mode)
  • Uninstall Asahi by removing the stub partition, the corresponding ESP, and (optionally) the Linux partitions directly following it
  • Grow an APFS container to use the free space after it.

Implements #83.

VinDuv added 3 commits August 20, 2022 14:23
Add an expert menu option that allows deleting partitions.
Any partition can be deleted, except:
 - The partition containing the APFS volume group of the booted OS
 - APFS recovery partitions.

Signed-off-by: Vincent Duvert <[email protected]>
This option detects Linux installs (identified by an APFS volume group with
m1n1) and offers to delete by removing their associated partitions, namely:
 - The partition containing the volume group. The tool will refuse to operate
   if multiple OSes are installed on the partition.
 - The ESP referenced by the m1n1 installation
 - Optionally, all Linux partitions directly following the ESP. This is not
   guaranteed to be accurate but should work for most typical Linux installs.

Signed-off-by: Vincent Duvert <[email protected]>
This allows resizing partitions so they can use the free space located after
them.

Signed-off-by: Vincent Duvert <[email protected]>
@marcan marcan force-pushed the main branch 2 times, most recently from f7abb88 to 04c037a Compare June 6, 2023 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant