LinuxQuestions.org
Help answer threads with 0 replies.
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 07-21-2022, 05:40 PM   #1
Biscotty666
Member
 
Registered: Jul 2022
Distribution: Slackware 15, Arch
Posts: 33

Rep: Reputation: 0
Current information on using grub after install?


I found this https://docs.slackware.com/howtos:sl...based_hardware but it seems out of date since it talks about installing things which are now already on the system. Is this still the document I should follow?
 
Old 07-21-2022, 08:42 PM   #2
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,843

Rep: Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682
If this is a followup of your other threads,
chroot into the system, make sure efi partition is mounted to /boot/efi
run
Code:
 grub-install
grub-mkconfig -o /boot/grub/grub.cfg
exit out of chroot and reboot.

Last edited by colorpurple21859; 07-21-2022 at 08:44 PM.
 
2 members found this post helpful.
Old 07-22-2022, 09:22 AM   #3
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,843

Rep: Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682
Here is how to install grub bootlader during a installation
https://docs.slackware.com/howtos:sl..._first_install
 
1 members found this post helpful.
Old 07-22-2022, 09:56 AM   #4
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,930

Rep: Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592
Using Grub is fairly simple. If you want a visual aid then OTB has a video on choosing Grub during the Slackware install. Skip to 24:53
https://www.youtube.com/watch?v=OZeJd5JPQro

However it should be noted that he is assuming you are using a UEFI and not legacy bios. If you are using legacy bios then the procedure is slightly different, but basically the same.

Last edited by Daedra; 07-22-2022 at 09:57 AM.
 
1 members found this post helpful.
Old 07-22-2022, 10:56 AM   #5
Biscotty666
Member
 
Registered: Jul 2022
Distribution: Slackware 15, Arch
Posts: 33

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by colorpurple21859 View Post
If this is a followup of your other threads,
chroot into the system, make sure efi partition is mounted to /boot/efi
run
Code:
 grub-install
grub-mkconfig -o /boot/grub/grub.cfg
exit out of chroot and reboot.
It kind of is. Booting is working fine so I closed the other thread. I just wanted to explore using grub instead of elilo.
 
Old 07-22-2022, 10:57 AM   #6
Biscotty666
Member
 
Registered: Jul 2022
Distribution: Slackware 15, Arch
Posts: 33

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by colorpurple21859 View Post
Here is how to install grub bootlader during a installation
https://docs.slackware.com/howtos:sl..._first_install
Thank you. It is already installed but the document is still useful.
 
Old 07-22-2022, 10:59 AM   #7
Biscotty666
Member
 
Registered: Jul 2022
Distribution: Slackware 15, Arch
Posts: 33

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Daedra View Post
Using Grub is fairly simple. If you want a visual aid then OTB has a video on choosing Grub during the Slackware install. Skip to 24:53
https://www.youtube.com/watch?v=OZeJd5JPQro

However it should be noted that he is assuming you are using a UEFI and not legacy bios. If you are using legacy bios then the procedure is slightly different, but basically the same.
Thank you. This computer does not even have legacy bios.

BTW I recognize your name from when I used to be here a lot and you have really helped me in the past. Thank you very much.
 
Old 07-22-2022, 11:03 AM   #8
Biscotty666
Member
 
Registered: Jul 2022
Distribution: Slackware 15, Arch
Posts: 33

Original Poster
Rep: Reputation: 0
Maybe I just don't understand the basic interplay between elilo and grub which are both on my system and both new to me. What mechanism enables/selects one or the other assuming both are installed?
 
Old 07-22-2022, 11:12 AM   #9
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,930

Rep: Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592
well during the install process the installer gives you a specific option to "enable" either lilo or elilo. If you want to use Grub then during the install you simply skip installing lilo or elilo when prompted. Grub is already available during the install but you have to manually "install/enable" at the very end of the Slackware setup as shown in the above video.
 
Old 07-22-2022, 11:16 AM   #10
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,930

Rep: Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592
I forgot to mention, did you create a EFI partition before you started installing Slackware? If you are dual booting with windows 10 then this should already have been created for you, if not then you have to create one. An EFI partition is necessary with a UEFI system.
 
