LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 12-12-2012, 11:27 AM   #16
folkenfanel
Member
 
Registered: Sep 2004
Location: formerly Fanelia and Zaibach
Distribution: Slackware-current with KDE 4.8.5
Posts: 303

Rep: Reputation: 35
Wink [SOLVED] The devil is in the details


Hi fellow Slackers

GRUB2 (aka 2.00), as opposed to GRUB (aka GRUB Legacy or 0.97), supports UEFI out of the box. grub.efi (or grubx64.efi) are the EFI binaries which can be generated either by GRUB2 or GRUB legacy.

efibootmgr works by accessing the efi_vars. I can not access them, since I'm on 32 bit Slackware. (the chicken and egg thing: even having booted with EFI it's like i booted from the install CD). That is also the reason I'm not using ELILO, since the 32 bit ELILO EFI binary can not load a 32 bit kernel. GRUB can, as a matter of fact I'm writing this from such a box.

Being unable to "normally" make the firmware aware of my bootloaders (cd: /sys/firmware/efi/vars/: No such file or directory), I have 3 options, the third one being too immoral to discuss (involves using the dark side of the Force).

1. (aka the correct one): Manually adding the entry using bcfg. The problem is, this Tianocore-based EFI seems to have shell 1.0, which does not have bcfg.

2. (aka the practical one): copy grubx64.efi to \EFI\bootx64.efi (overwriting anything there) which is what i finally did.

Next things to do with this laptop: enable Bumblebee (I compiled everything but the modded Mesa: it loads some games saying it loads the nvidia driver, but crashes sometimes) and the touchpad (sadly, xinput --list-props 14 | grep Capabilities reports "Synaptics Capabilities (314): 1, 0, 0, 1, 1, 1, 1", which means I do not have a physical right button). If you own such a Lenovo Z480, do not attempt to use the NVIDIA drivers without bumblebee: you will get a black screen and a nice inverted screen when returning to open source drivers.

GRUB2 works very well, it's skinnable, and it is possible to manually configure it. I'll test the firmware shell (which I just downloaded) later.

In short, if you want to install x86 32-bit Slackware to a new x86_64 capable laptop with EFI and a GPT disk, use GRUB2.

If you are using x86_64 64 bit Slackware, just have a relocatable EFI enabled 3.6 or later kernel and overwrite bootx64.efi with it (assuming you're using only Slackware). Or use ELILO. (do have in mind that ELILO can only boot Linux, but having access to efi_vars you might also be able to run efibootmgr to properly set it up together with other bootloaders).

Last edited by folkenfanel; 12-12-2012 at 11:30 AM. Reason: mark as solved?
 
Old 12-13-2012, 08:40 AM   #17
AlleyTrotter
Member
 
Registered: Jun 2002
Location: Coal Township PA
Distribution: Slackware64-14.1 (3.16.0) UEFI enabled
Posts: 348

Rep: Reputation: 71
One small point
elilo will boot both 32 and 64 bit kernels
actually 2 small points
if you can't access the 'efivars' you are in a legacy boot.
Most EFI/UEFI/WINDOWSBOOT systems simply fall thru to legacy if there is a problem in their setup.
try modprobe efivars
They are available at /sys/firmware/efi/vars/
whenever you are booted thru efi or uefi even in 3.2.29. In legacy (MBR) they are not created
John

PS I initially got booted in efi by building a stub kernel. Then ran efibootmgr to add a slot.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] GRUB2 build errors running slackware64-current (slackware 14) squid890 Slackware 10 07-02-2013 11:23 PM
[SOLVED] GRUB2 after a minor update of GRUB2 /boot prefix no longer needed?? wikapuki Linux - Software 1 10-24-2010 02:39 PM
Using GRUB2 and want to boot Slackware in different resolution cwwilson721 Slackware 4 09-10-2010 10:51 PM
Starting slackware installer via grub2 jordanwb Slackware 3 08-31-2010 03:39 PM
[SOLVED] Trying to chainboot Slackware from Grub2 trumpet_tom Slackware 3 06-07-2010 11:35 AM


All times are GMT -5. The time now is 06:31 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration