LinuxQuestions.org
Help answer threads with 0 replies.
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 03-17-2023, 01:33 PM   #1
youni
LQ Newbie
 
Registered: Mar 2023
Posts: 27

Rep: Reputation: 11
I have 3 questions relating to boot to Slackware


Hello! I've just installed Slackware current to my i9 12900 and it works from the box, thank you!
I installed it twice:
1. Without eelilo, to the same disk with Devuan (Devuan controls EFI partition)
2. With eelilo, to another separate ssd disk (also Slackware asked me to add boot option to uefi, and I said yes)

Questions:
1. The main question is: I cannot see new boot option in UEFI, and also I don't know how to add boot option to UEFI on Gigabyte Aorus Elite AX. Please, how to add boot option there? All other OS added boot options to my uefi, but slackware had not.

2. When I run under Devuan `update-grub2` it does not find and does not add Slackware that is installed to another partition on the same disk. Can I add it with my hands? Could you provide example grub menu entry for that?

3. When I run under Devuan `update-grub2` it finds successfully Elilo partition on another ssd disk and add corresponding grub menu entry, but this entry does not work, because it has wrong file path here:
chainloader /EFI/elilo.efi/elilo.efi
I edit it like this and boot fine to Slackware:
chainloader /EFI/Slackware/elilo.efi
It's not convenient that update-grub adds wrong menu entry. I tried to mount elilo partition to some path for Devuan scans it in proper way, but all the same. Is there any advice for my interest?
 
Old 03-17-2023, 01:52 PM   #2
youni
LQ Newbie
 
Registered: Mar 2023
Posts: 27

Original Poster
Rep: Reputation: 11
> 1. The main question is: I cannot see new boot option in UEFI, and also I don't know how to add boot option to UEFI on Gigabyte Aorus Elite AX. Please, how to add boot option there? All other OS added boot options to my uefi, but slackware had not.

I think I have not added necessary flags or may be FS type. This is my Devuan efi boot partition type that presents in uefi:
# blkid /dev/nvme0n1p1
/dev/nvme0n1p1: SEC_TYPE="msdos" UUID="C820-B4F1" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="83093a7d-c014-4fc7-a5a2-6ea7fc341c4b"

And this is my Slackware efi partition type that does not present in uefi:
# blkid /dev/sda1
/dev/sda1: UUID="29A7-01ED" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="ba4b46d6-cf00-4980-8b2b-4c4ca890e470"

Should I add some flags to /dev/sda1? which and how? and how then add uefi boot option?
 
Old 03-17-2023, 03:51 PM   #3
tkor
LQ Newbie
 
Registered: Feb 2022
Location: Athens/Greece
Distribution: Slackware-voidlinux
Posts: 19

Rep: Reputation: 11
take a look here https://www.atulhost.com/how-to-disa...comment-page-1
 
Old 03-17-2023, 07:11 PM   #4
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,399

Rep: Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595
Boot into Devuan, create a /boot/grub/custom.cfg and copy the menuentry for slackware from /boot/grub/grub.cfg and edit for the correct changes.

The other option is to manually create a menuentry in the custom.cfg to boot slackware kernel directly.

Last edited by colorpurple21859; 03-17-2023 at 07:28 PM.
 
Old 03-18-2023, 07:13 AM   #5
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,811

Rep: Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447
If you run "/usr/sbin/efibootmgr" ("man" or --help would help) you will see what entries and in what boot order have been added into firmware. There you can change order, remove old or add new entries that would then appear right in your BIOS/UEFI "Boot Order" menues either under the "Boot" tab or the Order menu usually accessed with an "F Key". Once you have verified firmware has it, so should any bootloader that handles EFI boot and seeks bootable kernels.

You might like rEFInd for a bootloader that's not tied to any one OpSys, is configurable basically like elilo but is easier to accommodate multibooting.

Last edited by enorbet; 03-18-2023 at 07:15 AM.
 
  


Reply

Tags
boot, elilo, grub



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
Questions relating to Damn Small Linux. Shishio- Linux - Newbie 3 04-08-2006 11:55 AM
Several questions relating to Debian BaptismOfFire Debian 10 08-30-2004 11:37 AM
A mix of questions relating to slackware 10.0 upgrade 12Iceman Slackware 7 06-25-2004 12:55 AM
General questions relating to KDE/mandrake linux mep]-[isto Linux - Newbie 6 11-12-2003 09:08 PM
Questions about some files relating to X in my home directory. JoeLinux Linux - Software 1 05-08-2002 07:57 AM

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

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