Old 07-22-2022, 02:43 PM   #11
Biscotty666
Member
 
Registered: Jul 2022
Distribution: Slackware 15, Arch
Posts: 33

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Daedra View Post
I forgot to mention, did you create a EFI partition before you started installing Slackware? If you are dual booting with windows 10 then this should already have been created for you, if not then you have to create one. An EFI partition is necessary with a UEFI system.
Yes I had created one before install. After installation it appears to be mounted under /boot/efi.
 
Old 07-22-2022, 02:47 PM   #12
Biscotty666
Member
 
Registered: Jul 2022
Distribution: Slackware 15, Arch
Posts: 33

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Daedra View Post
well during the install process the installer gives you a specific option to "enable" either lilo or elilo. If you want to use Grub then during the install you simply skip installing lilo or elilo when prompted. Grub is already available during the install but you have to manually "install/enable" at the very end of the Slackware setup as shown in the above video.
I selected elilo at install and it works fine now so my motivation to switch to grub is purely for learning. I would like to try grub instead of elilo out of curiosity. I was just looking for updated information because the referenced source does not seem to reflect 15.0.
 
Old 07-22-2022, 02:58 PM   #13
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,930

Rep: Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592
Quote:
Originally Posted by Biscotty666 View Post
I selected elilo at install and it works fine now so my motivation to switch to grub is purely for learning. I would like to try grub instead of elilo out of curiosity. I was just looking for updated information because the referenced source does not seem to reflect 15.0.
Understandable. You can do that in a virtual machine. If you are using Virtualbox just make sure you check "Enable EFI (Special OSes only)" in the VM settings then you are good to go to start experimenting.
 
Old 07-22-2022, 03:22 PM   #14
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,843

Rep: Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682
Quote:
Maybe I just don't understand the basic interplay between elilo and grub which are both on my system and both new to me. What mechanism enables/selects one or the other assuming both are installed?
The default one used is set in the firmware/bios. This can be changed on most system with efibootmgr.
On some systems efibootmgr can register a boot loader with the firmware/bios, however can not make it the default loader, this has to be done from the firmware/bios settings. This is particularly true of some Hp system

On most systems if there is no bootloader set in firmware/bios, the firmware/bios defaults to EFI\Boot\bootx64.efi

https://linux.die.net/man/8/efibootmgr
https://www.linuxbabe.com/command-li...otmgr-examples
https://wiki.archlinux.org/title/Uni...ware_Interface

Last edited by colorpurple21859; 07-22-2022 at 03:25 PM.
 
Old 07-23-2022, 05:25 PM   #15
Biscotty666
Member
 
Registered: Jul 2022
Distribution: Slackware 15, Arch
Posts: 33

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by colorpurple21859 View Post
The default one used is set in the firmware/bios. This can be changed on most system with efibootmgr.
On some systems efibootmgr can register a boot loader with the firmware/bios, however can not make it the default loader, this has to be done from the firmware/bios settings. This is particularly true of some Hp system

On most systems if there is no bootloader set in firmware/bios, the firmware/bios defaults to EFI\Boot\bootx64.efi

https://linux.die.net/man/8/efibootmgr
https://www.linuxbabe.com/command-li...otmgr-examples
https://wiki.archlinux.org/title/Uni...ware_Interface
Thank you. That is very useful.
 
  


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
GRUB menu not getting updated even after changing /boot/grub/grub.cfg KNSI Linux From Scratch 4 06-20-2018 09:13 PM
GRUB menu not getting updated even after changing /boot/grub/grub.cfg KNSI Linux - Newbie 6 06-20-2018 01:54 PM
Infinite Grub Loop: GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB... beeblequix MEPIS 2 11-02-2013 10:56 PM
Booting my new ubuntu install = "GRUB GRUB GRUB GRUB GRUB" etc. dissolved soul Ubuntu 2 01-13-2007 12:55 PM
GRUB GRUB GRUB GRUB "Whats Going on?" Gaweph Linux - Newbie 6 03-26-2004 10:40 AM

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

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