t2linux / T2-Ubuntu

Ubuntu for T2 Macs
606 stars 52 forks source link

livecd-5.10.52-mbp-16x-wifi black screen / hangs on 'loading initial ramdisk' #43

Closed jfedgar closed 3 years ago

jfedgar commented 3 years ago

I have attempted to install the livecd-5.10.52-mbp-16x-wifi version on my 2018 16 inch mbp.

The installation appeared to go smoothly and I can boot back into the boot options screen and select the EFI disk.

This gives me a grub bootloader menu where I can select Ubuntu or advanced options.

If I select "Ubuntu" I just get a black screen. If I try to boot in recovery mode it outputs this:

Loading Linux 5.10.52-mbp-16x-wifi ...
Loading initial ramdisk ...
_

I also tried the earlier kernel version option from the menu just for fun (5.x.x) which actually loaded an ubuntu login screen, but the keyboard and mouse did not work at all (I expected this, but just thought I would add that).

AdityaGarg8 commented 3 years ago

https://github.com/marcosfad/mbp-ubuntu/releases/tag/v20.04-5.7.19-1

This one has been tried and tested on 16 inch.

AdityaGarg8 commented 3 years ago

You may upgrade your kernel after installation by following https://wiki.t2linux.org/guides/wifi/

AdityaGarg8 commented 3 years ago

I also request you to share your Model Identifier by running system_profiler SPHardwareDataType | grep "Model Identifier" on macOS

jfedgar commented 3 years ago

Thanks, that worked!

Also, yeah, it turned out to be a MacbookPro15,1. I was mistaken.

The fix:

I installed the 20.04-5.7.x.x (not -alt version) linked above, which worked and then followed the t2linux.org guide above for getting wifi installed (which involved copying some files from a website into the new linux distro to update the firmware).

After this, the wifi initially would not authenticate (but it did work with open networks). But, after following these instructions: https://wiki.t2linux.org/guides/wifi/#fixing-unstable-wpa2-using-iwd everything appears to be working smoothly.

AdityaGarg8 commented 3 years ago

Thanks, that worked!

Also, yeah, it turned out to be a MacbookPro15,1. I was mistaken.

The fix:

I installed the 20.04-5.7.x.x (not -alt version) linked above, which worked and then followed the t2linux.org guide above for getting wifi installed (which involved copying some files from a website into the new linux distro to update the firmware).

After this, the wifi initially would not authenticate (but it did work with open networks). But, after following these instructions: https://wiki.t2linux.org/guides/wifi/#fixing-unstable-wpa2-using-iwd everything appears to be working smoothly.

https://wiki.t2linux.org/guides/dkms/

Follow this to upgrade your drivers as the ISO you used has old ones.

You may upgrade your kernel as per your choice by taking it from https://github.com/marcosfad/mbp-ubuntu-kernel

jfedgar commented 3 years ago

Thank you so much for the help. This project and the people on it are awesome.

I have what is likely a really really dumb question.

If I now upgrade to 5.10.x through that link, will it break as it did before? If not, can you give a brief summary of why that is the case (if not, no big deal, just purely for my curiosity, as it seems like if it broke on initial installation it would break on upgrade).

Thanks again!

AdityaGarg8 commented 3 years ago

It shouldn't break

AdityaGarg8 commented 3 years ago

I don't know why it breaks during installation

AdityaGarg8 commented 3 years ago

Most probably it's due to the 2001 drm patch which wasn't in 5.7.19 mbp iso