LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-08-2020, 04:42 AM   #1
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,138

Rep: Reputation: 327Reputation: 327Reputation: 327Reputation: 327
Install non-UEFI system from a UEFI USB?


I plan on reloading my -current installation when 15.0 is released, mostly to sweep away the buildup of cruft on my system. However there is an oddity when booting from a USB key. I make the usb key as follows:

Code:
dd if=slackware64-current-install-dvd.iso of=/dev/sdc bs=512 status=progress
But when I boot from this key I can only successfully boot from the first USB option:

Code:
UEFI: USB 2.0 Flash Disk 8.07 <-------- This one
SSD 1 ....
SSD 2....
USB 2.0 Flash Disk 8.07 <------- But not this one
This successfully boots following a Grub menu and I can then enter the setup menu. Now I want to install Lilo to MBR (legacy boot) without setting up EFI at all, is this possible from here on forward? I am keen to learn this before I nuke my system for the reinstall .

The installer gives a big fat warning:

Code:
No EFI System Partition selected
You will need to ..... (details given for setting up UEFI)
Which is my main concern...
 
Old 04-08-2020, 06:26 AM   #2
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Brú na Bóinne, IE
Distribution: Slackware, NetBSD
Posts: 1,758

Rep: Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266
I take it you have enabled the CSM legacy bios option in your UEFI firmware? Another thing : I have sometimes had trouble booting from the USB 3 ports on my system. Try a USB 2 port, and more than one if you have two or more USB controllers on the board.
 
1 members found this post helpful.
Old 04-08-2020, 11:44 AM   #3
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, fedora,Xubuntu, others
Posts: 4,494

Rep: Reputation: 800Reputation: 800Reputation: 800Reputation: 800Reputation: 800Reputation: 800Reputation: 800
yes it can be done, you can set it up to boot in both legacy and efi mode if you want to. Some of it will depend on your system firmware and what it will allow you to do or not do, depending on your drive type, gpt or msdos and if legacy/csm is enabled.
On a gpt type disk you will need a 1mb bios-boot partition if your plan on using grub to boot in legacy mode. Lilo doesn't require this extra partition in legacy mode.
 
Old 04-08-2020, 05:13 PM   #4
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,138

Original Poster
Rep: Reputation: 327Reputation: 327Reputation: 327Reputation: 327
Quote:
Originally Posted by Gerard Lally View Post
I take it you have enabled the CSM legacy bios option in your UEFI firmware? Another thing : I have sometimes had trouble booting from the USB 3 ports on my system. Try a USB 2 port, and more than one if you have two or more USB controllers on the board.
Legacy BIOS is set and I have been booting from this with lilo on MBR for several months. But interestingly enough I am using a USB 3 port to boot the stick so I will crawl behind and find a USB 2 port...
 
Old 04-08-2020, 05:24 PM   #5
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1.2 on Lenovo Thinkpad W520
Posts: 9,428

Rep: Reputation: Disabled
Why bother? boot the installer and at the configure step, a dialog will suggest you to skip installing LILO and proceed to ELILO installation, but will still allow to install LILO if that's want you want.

EDIT. Maybe in some time you will be proposed to install GRUB instead of LILO/ELILO. Who knows?
EDIT2. Why not use UEFI if this machine can? But OK, that's _your_ machine

Last edited by Didier Spaier; 04-08-2020 at 05:33 PM. Reason: EDIT added.
 
1 members found this post helpful.
Old 04-08-2020, 05:58 PM   #6
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, fedora,Xubuntu, others
Posts: 4,494

Rep: Reputation: 800Reputation: 800Reputation: 800Reputation: 800Reputation: 800Reputation: 800Reputation: 800
Quote:
Legacy BIOS is set and I have been booting from this with lilo on MBR for several months
There should be no problem, I think you will get a warning about no efi partition, but who cares if you plan on booting in legacy mode. The install will ask if you want to install lilo or skip and install elilo.
If Slackware is the only thing on this system, I don't see where it matters what mode you boot in as long as it makes you happy.
 
1 members found this post helpful.
Old 04-08-2020, 07:06 PM   #7
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,138

Original Poster
Rep: Reputation: 327Reputation: 327Reputation: 327Reputation: 327
Quote:
Originally Posted by Didier Spaier View Post
EDIT2. Why not use UEFI if this machine can? But OK, that's _your_ machine
I am set in my ways I guess
 
Old 04-08-2020, 07:12 PM   #8
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 7,238

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Quote:
Originally Posted by colorpurple21859 View Post
There should be no problem, I think you will get a warning about no efi partition, but who cares if you plan on booting in legacy mode. The install will ask if you want to install lilo or skip and install elilo.
If Slackware is the only thing on this system, I don't see where it matters what mode you boot in as long as it makes you happy.
If I remember right, it will only ask to skip lilo and install elilo if the installer media is booted in EFI mode.
 
Old 04-08-2020, 09:49 PM   #9
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,138

Original Poster
Rep: Reputation: 327Reputation: 327Reputation: 327Reputation: 327
Quote:
Originally Posted by bassmadrigal View Post
If I remember right, it will only ask to skip lilo and install elilo if the installer media is booted in EFI mode.
So what I am missing, even though the BIOS menu presents me with the option, is to boot from my usb key in non-UEFI mode...
 
Old 04-08-2020, 10:41 PM   #10
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,138

Original Poster
Rep: Reputation: 327Reputation: 327Reputation: 327Reputation: 327
Well the plot thickens: I used the same syntax, same USB key with the 'official' installation iso for 14.2:

Code:
dd if=slackware64-14.2-install-dvd.iso of=/dev/sdc bs=512 status=progress
and on reboot this performed as expected and there was no mention of UEFI. Ready to install with Lilo to MBR as usual. Has something changed between 14.2 and -current in April 2020 that is confusing my BIOS? The iso for -current I am using is the one that is generated my AlienBob's mirror-slackware-current.sh...

Edit:
I see that I am not creating a hybrid iso with AlienBob's script so I will remake the iso with this set...

Last edited by andrew.46; 04-08-2020 at 10:52 PM.
 
Old 04-08-2020, 11:28 PM   #11
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,138

Original Poster
Rep: Reputation: 327Reputation: 327Reputation: 327Reputation: 327
The thing I love the most about Slackware is the way that it is possible to learn something new every day!! I have solved the issue by creating a hybrid iso, setting the following:

Code:
# If you want a 'hybrid' ISO image which can be copied directly to a USB stick
# to create a bootable USB media, set HYBRID to '1'.
# Corresponds to the '-u' option.
HYBRID=1
in the conf file to AlienBob's mirror-slackware-current.sh script. Now on reboot I can select the required BIOS non-UEFI option and all is well. I am ready now for the release of Slackware 15.0 when I will hose away my crufty -current installation and start afresh...

Last edited by andrew.46; 04-08-2020 at 11:29 PM.
 
1 members found this post helpful.
  


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
Mobo only supports uefi boot - how do I boot off a non-uefi cd? Ulysses_ Linux - Hardware 3 02-25-2016 08:06 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
Monitoring traffic tool/web based(non-cgi?)/non-SNMP/low CPU usage/non-real time pe2338 Linux - Networking 3 05-04-2006 01:00 PM

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

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