LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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-14-2018, 04:56 AM   #16
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,060

Rep: Reputation: Disabled

Quote:
Originally Posted by xj25vm View Post
I have noticed that - but reading the docs, rEFInd does not include a boot loader, only a boot manager. So it would still be the question of using rEFInd with eLilo or Grub2 (or perhaps the Kernel stub loader).
rEFInd, eLiLo and GRUB2 all provide an EFI image (PE/COFF executable) that is an application acting both as a boot manager (allowing to choose the kernel and optionally initrd to load) and a boot loader (actually loading the kernel and optionally the initrd chosen). But the kernel EFI stub acts only as a boot loader (it loads itself). As an aside, the proper naming is not boot loader, rather OS loader.

Last edited by Didier Spaier; 12-14-2018 at 04:58 AM.
 
Old 12-14-2018, 05:20 AM   #17
chrisVV
Member
 
Registered: Aug 2010
Posts: 548

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Quote:
Originally Posted by xj25vm View Post
I have noticed that - but reading the docs, rEFInd does not include a boot loader, only a boot manager. So it would still be the question of using rEFInd with eLilo or Grub2 (or perhaps the Kernel stub loader).
The linux kernel provided by slackware is compiled with CONFIG_EFI_STUB set, so it will load fine with refind without the need for elilo or grub. I use refind myself (64-bit EFI though).

Edit: this is with slackware current. You would need to ask someone else whether the slackware-14.2 kernel is also compiled with CONFIG_EFI_STUB set, but I would be very surprised if it wasn't.

Last edited by chrisVV; 12-14-2018 at 05:25 AM. Reason: Refer to slackware-current
 
Old 12-14-2018, 05:37 AM   #18
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,060

Rep: Reputation: Disabled
More info about the EFI stub:
Quote:
EFI mixed-mode support (EFI_MIXED)

CONFIG_EFI_MIXED:

Enabling this feature allows a 64-bit kernel to be booted
on a 32-bit firmware, provided that your CPU supports 64-bit
mode.

Note that it is not possible to boot a mixed-mode enabled
kernel via the EFI boot stub - a bootloader that supports
the EFI handover protocol must be used
So, you are out of luck for the EFI stub, and probably also for eLiLo (old code, that probably does not handle the EFI handover protocol), although you still may try.

A recent GRUB2 (version 2.02) could probably do it, and also rEFInd.

Last edited by Didier Spaier; 12-14-2018 at 05:38 AM.
 
1 members found this post helpful.
Old 12-14-2018, 05:39 AM   #19
xj25vm
Member
 
Registered: Jun 2008
Posts: 393

Original Poster
Rep: Reputation: 68
Quote:
Originally Posted by Didier Spaier View Post
More info about the EFI stub:
So, you are out of luck for the EFI stub, and probably also for eLiLo (old code, that probably does not handle the EFI handover protocol), although you still may try.

A recent GRUB2 (version 2.02) could probably do it, and also rEFInd.
Thank you - things are finally becoming a bit clearer.
 
Old 12-14-2018, 06:04 AM   #20
chrisVV
Member
 
Registered: Aug 2010
Posts: 548

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Quote:
Originally Posted by xj25vm View Post
I have noticed that - but reading the docs, rEFInd does not include a boot loader, only a boot manager. So it would still be the question of using rEFInd with eLilo or Grub2 (or perhaps the Kernel stub loader).
Since the computer you have bought seems to have only 4GB of memory, I suspect you will get better performance with a 32-bit kernel with PAE (which the 32-bit slackware kernel provides). I have an old 64-bit capable Sandybridge desktop with 4GB memory and it works better with a 32-bit OS, particularly when compiling stuff. You then don't have to bother with booting in mixed mode. But your mileage might vary.
 
Old 02-05-2021, 11:37 AM   #21
jheengut
Member
 
Registered: Sep 2006
Location: Providence, Moka Mauritius
Distribution: Slackware, Lubuntu
Posts: 352
Blog Entries: 16

