LinuxQuestions.org
Visit Jeremy's Blog.
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 09-22-2016, 10:17 AM   #1
ajevremovic
Member
 
Registered: May 2011
Location: Serbia
Posts: 82

Rep: Reputation: 40
Slack 14.2 - Skip UEFI, install with BIOS/LILO


Hi everybody,

Is there a way to skip UEFI/ELILO and install classic BIOS/LILO with Slackware 14.2?

My new thinkpad used regular BIOS/LILO with Slackware 14.1, but with Slack 14.2 UEFI is used automatically.

Also, I found a way to use LILO with Slack 14.2 -> I install Slack on my old Thinkpad that has no UEFI support, then I move hard-drive to the new Thinkpad. However, I'm not very happy with this solution

Best,
Aleksandar
 
Old 09-22-2016, 11:37 AM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
In case of an UEFI firmware you may and can still install lilo: skipping it just suggested by the installer, not mandatory.

Actually you can install both lilo and elilo, this doesn't hurt at all.

I have done that with my Thinkpad that has an hybrid (UEFI + Legacy aka BIOS) firmware.

When I boot in UEFI mode elilo is used, in Legacy mode lilo is used.

PS if you set the firmware of your Thinkpad to boot in Legacy mode the installer will only propose lilo

Last edited by Didier Spaier; 09-22-2016 at 11:47 AM.
 
1 members found this post helpful.
Old 09-22-2016, 03:51 PM   #3
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 1,254

Rep: Reputation: 220Reputation: 220Reputation: 220
Quote:
Originally Posted by Didier Spaier View Post
In case of an UEFI firmware you may and can still install lilo: skipping it just suggested by the installer, not mandatory.

Actually you can install both lilo and elilo, this doesn't hurt at all.

I have done that with my Thinkpad that has an hybrid (UEFI + Legacy aka BIOS) firmware.

When I boot in UEFI mode elilo is used, in Legacy mode lilo is used.

PS if you set the firmware of your Thinkpad to boot in Legacy mode the installer will only propose lilo
That's true. I also like the method described by you. You can use this to rescue your system when the main boot loader (elilo, grub, ...) refuses to boot. Just enable the BIOS compatibility mode and lilo (stored in the protective MBR area) should be able boot your computer.

.

Last edited by zk1234; 09-22-2016 at 03:55 PM.
 
1 members found this post helpful.
Old 09-22-2016, 10:40 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Are you serious ?.
gpt has *nothing* to do with UEFI - even in compatibility mode, gpt should be respected and used as such. gpt is also usable on true BIOS firmware (not UEFI in compatibility mode) and has been for ages.

Ugh - no wonder I never went back to lilo all those years ago.
I had Win10 preview mess with gpt disks like that and broke Linux disk management tools.
 
Old 09-23-2016, 12:45 AM   #5
ajevremovic
Member
 
Registered: May 2011
Location: Serbia
Posts: 82

Original Poster
Rep: Reputation: 40
Quote:
Originally Posted by Didier Spaier View Post
In case of an UEFI firmware you may and can still install lilo: skipping it just suggested by the installer, not mandatory.

Actually you can install both lilo and elilo, this doesn't hurt at all.

I have done that with my Thinkpad that has an hybrid (UEFI + Legacy aka BIOS) firmware.

When I boot in UEFI mode elilo is used, in Legacy mode lilo is used.

PS if you set the firmware of your Thinkpad to boot in Legacy mode the installer will only propose lilo
Well, then I think my ThinkPad E540 (I wouldn't recommend this model for many reasons!) has bug with booting. If I set 'Legacy only' in BIOS, I can't boot from USB drive. It is displayed in boot options list (after BIOS) but, when I select it and press Enter, screen goes black for one second, and then returns to boot options list.
 
Old 09-23-2016, 07:40 AM   #6
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by syg00 View Post
Are you serious ?.
gpt has *nothing* to do with UEFI
GPT is part of the UEFI spec, so it is understandable that some might mix up what's needed for their systems.

However, you are correct that you don't need UEFI to use GPT. It works fine on BIOS-based systems. But why did you mention this? Your post is the first usage of GPT in this thread...
 
Old 09-23-2016, 07:43 AM   #7
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 1,254

Rep: Reputation: 220Reputation: 220Reputation: 220
Quote:
Originally Posted by bassmadrigal View Post
Your post is the first usage of GPT in this thread...
I was about to ask the same question...

.
 
Old 09-23-2016, 07:48 AM   #8
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Quote:
Originally Posted by zk1234 View Post
... and lilo (stored in the protective MBR area)
Only relevant to gpt.
 
Old 09-23-2016, 11:13 AM   #9
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 1,254

Rep: Reputation: 220Reputation: 220Reputation: 220
Quote:
Originally Posted by syg00 View Post
Only relevant to gpt.
Really? It has nothing to do with my post.
 
Old 10-15-2016, 08:31 AM   #10
luvr
Member
 
Registered: May 2005
Location: Boom - The Home Town of Tomorrowland, Belgium
Distribution: Slackware, Xubuntu
Posts: 459
Blog Entries: 2

Rep: Reputation: 194Reputation: 194
Quote:
Originally Posted by ajevremovic View Post
My new thinkpad used regular BIOS/LILO with Slackware 14.1, but with Slack 14.2 UEFI is used automatically.
Sounds awfully strange to me. On a "normal" UEFI computer, you can select Legacy BIOS mode (or "CSM", as we appear to be expected to call it today), and the computer should behave like a regular old BIOS computer. I suppose that's what you did. It's what I have done on my laptop as well.

So, now your Thinkpad suddenly switches back to UEFI mode, when you attempt to install Slackware 14.2? That's certainly not what's supposed to be happening. I certainly cannot explain it, and I wouldn't be happy when it happened to me. (Fortunately, my laptop isn't doing this to me.)

As a sidenote, and now that GPT has crept in to this thread anyway: I was pleasantly surprised that, with Slackware 14.2, I can install LILO to the boot sector of the GPT partition on which I install Slackware. Nice! (Under Slackware 14.1, this was not possible: LILO could only be set up to the Protective MBR of a GPT disk under BIOS.)
 
Old 10-15-2016, 05:52 PM   #11
laprjns
Member
 
Registered: Oct 2005
Location: Connecticut USA
Distribution: SalixOS
Posts: 206

Rep: Reputation: 108Reputation: 108
Seems to me that it is behaving appropriately. If a UEFI firmware is set to CMS mode, then it can boot both uefi and bios boot loaders. The Slackware installer when burned to a DVD or flashed to a USB removable drive,can be booted in either UEFI or Bios mode. The boot order of the system will determine if the Slackware installer will boot in uefi or bios. Looks to me like the OP system is set to boot removable media in uefi mode before bios mode. There are two choices to get the Slackware installer to run in bios mode. First is to change the boot order in the setup up screen (i believe for a Thinkpad you press F1 a power up). The second way is to bring up the UEFI boot menu (again I believe on a thinkpad you press F12 at power up) and select the boot loader that you want to boot.
 
Old 10-16-2016, 02:50 AM   #12
ajevremovic
Member
 
Registered: May 2011
Location: Serbia
Posts: 82

Original Poster
Rep: Reputation: 40
Well, maybe it's because of laptop - e540 is very problebmatic model in many ways (ugly USB and susped problems), so it's logical to expect another problem with booting.
 
  


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
Lilo breaking Win10 boot (BIOS not UEFI) dalgrim Slackware 10 05-08-2016 09:57 PM
BIOS, UEFI & CSM Boot, GRUB and/or LILO and Windows/Linux Dual Boot rm_-rf_windows Linux - General 4 11-10-2014 08:30 AM
Help Creating UEFI A MENU For My Bootable (BIOS/UEFI) CDROM ssenuta Linux - Hardware 0 08-27-2012 09:11 PM
UEFI vs. BIOS install - Which one should I choose? tauro_kpo Linux - Hardware 4 08-16-2012 04:31 AM

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

All times are GMT -5. The time now is 07:09 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