-
Notifications
You must be signed in to change notification settings - Fork 31
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
[install] Issue flashing MacBook Pro (2016) internal NVMe (booting) #544
Comments
Thanks for reporting this issue, @loicloic ! I've only tried winesapOS on internal drives on non-Mac desktops and laptops. The only Mac I have is for work so I can't wipe the internal drive. I'll do some research online and see if there are any known issues with Linux being setup like this on a Mac. |
@loicloic What model and year MacBook do you have? I suspect the problem is that newer Macs with the T2 security chip require special drivers to access much of the underlying hardware (including the NVMe drive). It's a possible situation where Linux bootloader can't even access or understand what internal storage is available yet. The bootloader is essentially lost. That's my current theory, anyways. |
@LukeShortCloud it’s not a T2 laptop. It’s a Macbook Pro 15” 2016, Model Number is A1707 hosting a T1 chip. |
@loicloic Thanks for confirming! My theory must be wrong then and we can at least rule out the T2 chip being a problem. The T1 chip is way less invasive and should have better native Linux support. |
@LukeShortCloud you’re welcome. Just to reiterate a point I made above if I boot from external I can then see and flash the NVMe. I don’t know enough about the linux boot process / initramfs but this seems to be “missing” the drivers to access the NVMe because “a full kernel” can see it as mentioned. |
Yeah, I've been able to successfully test booting from an external USB device on a wide range of Mac hardware in the past. I'm not sure how to workaround the internal storage issues. It seems like a "chicken or the egg" kind of problem. |
rEFInd may be the actual solution we need. It's a bootloader that helps to boot standard UEFI operating systems (i.e., Linux and Windows) on a Mac. https://www.rodsbooks.com/refind/ The problem is that installing winesapOS would wipe out that bootloader if it's installed. This likely depends on us finishing having a live image installer. |
Indeed. Been using rEFInd for a while and I think you're right with the issue Hope #370 is the way to fix this. Thanks for keeping an eye on this issue! |
The biggest blocker at this point is that I need to get a personal MacBook Pro to try this on. I'm happy to try to get this to work! |
Here are some good hints. These are the key takeaways for me:
https://0xadada.pub/2016/03/05/install-encrypted-arch-linux-on-apple-macbook-pro/ I still need to get my hands on an Intel Mac before I can automate all this. |
Here's how to have Linux boot by default instead of macOS:
https://github.com/kyoz/mac-arch#make-arch-duo-bootable See also: https://github.com/pandeiro/arch-on-air |
I found more context about this https://bbs.archlinux.org/viewtopic.php?id=275322 |
I bought a cheap non-T2 Mac for testing. I hope to able to test and replicate this issue in the near future. |
Here is another good guide I will try out: https://linuxnewbieguide.org/how-to-install-linux-on-a-macintosh-computer/ |
what type of mac and version of winesapos are you using since there could be a chance of a kernel error |
I've put the MacBook in target disk mode and used Balena Etcher to flash the image to it, it doesn't show as a boot device nor boot (Option key at boot). I also tried dd'ing to the same result.
I've successfully booted from a mass storage so I also tried using Balena Ether from within winesapOS to flash the image to the NVMe. same result.
What am I doing wrong here ?
The text was updated successfully, but these errors were encountered: