LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 02-04-2017, 04:41 PM   #1
wowbaggerHU
Member
 
Registered: Feb 2017
Location: Hungary
Distribution: Slackware
Posts: 288

Rep: Reputation: Disabled
will efibootmgr brick my Intel Mac mini?


Hello Everyone,

I recently bought a late 2012 Mac mini, and I by now managed to install Slackware64 14.2 on it.
The install was done in UEFI native mode, the partition layout is GPT, and I installed elilo as the default boot location on the EFI System Partition. (/boot/bootx64.efi)
Currently Slackware is the only OS on the machine, and I intend to keep it that way.

The system works fine, but I haven't installed a boot menu entry for elilo, and I have to rely on the fallback/default boot loader location for the machine to pick up elilo.
Installing the bootloader entry is explicitly contraindicated in README_UEFI.TXT, saying that efibootmgr might brick my Mac Mini.

"Next you'll be asked if you want to install a new menu
entry for your Slackware system in your UEFI firmware. Unless you are using
an Intel Mac, it is suggested that you do this. ...
... If you are using an Apple Intel Mac, DO NOT TRY TO
INSTALL A MENU ENTRY! It would probably brick your firmware requiring Apple
to service the machine to reflash the firmware. On other machines that use
UEFI, it is highly recommended to add the menu entry to make it easier to
chose an operating system at boot."

This warning is still present in the slackware-current file too.
Is it still dangerous in 2017 to try and use efibootmgr on a late 2012 Mac mini?
Is there maybe a more recent version of efibootmgr that works better with Intel Macs?
Have any of you used efibootmgr to install a boot entry on Intel Macs? Did it work for you?

Thanks for your help!
 
Old 02-04-2017, 11:42 PM   #2
khronosschoty
Member
 
Registered: Jul 2008
Distribution: Slackware
Posts: 648
Blog Entries: 2

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
I recommend using refind. SlackbBuilds.org has a script for it. https://slackbuilds.org/repository/1...?search=refind

Last edited by khronosschoty; 02-04-2017 at 11:58 PM.
 
1 members found this post helpful.
Old 02-05-2017, 09:25 AM   #3
laprjns
Member
 
Registered: Oct 2005
Location: Connecticut USA
Distribution: SalixOS
Posts: 206

Rep: Reputation: 108Reputation: 108
If you are trying to avoid using efibootmgr to set a boot menu entry, then don't install rEFInd using Slackware since the rEFInd installer script uses efibootmgr to set rEFInd as the default boot option. It looks to me like the people who install rEFInd on a Mac do so from the Max OS where the rEFInd installer uses bless.
Since you are only going to use Slackware on this computer, then why take the chance of changing anything, just boot using the /boot/bootx64.efi
 
2 members found this post helpful.
Old 02-05-2017, 09:29 AM   #4
khronosschoty
Member
 
Registered: Jul 2008
Distribution: Slackware
Posts: 648
Blog Entries: 2

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
Quote:
Originally Posted by laprjns View Post
If you are trying to avoid using efibootmgr to set a boot menu entry, then don't install rEFInd using Slackware since the rEFInd installer script uses efibootmgr to set rEFInd as the default boot option. It looks to me like the people who install rEFInd on a Mac do so from the Max OS where the rEFInd installer uses bless.
Since you are only going to use Slackware on this computer, then why take the chance of changing anything, just boot using the /boot/bootx64.efi
Oh wow, I over looked that. I have installed refind from within Slackware, and had no issues with my Macbook pro 13" mid 2010.
 
Old 02-05-2017, 02:35 PM   #5
wowbaggerHU
Member
 
Registered: Feb 2017
Location: Hungary
Distribution: Slackware
Posts: 288

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by laprjns View Post
Since you are only going to use Slackware on this computer, then why take the chance of changing anything, just boot using the /boot/bootx64.efi
That is exactly what I'm doing currently.

I was just wondering whether that efibootmgr vs Intel Macs thing is still real. Maybe someone here has already tried it, and made it work with the Mac model I currently have.
I also was curious about the origin of this warning. Perhaps where this warning originally came from, I could get exact model mumbers where it did not work.

Currently efibootmgr lists the current bootloader config:

Code:
root@mac-mini:~# efibootmgr -v
BootCurrent: 0000
Timeout: 5 seconds
BootOrder: 0080
Boot0080* Mac OS X      ACPI(a0341d0,0)PCI(1f,2)03120a00000000000000HD(2,64028,7456ce40,aee237d2-0eb7-4fe3-8f86-c166ebcbd205)
BootFFFF*       ACPI(a0341d0,0)PCI(1f,2)03120a00000000000000HD(3,69ac6d88,6400000,00001686-2f71-0000-952a-0000ec450000)File(\System\Library\CoreServices\boot.efi)
I'm also wondering whether the EFI boot timeout could be modified safely with this model.
Could someone please confirm?
 
Old 02-05-2017, 06:11 PM   #6
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
I wouldn't take the risk. Anyway it wouldn't hurt to update your firmware including this securitu update. https://support.apple.com/kb/DL1823?locale=en_US

Also, if you firmware includes a EFI shell (no idea if tht's the case) installing in /efi/boot/EFI a startup.nsh file giving the path to elilo could speed up the boot a bit. If not, that won't hurt. Just type as root:
Code:
echo "EFI\Slackware\elilo" > /boot/efi/startup.nsh
 
Old 02-14-2017, 02:56 AM   #7
wowbaggerHU
Member
 
Registered: Feb 2017
Location: Hungary
Distribution: Slackware
Posts: 288

Original Poster
Rep: Reputation: Disabled
In the end, I used the OSX installer, to "bless" my elilo boot loader.

The details can be found here: http://www.linuxquestions.org/questi...lo-4175599636/
 
1 members found this post helpful.
Old 02-14-2017, 03:43 AM   #8
khronosschoty
Member
 
Registered: Jul 2008
Distribution: Slackware
Posts: 648
Blog Entries: 2

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
Quote:
Originally Posted by wowbaggerHU View Post
In the end, I used the OSX installer, to "bless" my elilo boot loader.

The details can be found here: http://www.linuxquestions.org/questi...lo-4175599636/
Smart move IMO.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Compatibility with Mac mini Intel? truscellino Studio 13.37 14 02-01-2016 04:46 PM
FC5 - Installing on Intel Mac Mini muzicman82 Fedora 10 01-29-2007 11:53 AM
Fedora Core 5 on a Mac Mini Intel RonGG Linux - Software 3 01-16-2007 01:05 PM
Intel Mac mini and World of warcraft colinstu General 4 05-27-2006 08:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation

All times are GMT -5. The time now is 01:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration