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 installing from macOS running from external storage #250

Open
RoundDuckKira opened this issue Jan 9, 2024 · 2 comments
Open

Support installing from macOS running from external storage #250

RoundDuckKira opened this issue Jan 9, 2024 · 2 comments

Comments

@RoundDuckKira
Copy link

kira@Kiras-Mac-mini installer % curl https://alx.sh | sh                                                                                                       
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1808  100  1808    0     0   1514      0  0:00:01  0:00:01 --:--:--  1515

Bootstrapping installer:
  Checking version...
  Version: v0.7.1
  Downloading...
  Extracting...
  Initializing...

The installer needs to run as root.
Please enter your sudo password if prompted.
Password:

Welcome to the Asahi Linux installer!

This installer will guide you through the process of setting up
Asahi Linux on your Mac.

Please make sure you are familiar with our documentation at:
  https://alx.sh/w

Press enter to continue.


Collecting system information...
  Product name: Mac mini (2023)
  SoC: Apple M2
  Device class: j473ap
  Product type: Mac14,3
  Board ID: 0x24
  Chip ID: 0x8112
  System firmware: iBoot-10151.61.4
  Boot UUID: B2FEADD9-EFE9-43DF-B90F-17C0A1FEE961
  Boot VGID: B2FEADD9-EFE9-43DF-B90F-17C0A1FEE961
  Default boot VGID: B2FEADD9-EFE9-43DF-B90F-17C0A1FEE961
  Boot mode: macOS
  OS version: 14.2.1 (23C71)
  OS restore version: 23.3.71.0.0,0
  Main firmware version: 14.2.1 (23C71)
  No Fallback System Firmware / rOS
  SFR version: 23.3.71.0.0,0
  SystemRecovery version: 23.3.64.0.0,0 (14.2 23C64)
  Login user: kira

Collecting partition information...
  System disk: disk0

Collecting OS information...

Partitions in system disk (disk0):
  1: (free space: 245.11 GB)
  2: APFS (System Recovery) (5.37 GB, 2 volumes)
    OS: [  ] recoveryOS v14.2.1 [Primary recoveryOS]

  [B ] = Booted OS, [R ] = Booted recovery, [? ] = Unknown
  [ *] = Default boot volume

Unable to determine primary OS.
This installer requires you to already have a macOS install with
at least one administrator user that is a machine owner.
Please run this installer from your main macOS instance or its
paired recovery, or ensure the default boot volume is set correctly.

I have macOS 14 on my external SSD, and I did have macOS 14 internally too, but I deleted it via diskutil in the hopes that I could have room for Asahi Fedora Remix, but it ended up in a situation to where it can't find the macOS on the external drive and gives up.

@marcan
Copy link
Member

marcan commented Jun 1, 2024

This is not a bug. It is not possible to install anything without having macOS installed first, as you need macOS (machine owner) credentials to authorize the install.

At some point in the future, there will be an option to overwrite an existing macOS and take over its machine owner credentials, once we have SEP support to manage that from Linux. But it will always be required to have a macOS install to begin with (with first-time setup completed and an admin user created), even if at some point it becomes possible to do the install process from recoveryOS and delete it as part of the installation process.

@marcan marcan closed this as completed Jun 1, 2024
@marcan marcan closed this as not planned Won't fix, can't repro, duplicate, stale Jun 1, 2024
@marcan marcan reopened this Jun 1, 2024
@marcan
Copy link
Member

marcan commented Jun 1, 2024

Sorry, I misread. I see you do have macOS, just on an external SSD. Right now we don't support that in the installer to pull auth credentials from (there are complications of that use case due to components getting provisioned in a different way for "external" macOS installs, since the machines don't actually support "external" boot at all). I'll leave this open since we should track support for that at some point.

That said, note that you are expected to keep that external macOS install around to handle upgrades at this time, until we have support for full machine owner user creation and SFR update triggering. If you were to install Asahi like this and then erase your external drive, you would have an unsupported system and might run into trouble in the future.

@marcan marcan changed the title Can't install Asahi Linux after deleting macOS from SSD Support installing from macOS running from external storage Jun 1, 2024
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

No branches or pull requests

2 participants