Slackware - Installation This forum is for the discussion of installation issues with Slackware. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
07-21-2022, 05:40 PM
|
#1
|
Member
Registered: Jul 2022
Distribution: Slackware 15, Arch
Posts: 33
Rep:
|
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?
|
|
|
07-21-2022, 08:42 PM
|
#2
|
LQ Veteran
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,843
|
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.
|
07-22-2022, 09:22 AM
|
#3
|
LQ Veteran
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,843
|
Here is how to install grub bootlader during a installation
https://docs.slackware.com/howtos:sl..._first_install
|
|
1 members found this post helpful.
|
07-22-2022, 09:56 AM
|
#4
|
Senior Member
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,930
|
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.
|
07-22-2022, 10:56 AM
|
#5
|
Member
Registered: Jul 2022
Distribution: Slackware 15, Arch
Posts: 33
Original Poster
Rep:
|
Quote:
Originally Posted by colorpurple21859
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.
|
|
|
07-22-2022, 10:57 AM
|
#6
|
Member
Registered: Jul 2022
Distribution: Slackware 15, Arch
Posts: 33
Original Poster
Rep:
|
Quote:
Originally Posted by colorpurple21859
|
Thank you. It is already installed but the document is still useful.
|
|
|
07-22-2022, 10:59 AM
|
#7
|
Member
Registered: Jul 2022
Distribution: Slackware 15, Arch
Posts: 33
Original Poster
Rep:
|
Quote:
Originally Posted by Daedra
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.
|
|
|
07-22-2022, 11:03 AM
|
#8
|
Member
Registered: Jul 2022
Distribution: Slackware 15, Arch
Posts: 33
Original Poster
Rep:
|
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?
|
|
|
07-22-2022, 11:12 AM
|
#9
|
Senior Member
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,930
|
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.
|
|
|
07-22-2022, 11:16 AM
|
#10
|
Senior Member
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,930
|
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.
|
|
|
07-22-2022, 02:43 PM
|
#11
|
Member
Registered: Jul 2022
Distribution: Slackware 15, Arch
Posts: 33
Original Poster
Rep:
|
Quote:
Originally Posted by Daedra
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.
|
|
|
07-22-2022, 02:47 PM
|
#12
|
Member
Registered: Jul 2022
Distribution: Slackware 15, Arch
Posts: 33
Original Poster
Rep:
|
Quote:
Originally Posted by Daedra
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.
|
|
|
07-22-2022, 02:58 PM
|
#13
|
Senior Member
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,930
|
Quote:
Originally Posted by Biscotty666
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.
|
|
|
07-22-2022, 03:22 PM
|
#14
|
LQ Veteran
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,843
|
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.
|
|
|
07-23-2022, 05:25 PM
|
#15
|
Member
Registered: Jul 2022
Distribution: Slackware 15, Arch
Posts: 33
Original Poster
Rep:
|
Quote:
Originally Posted by colorpurple21859
|
Thank you. That is very useful.
|
|
|
All times are GMT -5. The time now is 05:43 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|