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 12-02-2017, 12:53 AM   #1
gildbg
Member
 
Registered: Aug 2017
Distribution: Slackware, OpenBSD
Posts: 160

Rep: Reputation: Disabled
Question about elilo upgrade


Hello guys,

I have two pc upgraded to slackware-64 current from Sun Nov 19 03:36:30 UTC 2017

First PC when I upgrade to current from Tue Nov 21 05:05:41 UTC 2017 my server that use EFI stop boot. After a day reading I just reinstall it with latest slackware current downloaded from Alien BOB. Few days later on I read on forum that after upgrade to :
a/elilo-3.16-x86_64-5.txz: Rebuilt.
Double the allowable kernel image size from 8MB to 16MB.
Thanks to Didier Spaier.
Patched eliloconfig to work with MMC devices. Thanks to zerouno.

package does not overwrite automatic file elilo-x86_64.efi from boot directory to /boot/efi/EFI/Slackware/elilo.efi and that was why my first pc does not run after upgrade.

My question is: Do I correctly understand or something else was the problem, because I want to upgrade next pc to current and it's is with efi boot too, but have a data and I'm unable to backup it if something is happened like other one.
 
Old 12-02-2017, 03:41 AM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,062

Rep: Reputation: Disabled
Whenever there is a kernel upgrade you need to run as root eliloconfig, which will copy the new kernel (and possibly initrd) in /boot/efi/EFI/Slackware, before rebooting.

The file elilo.efi in the same directory won't need to change, as this bootloader can handle any kernel mentioned in elilo.conf, provided it can be found in the EFI System Partition (which is why the kernel needs to be copied there).

Last edited by Didier Spaier; 12-02-2017 at 03:48 AM.
 
Old 12-02-2017, 05:22 AM   #3
FlinchX
Member
 
Registered: Nov 2017
Distribution: Slackware Linux
Posts: 666

Rep: Reputation: Disabled
Quote:
Originally Posted by Didier Spaier View Post
Whenever there is a kernel upgrade you need to run as root eliloconfig, which will copy the new kernel (and possibly initrd) in /boot/efi/EFI/Slackware, before rebooting.
I did not do this when I upgraded kernel from 4.4.14 to 4.4.88, I just copied the kernel and initrd files by hand and that didn't break the system. Does eliloconfig do anything else besides copying those files to the EFI partition?
 
Old 12-02-2017, 05:37 AM   #4
gildbg
Member
 
Registered: Aug 2017
Distribution: Slackware, OpenBSD
Posts: 160

Original Poster
Rep: Reputation: Disabled
I also like FlinchX just copy the kernel and everything was fine while upgrade to other kernels 4.14.0, 1 or 2, but it's seems something happened after elilo-3.16-x86_64-5.txz because pc just restart when try to boot kernel.
 
Old 12-02-2017, 07:26 AM   #5
FlinchX
Member
 
Registered: Nov 2017
Distribution: Slackware Linux
Posts: 666

Rep: Reputation: Disabled
Quote:
Originally Posted by gildbg View Post
it's seems something happened after elilo-3.16-x86_64-5.txz because pc just restart when try to boot kernel.
I wonder if having rEFInd would help when elilo gets ruined for any reason (since rEFInd can boot a kernel directly).
 
Old 12-02-2017, 07:27 AM   #6
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,062

Rep: Reputation: Disabled
Quote:
Originally Posted by FlinchX View Post
I did not do this when I upgraded kernel from 4.4.14 to 4.4.88, I just copied the kernel and initrd files by hand and that didn't break the system. Does eliloconfig do anything else besides copying those files to the EFI partition?
Yes. When run for the first time it creates the partition /boot/efi/EFI/Slackware.
Also, it copies /boot/elilo-x86_64.efi as /boot/efi/EFI/Slackware/elilo.efi every time you run it.

So...

Quote:
Originally Posted by gildbg View Post
I also like FlinchX just copy the kernel and everything was fine while upgrade to other kernels 4.14.0, 1 or 2, but it's seems something happened after elilo-3.16-x86_64-5.txz because pc just restart when try to boot kernel.
You are missing the new lilo-x86_64.efi that can cope with bigger kernels. Run eliloconfig or manually:
Code:
cp -a /boot/elilo-x86_64.efi /boot/efi/EFI/Slackware/elilo.efi

Last edited by Didier Spaier; 12-02-2017 at 07:32 AM.
 
3 members found this post helpful.
Old 12-03-2017, 12:22 AM   #7
gildbg
Member
 
Registered: Aug 2017
Distribution: Slackware, OpenBSD
Posts: 160

Original Poster
Rep: Reputation: Disabled
Thanks for explanation.
 
  


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
ELILO and Kernel Upgrade VisionIncision Slackware 7 07-11-2017 05:15 AM
[SOLVED] ELILO not working karthik_holla Slackware 18 01-27-2017 07:57 PM
[SOLVED] ELILO and kernel upgrade cgorac Slackware 3 01-26-2016 12:59 AM
apt-get question: dist-upgrade vs upgrade Arodef Fedora 9 06-15-2012 01:33 PM
question about rEFIt, elilo, and linux/OSX dualboot. fbsduser Other *NIX 1 02-21-2011 09:49 AM

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

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