Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 01-24-2019, 03:29 PM   #1
Registered: Nov 2005
Distribution: slackware
Posts: 231

Rep: Reputation: 47
messed up elilo and cant get grub2 bootloader installed

Not sure what I did or am doing.

Want grub2 as my default bootloader. had elilo though it was weird didnt have /etc/elilo.conf but did have a elilo.conf in /boot/efi somewhere

now I just want grub2 to take things over but my system is stuck booting some kernel from old elilo install.

help suggestions

ran elilo-config and it made a boot entry for slackware and it booting default
recently ran grub-install

trying for multiboot though have custom kernel files with tv tuner and a win10 partition. would rather not have to change boot priority everytime I want to boot windows or linux

what do I need to get grub2 to take over things. trying to get a windows install bootable again why I ran elilo-config but it destroyed elilo.conf from subdir of /boot/efi
update found grub boot section in bios and moved it up though doesnt have other kernel nor windows boot option. if I could get that would consider mission accomplished. /boot/efi is a mess

Last edited by mrapathy; 01-24-2019 at 04:09 PM.
Old 01-24-2019, 04:37 PM   #2
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-current
Posts: 474
Blog Entries: 3

Rep: Reputation: 131Reputation: 131
messed up elilo and cant get grub2 bootloader installed

So you need basic grub config?
grub-mkconfig -o /boot/grub/grub.cfg
This assumes you have a working kernel with it according initrd.
Old 01-24-2019, 05:46 PM   #3
Senior Member
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, puppy, ubuntu
Posts: 2,948

Rep: Reputation: 469Reputation: 469Reputation: 469Reputation: 469Reputation: 469
assuming this is a uefi system
make sure the efi partition is mounted at /boot/efi
grub-install --target=x86_64-efi /dev/sda
grub-mkconfig -o /boot/grub/grub.cfg
Slackware doesn't automatically run grub-mkconfig when kernels are updated.

for elilo to work when kernels are updated need to copy new kernel to /boot/efi/EFI/slackware directory. If you copy the kernel to efi and name it vmlinuz then won't have to edit the elilo.conf file that in /boot/efi/EFI/slackware when kernels are updated.

Last edited by colorpurple21859; 01-24-2019 at 05:48 PM.
Old 01-24-2019, 05:50 PM   #4
Registered: Mar 2010
Location: oregon
Distribution: slackware64-14.2
Posts: 305

Rep: Reputation: 116Reputation: 116
hope you get grub going! if you don't, efibootmgr is useful for adding efi boot entries and setting their boot order. What I've determined from messing with efi, is that there are basically two boot menus: the boot menu that comes up when holding a boot menu key down during boot, which varies by manufacturer (it's f12 on my ideapad, but it could be different on yours); and then there's another boot menu that you can get at the elilo prompt by pressing "tab" which allows you to choose between boot images defined in elilo.conf... thus, efibootmgr is useful for manipulating the efi boot menu; whereas elilo-config, or manually editing elilo.conf manipulates the elilo boot menu...
Old 01-24-2019, 06:24 PM   #5
Registered: Nov 2005
Distribution: slackware
Posts: 231

Original Poster
Rep: Reputation: 47
Thanks everyone got it.

Forgot with elilo you just update elilo.conf and dont need to run eliloconfig.

grub2 I dont know about though didnt run grub-mkconfig. have a feeling that would have fixed what I needed.


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
how to install grub2 on the first section of a partition and then how to chainload to this grub2 bootloader? centguy Linux - Software 9 09-14-2017 10:03 AM
Anyone else on UEFI ditched ELILO for GRUB2 + GPT? WLD Slackware 11 12-01-2015 04:50 AM
[SOLVED] Cant boot in EFI mode: elilo doesnt load from the UEFI menu in a Asus motherboard. Linux-at-last Slackware 5 04-03-2014 04:23 PM
grub2 can't see my win 7 partition and yast2 bootloader can't reinstall grub2 jjrojaspy SUSE / openSUSE 5 07-07-2013 10:38 PM
[SOLVED] How to start Grub2-bootloader from extlinux-bootloader? floppy_stuttgart Linux - Newbie 13 11-13-2011 06:43 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:20 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration