LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-31-2022, 03:15 PM   #1
arfon
Member
 
Registered: Apr 2004
Distribution: Slackware & RHEL
Posts: 379

Rep: Reputation: Disabled
Slackware 15, EFI, & NVMe - fun on the bun...


Posting this as assistance for anyone else that brain farts....

Got a new motherboard (side note: Asus' BIOS UI BLOWS CHUNKS) and had a time getting Slackware 15 to boot off of it.

Couldn't find the boot settings to set UEFI/Legacy or the device priorities...

Installed Slackware 15 and it detected EFI so it it installed elilo. Wouldn't boot. Created a USB boot drive and it booted fine from that. Used it to reconfigure elilo... Still wouldn't boot. Tried setting up lilo, still no boot.

Installed grub and that worked... Hated that I couldn't get lilo or elilo so I took another whack at it

I FINALLY found the EFI/Legacy setting and set it to legacy and wiped the disk and reinstalled fresh. Slackware detected legacy and installed lilo. Wouldn't boot.

Repeated but with BIOS set to UEFI & Legacy, Slackware detected EFI again and installed elilo but wouldn't boot.

Then I realised that I fdisked the partitions and not gdisked them....

Set the BIOS to UEFI ONLY, wiped the disk, gdisk and reinstalled fresh.

Slackware detected EFI again and SAID that it installed elilo butwhen I booted, it came up with "GRUB" and halted. Booted from the USB stick, messed around with grub-mkconfig.... Messed around with eliloconfig... Both complained and failed.

THEN IT HIT ME- I forgot to add the EFI partition to the disk.

Repartitioned the swap and added an EFI partition (to the end of the disk). Re-installed and it works fine now.

What I learned from this-
1) DON'T FORGET to add an EFI partiton.
2) Grub will boot an efi machine from a non-GPT partition.
3) Slackware (unlike old posts that I read) now supports NVMe drives, no problems.
4) Asus' legacy support is broken.
5) Asus' BIOS UI blows ass. (The boot setup is 3 tabs deep, the last one called CMS Configuration)

I'm also happy to report that Slackware 15 supported the new board's (Asus ROG Ryzen) video, audio, and ethernet chipset with no problems. I usually have to fight with one of these with a brand new board.

Last edited by arfon; 12-31-2022 at 03:20 PM.
 
Old 01-01-2023, 02:22 AM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Yeah while ASUS hardware side is usually fine, they have their own view to the EFI config lol, and that has not changed since at least 2014.
elilo may not work in usb installer with their newer boards (in my experience)
efibootmgr is useful with ASUS mobos...
 
Old 01-02-2023, 03:48 PM   #3
arfon
Member
 
Registered: Apr 2004
Distribution: Slackware & RHEL
Posts: 379

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by keefaz View Post
Yeah while ASUS hardware side is usually fine, they have their own view to the EFI config lol, and that has not changed since at least 2014.
elilo may not work in usb installer with their newer boards (in my experience)
efibootmgr is useful with ASUS mobos...
I believe you.

I'm happy to report that elilo (and USB boot) works fine on a ASUS ROG Strix B550-F if you create an EFI partition.
 
1 members found this post helpful.
Old 01-03-2023, 04:46 PM   #4
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,799

Rep: Reputation: 4437Reputation: 4437Reputation: 4437Reputation: 4437Reputation: 4437Reputation: 4437Reputation: 4437Reputation: 4437Reputation: 4437Reputation: 4437Reputation: 4437
I didn't see which Asus board you got or even whether it's Intel or AMD but I haven't had any of your difficulties with my Asus ROG Maximus XII Hero Intel board. It's only 10th Gen but will apparently support 11th Gen with Asus's version of the Z470 chipset. It did take me a little while to realize CSM was Legacy Boot but only a few minutes since it was on the "Boot" tab and one of the top menu items. My system has 3 NVME drives and I'm not overly pleased with shared PCIe implementation slowing one of them down some, but that may improve when I get an 112th Gen CPU that supports PCIe 4 instead of just 3.

My system has around a dozen operating systems on it both EFI and Legacy boot, including an updated v 12.2 Slackware, a 13.37, several 15.0, OpenSuse and one other linux distro test partition, and ahighly neglected Windows install, but all boot with Boot Order Menu for Legacy and Removable and rEFInd for all the modern booters. It's also pretty heavily overclocked with 10 fans all manually configured. I'm not certain if my USB 3 is setup properly but I've only recently felt any need to mess with it.

If your mobo is newer than mine maybe consider checking for BIOS upgrades. I've updated mine twice and the built in Asus Updater worked perfectly.
 
Old 01-04-2023, 05:52 PM   #5
arfon
Member
 
Registered: Apr 2004
Distribution: Slackware & RHEL
Posts: 379

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by enorbet View Post
I didn't see which Asus board you got or even whether it's Intel or AMD

ASUS ROG Strix B550-F (AMD)
 
Old 01-05-2023, 12:03 AM   #6
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,074

Rep: Reputation: 149Reputation: 149
LILO doesn't work on some NVME drives for cases GRUB2 does.
 
1 members found this post helpful.
Old 01-06-2023, 04:27 PM   #7
alex14641
Member
 
Registered: Feb 2016
Distribution: Slackware64_14.2, Slackware 15.0, Slackware64_current
Posts: 323

Rep: Reputation: Disabled
I acquired a new laptop, a Dell 7610 series, and I had to go the GRUB route as well. As an added twist, this laptop only supports UEFI booting.
 
1 members found this post helpful.
Old 01-07-2023, 05:04 AM   #8
arfon
Member
 
Registered: Apr 2004
Distribution: Slackware & RHEL
Posts: 379

Original Poster
Rep: Reputation: Disabled
Maybe the Slackware gods will add a new menu to the setup-
Attached Thumbnails
Click image for larger version

Name:	SlackwareBootMgr.png
Views:	130
Size:	21.7 KB
ID:	40175  
 
  


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
[SOLVED] Slackware 15 - NVME clone to external NVME - Boot problem from external NVME Klaus150 Slackware 35 10-16-2022 04:29 PM
LXer: Data in a Flash, Part II: Using NVMe Drives and Creating an NVMe over Fabrics Network LXer Syndicated Linux News 0 05-20-2019 11:41 PM
[SOLVED] Ooooy. EFI boot mmx64.efi.efi not found bulgin Linux - Newbie 12 12-20-2018 11:03 AM
Migrate Linux/win10 dual boot from MBR nvme drive to a new GPT nvme drive bluemoo Linux - Software 7 09-25-2018 06:42 PM
LXer: A Linux Bun in HP's Oven; Firefox and the EULA Hounds LXer Syndicated Linux News 0 09-22-2008 01:00 PM

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

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