Rep: Reputation: 51
Hi,

Did it work? I have read that slackware-14.2 does not support uefi.

I have a similar hardware. elilo-ia32.efi is loaded by UEFI but not elilo-x86_64.efi.
I can confirm that elilo-ia32.efi does not boot 64-bit kernel.

Last edited by jheengut; 02-05-2021 at 11:41 AM.
 
Old 02-05-2021, 12:05 PM   #22
ZhaoLin1457
Senior Member
 
Registered: Jan 2018
Posts: 1,024

Rep: Reputation: 1213Reputation: 1213Reputation: 1213Reputation: 1213Reputation: 1213Reputation: 1213Reputation: 1213Reputation: 1213Reputation: 1213
Quote:
Originally Posted by xj25vm View Post
I am going by one of the detailed reviews at the bottom of this page - the reviewer installed Linux on it:

https://www.amazon.co.uk/Beelink-Win...dp/B074FPRX82/

Also, it seems many of these mini pc's with Atom inside have the 32bit UEFI installed - according to the article below to save costs - but I'm not sure I follow completely the gist of the article:

https://software.intel.com/en-us/blo...on-x64-systems
I have a mini-PC quite similar with this Beelink box:

Minisforum Z83-F with Atom x5-Z8350, 4GB RAM DDR3 1066MHz and 64GB eMMC.

Its original software is Windows 10 Pro 64bit, I am pretty sure that it have 64bit UEFI and it runs perfectly Slackware64 -current from a SD-card formatted F2FS.
 
Old 02-05-2021, 12:27 PM   #23
qunying
Member
 
Registered: Jun 2002
Distribution: Slackware
Posts: 257

Rep: Reputation: 147Reputation: 147
rEFInd is much more easier and better for configuration for me than grub2. I have use rEFInd since I discover it. It could boot linux kernel (with EFI stub compiled in) without problem. IMHO, grub2 is over engineered and hard to use.
 
Old 02-06-2021, 10:41 AM   #24
jheengut
Member
 
Registered: Sep 2006
Location: Providence, Moka Mauritius
Distribution: Slackware, Lubuntu
Posts: 352
Blog Entries: 16

Rep: Reputation: 51
Quote:
Originally Posted by qunying View Post
IMHO, grub2 is over engineered and hard to use.
I cannot agree more
 
Old 02-06-2021, 11:03 AM   #25
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,060

Rep: Reputation: Disabled
If you want to fine tune your installation there's indeed a lot to learn to master GRUB, really a lot. Is that what you mean?

On the other hand, most often you have at most two commands to type as root:
grub-install <target drive>
grub-mkconfig -o /boot/grub/grub.cfg

The first command when you install the system, the second before rebooting when you have installed a new kernel/initrd

Do you want full automation or do it yourself? You choice, but doing it yourself needs learning, there's nothing we can do about it. Then, in addition to "info grub" you may want to read the documentation on ArchWiki.

Last edited by Didier Spaier; 02-06-2021 at 11:04 AM.
 
  


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
Can't get dual boot, win 7 uefi and elementary freya os uefi working shywolf Linux - Newbie 4 12-10-2015 06:14 PM
how to install linux mint side by side windows into an uefi machine without uefi partition valgalsan Linux - Newbie 2 11-03-2015 12:25 PM
Can't install LM 32bit with UEFI disabled on UEFI Asus X200MA laptop dblaisde Linux Mint 3 10-15-2015 05:37 AM
Help Creating UEFI A MENU For My Bootable (BIOS/UEFI) CDROM ssenuta Linux - Hardware 0 08-27-2012 09:11 PM
Fedora 13 32bit and then Linux Mint 32bit and then Ubuntu 10.04 32bit ciao303 Linux - Newbie 3 08-09-2010 11:03 PM

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

All times are GMT -5. The time now is 09:16 PM.

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