LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-27-2024, 05:29 PM   #1
NakedRider
Member
 
Registered: Nov 2008
Location: Sacramento, CA
Distribution: Slackware and only Slackware
Posts: 194

Rep: Reputation: 114Reputation: 114
Can't boot elilo on install. Keep getting a grub prompt. How can I get the system to boot


I've been doing some distro hopping lately. It's interesting to see what's out there.
Now I want to return to Slackware but when I do an install and set it up to boot from elilo, once the install is done and I reboot I get a grub prompt.
I can't figure out how to fix this. Is it something in the /boot directory or, hopefully not, something I need to change in the BIOS.
I have several entries in the BIOS for Slackware (probably since I bounced around so much). I've tried each one but I keep getting the grub prompt and of course I haven't installed grub yet. I do normally change to grub after an install. I just can't figure out how to get my system to boot Slackware.

Thanks in advance for any help I can get.

Last edited by NakedRider; 02-27-2024 at 06:27 PM.
 
Old 02-28-2024, 12:31 AM   #2
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,583
Blog Entries: 19

Rep: Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454
You need to use efibootmgr (as root) to see and edit the list of boot entries your UEFI has stored in nvram. If you have a well-behaved UEFI, and you put elilo at the head of the queue, it will boot that. If you have a bloody-minded UEFI like mine, you might need to remove the GRUB entry altogether.

You can also use F12 to get a boot menu.
 
Old 02-28-2024, 12:32 AM   #3
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,811
Blog Entries: 1

Rep: Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068
Quote:
Originally Posted by NakedRider View Post
I have several entries in the BIOS for Slackware (probably since I bounced around so much). I've tried each one but I keep getting the grub prompt and of course I haven't installed grub yet.
The words I converted to italics make this sound like it is a UEFI installation, and none of the entries in NVRAM point to a valid location for the existing Slack installation. Do you have an ESP partition? If yes, what does output from efibootmgr -v tell you? Anything matching by UUID and/or LABEL to what currently exists? What does tree /boot/efi/ show? Were you using MBR previously and as a follow-up to all the bouncing switched to using UEFI?

A grub prompt typically results because Grub can't find a grub.cfg file, but often that's because it isn't setup to enable loading the filesystem that contains grub.cfg. If you have a backup of an old one you can read, you may be able to run the commands it contains from the grub> prompt, with any appropriate editing required as a consequence of changed partition/filesystem layout, to get booted using Grub.
 
Old 02-28-2024, 12:47 PM   #4
NakedRider
Member
 
Registered: Nov 2008
Location: Sacramento, CA
Distribution: Slackware and only Slackware
Posts: 194

Original Poster
Rep: Reputation: 114Reputation: 114
Thanks for your replies.
I've tried a couple of things of note: I deleted the efi partition and recreated it since Slackware was telling me I don't have a valid efi partition. Then I tried to install Slackware and a couple of things aren't right.

1) When asked if I wanted to install lilo I replied no. I was never asked about installing elilo. I seem to remember this from the past, I could be wrong or maybe something has changed.

2) When I look in the /boot/efi directory it's empty as is /boot/grub.

I have kernels in /boot and I also have an efi-86_64.efi file. I'm not sure if there's an easy fix from there. I'm not sure what is supposed to go where.

Also of note: I can install other distros. I don't know what could be causing this.

I'm hoping I'm not stuck for good on this.
 
Old 02-28-2024, 12:59 PM   #5
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,791

Rep: Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470
Check posts #11 #12 #15 here: https://www.linuxquestions.org/quest...3/#post6479777
 
Old 02-28-2024, 01:36 PM   #6
NakedRider
Member
 
Registered: Nov 2008
Location: Sacramento, CA
Distribution: Slackware and only Slackware
Posts: 194

Original Poster
Rep: Reputation: 114Reputation: 114
Thanks Petri.

I've seen that thread and even tried #9. No luck it says I don't have a valid efi partition.
 
Old 02-28-2024, 01:39 PM   #7
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,791

Rep: Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470
Did you check whether directory /sys/firmware/efi exists?
 
Old 02-28-2024, 01:47 PM   #8
NakedRider
Member
 
Registered: Nov 2008
Location: Sacramento, CA
Distribution: Slackware and only Slackware
Posts: 194

Original Poster
Rep: Reputation: 114Reputation: 114
Quote:
Originally Posted by Petri Kaukasoina View Post
Did you check whether directory /sys/firmware/efi exists?
Yes it does.
 
Old 02-28-2024, 03:15 PM   #9
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,791

Rep: Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470
Quote:
Originally Posted by NakedRider View Post
I deleted the efi partition and recreated it since Slackware was telling me I don't have a valid efi partition.
Did you set the partition code EF00?
 
Old 02-28-2024, 05:56 PM   #10
NakedRider
Member
 
Registered: Nov 2008
Location: Sacramento, CA
Distribution: Slackware and only Slackware
Posts: 194

Original Poster
Rep: Reputation: 114Reputation: 114
Quote:
Originally Posted by Petri Kaukasoina View Post
Did you set the partition code EF00?
Yes.

I want to thank everyone for their help on this. I do have to start working so I need an OS right now.
I've installed debian and it installed and booted. For now I'm running again.

I'll give this another shot some day but for now I can't spend anymore time on this.

Thanks again everyone for your help.
 
Old 03-08-2024, 07:31 PM   #11
NakedRider
Member
 
Registered: Nov 2008
Location: Sacramento, CA
Distribution: Slackware and only Slackware
Posts: 194

Original Poster
Rep: Reputation: 114Reputation: 114
I'm baaaack

Well I've returned to Slackware.

I never did figure this out. Other distros would install and boot but sometimes complained that there was another entry in the efi partition. I just forced the install and it always worked.

My fix was one I've been dreading to try for several years. I scrubbed the drive. Deleted all the partitions and redid everything.

Thankfully all of my backups got me back up and running.

BTW I can't believe how much faster Slackware is to install than ALL of the other distros I've tried. Strange since it's ISO is the largest of the bunch and I install everything.

I'm super pumped to be back and I'm marking this as solved even though I didn't find an easy fix.
 
  


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] -current on laptop with UEFI doesn't prompt for elilo enine Slackware - Installation 14 01-28-2022 04:31 PM
[SOLVED] UEFI installation - elilo does not prompt when I skipped lilo shai-hulud Slackware 15 06-09-2019 08:11 AM
[SOLVED] ELILO v3.16 for EFI/x68_64: no login prompt rshepard Slackware 6 09-10-2018 07:51 AM
Infinite Grub Loop: GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB... beeblequix MEPIS 2 11-02-2013 10:56 PM
keep getting dropped into mon> prompt during install +daily Linux - Newbie 1 01-06-2005 05:43 PM

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

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