Getting Trisquel 8 Working on Macs
So, I'm now trying the screen brightness fix. It starts by saying that I need to have the kernel headers (e.g. linux-header-generic) installed for the kernel I'm compiling for. I also need the build tools (build-essential or similar).
How do I get them?
Try 'sudo apt-get install build-essential module-assistant'.
So, I reached the "make" stage, and I get the following error:
make -C /lib/modules/4.15.0-30-generic/build M=/home/user/mba6x_bl modules
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-30-generic'
Makefile:976: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel"
Building modules, stage 2.
MODPOST 1 modules
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-30-generic'
I think that's self-explanatory. Find out the missing dependencies and the required packages and install them. Then, start over where it was left and try again.
"I think that's self-explanatory."
To you, maybe.
"Find out the missing dependencies and the required packages and install them."
You mean these: "please install libelf-dev, libelf-devel or elfutils-libelf-devel"?
Is it as simple as "sudo apt-get install libelf-dev" etc.?
It's been a while. I can't give you the exact names of the packages (I would if I remembered them and I didn't write them down). Try to find them by name (synaptic). All I can recall I tried a few packages and eventually I got all dependencies right.
I installed git, make and gcc. That's what I wrote down.
"The first installed Ubuntu, keeping a macOS partition. The only issues he's had have been adjusting screen brightness, which he fixed by switching to an older kernel, and hibernation, which I'm not sure if he's figured out by now."
What MBP models do your friends have?
Even with Ubuntu, there were compatibility issues? I thought Ubuntu would fare the best in terms of compatibility. Did they install the "third-party" software during installation of the system?
"The other got rid of macOS completely and installed Trisquel 8. The only hardware that didn't work was WiFi, as expected."
So, T8 has greater hardware compatibility than Ubuntu? What could be done to fix the Wi-Fi? Install proprietary firmware?
> What MBP models do your friends have?
The one running Ubuntu has a Macbook Pro Retina, from around 2013 I think. The one running Trisquel is newer, from around 2015.
> Did they install the "third-party"
> software during installation of the system?
I don't think so, but he enabled the Restricted repo with proprietary firmware.
> So, T8 has greater hardware compatibility than Ubuntu?
I don't think so. I suspect that Macbook model and kernel are what made the difference in this case. In general Ubuntu should support more hardware because they compromise user freedom to do so.
> What could be done to
> fix the Wi-Fi? Install proprietary firmware?
Unfortunately the WiFi card will not work without proprietary firmware. I recommend using a Thinkpenguin USB dongle.
One strange thing I noticed now while trying to get Parabola on my MBP 9,1 is that my iMac with Trisquel 8 installed recognize the USB flash with Parabola boot, but the MBP 9,1 in Internet recovery mode does not.
Thought I'd just share this.
And my DVD with and old version of Trisquel 8 is being detected.
So I really feel the DVD's are way more reliable than the USB flashes.
Don't know why though...
I followed the guide of the first/best answerer here: https://apple.stackexchange.com/questions/162705/macbook-pro-not-detecting-bootable-usb-with-yosemite
and now the MBP detected the USB and booted straight to it.
Just thought I'd share
I tried to install Trisquel 8 from the latest iso on Trisquel's download page ( https://trisquel.info/en/download )
on my mbp 9,1 right now, and that didn't work and gave me the same errors some of you were talking about a while back.
Anybody recently installed Trisquel on Macs? What iso image did you use, and did you use DVD or USB?
Also tried the latest Trisquel Mini iso, same problem :/
"The 'grub-efi-amd64' package failed to install into /target/. Without the GRUB boot loader, the installed system will not boot."
> "The 'grub-efi-amd64' package failed to install into /target/. Without the
> GRUB boot loader, the installed system will not boot."
Try installing while connected to the Internet.
Why do you think that will help?
(I will try, I am just wondering what the logic is here. Also cheers on your new prof pic)
Wierd thing.. First it just never went past the black screen with small messages on, with some green and red. I restarted, clicked on "try trisquel without installing", installed from in there, and hey.. now it works.
but anyway yeah seems like the clue was to have Internet connection, but why though?
> but anyway yeah seems like the clue was to have Internet connection, but why
> though?
No idea. I'm glad everything's working now though.
> Why do you think that will help?
My friend got an identical (or at least extremely similar) message when installing Trisquel 8 on his Mac. We ended up reinstalling Trisquel several times that night, and found that the problem only occured when we weren't connected to the Internet. I don't actually understand why, but it's worth trying.
> Also cheers on your
> new prof pic)
Thanks :)
T'was indeed worth trying :)