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

Request: Dual Boot #58

Open
erenoglu opened this issue Oct 6, 2023 · 3 comments
Open

Request: Dual Boot #58

erenoglu opened this issue Oct 6, 2023 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@erenoglu
Copy link

erenoglu commented Oct 6, 2023

Describe the bug
Script forces to erase all partition layout on disk, even if there's sufficient unused space on partition table, in a scenario where existing Windows would like to be kept intact for dual boot

To Reproduce
Steps to reproduce the behavior:

  1. On your Windows PC, shrink the Windows Data partition and make available a large free space in partition table
  2. Download Arch Iso and boot with it.
  3. Use the easy-arch script, at least step, it will ask you to confirm deleting all your partitions

Expected behavior
Present dialog that new partitions will be created for boot and encrypted root, use default size for boot ie 2gb and allocate rest of free space to root.

@classy-giraffe
Copy link
Owner

This is WIP. The issue with dual boot is that there's no standard way to achieve that (you could have a multi-disk setup with a single EFI partition, a multi-disk setup with 2 EFI partitions, a single disk setup which requires shrinking an NTFS partition offline, which is quite complicated). I'd really like to come up with something that cover dual boot setups though.

@classy-giraffe classy-giraffe added the enhancement New feature or request label Oct 12, 2023
@classy-giraffe classy-giraffe self-assigned this Oct 12, 2023
@erenoglu
Copy link
Author

yes it can be endless. My recommendation would be to start with simplest case which shall cover 95% of the setups, ie single disk, Windows installed by default in factory, user pre-shrinked Windows and created empty space. So, you have EFI partition already to host ReFind or Grub, then create a 1GB boot partition (if required for easy encryption), and then create another partition for the rest of the system.

@classy-giraffe
Copy link
Owner

Could try to come up with something indeed. I also usually don't like to have linux and windows share the same EFI partition cause it happened to me multiple times that Windows deleted GRUB files and I ended up with a non functioning instance. Of course, if you just have one disk this is all you can do, unfortunately...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants