LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 03-04-2024, 07:01 PM   #1
linuxbird
Member
 
Registered: Feb 2006
Distribution: Slackware
Posts: 543

Rep: Reputation: 36
Legacy LILO install on a UEFI system


I am trying to build a root Slackware 15.0 file system, for a system that is not readily accessible, and sports a 14 year old motherboard, not capable of UEFI boots.

So I am working on a system that has a UEFI bios, but is run in legacy mode. For some reason booting off the Slackware DVD ends up using grub, which I don't really want.

I would like to revert back to a straight LILO based boot on old system, and am trying to do so by creating a new system (legacy) disk on an office Slackware system, with the disc drives disconnected, and only the SSD for the target system, and a CDROM drive. Any guidance on how to disable the grub boot would be appreciated. The MB is a Gigabyte G77 board, on the creating machine.

I did allot of reading but did not identify the solution to this issue, and am looking for some additional guidance.
 
Old 03-05-2024, 02:23 PM   #2
protozoaire
LQ Newbie
 
Registered: Nov 2023
Location: Quebec, Canada
Distribution: Slackware
Posts: 2

Rep: Reputation: 0
@linuxbird, from your OP question, if I undersand correctly :
create a slackware-15.0 LILO booting Drive FOR an old legacy (CMS) system,
this booting Drive (below 'Target') being created on a more recent
UEFI computer (below 'CreatingPC') booted by
slackware-15.0 install DVD (or USB...).

Slackware-15.0 install DVD (or USB...) setup command will
will propose LILO (legacy) boot install to Target, *if* DVD booted legacy (aka CSM),
as for example documented in slackware64-15.0/README_UEFI.TXT, example from
a (slackware mirror) .../slackware/slackware64-15.0/README_UEFI.TXT
Is also in root fs of Installation Drive.

From this slackware-15.0 README_UEFI.TXT I deduce:
if install DVD booted UEFI, or UEFI partition detected, Setup proposes ELILO
to install on target drive;
IF legacy booted (and NO UEFI partition?), Setup proposes LILO
to install on target drive.

So a way to set boot by LILO from slackware-15.0 Setup is:
boot slackware-15.0 Install drive by
CreatingPC BIOS Setup boot Legacy (or CMS) boot, NOT UEFI boot,
not always easy to find.
Or bypass Setup install boot part, ..., and install lilo yourself (lilo.conf, run lilo command, etc...)

Some PCs, as my old Lenovo ThinkPad T520, cannot boot from Drive partitioned GPT,
boot drive must partioned MBR (DOS);
even if its (buggy?) UEFI/BIOS recognize GPT partitioned drives
that can be mounted and worked with.

An aside:
possibly better install a huge kernel, instead of a (generic kernel + initrd),
in case of a Drive created on one PC to run a system on another PC?
OR a (generic kernel + an initrd with all 'modules' of a huge kernel,
is equivalent to a huge kernel?
I am not sure of it.

Umm... good lock; can be touchy, and my deductions subject to modifs!
--
Jean-Pierre de ProtozoWare
 
Old 03-05-2024, 09:04 PM   #3
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,353

Rep: Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590
The dvd may boot using grub and in uefi mode, however setup will give option to install lilo. Make sure the drive is dos and not gpt. On some old legacy systems the partition boot flag needs to be set.
 
  


Reply

Tags
disable grub, legacy boot, lilo



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
INQUIRY - Migration from Legacy to UEFI (lilo / elilo) - Slackware 15.0 bitfuzzy Slackware 18 01-12-2024 10:13 PM
UEFI Class 3 :: To use UEFI, or not to use UEFI? jheengut Slackware 19 12-30-2020 09:24 AM
[SOLVED] Install non-UEFI system from a UEFI USB? andrew.46 Slackware 10 04-08-2020 11:28 PM
[SOLVED] Can you install Fedora Grub UEFI over legacy? Chortle Buffer Linux - Laptop and Netbook 5 09-22-2019 06:55 AM

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

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