LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-03-2017, 01:34 PM   #16
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware 15.0
Posts: 1,272

Rep: Reputation: 65

Running fine on my HP laptop.
Just copied the kernel from /boot to the EFI section and ran eliloconfig
 
Old 07-03-2017, 01:53 PM   #17
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Quote:
Originally Posted by ringwraith View Post
Just copied the kernel from /boot to the EFI section
eliloconfig does that too.
 
Old 07-04-2017, 12:57 AM   #18
a4z
Senior Member
 
Registered: Feb 2009
Posts: 1,727

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
Quote:
Originally Posted by Didier Spaier View Post
eliloconfig does that too.
eliloconfig also just utilizes cp
 
1 members found this post helpful.
Old 07-04-2017, 08:15 AM   #19
slackb0t
Member
 
Registered: Apr 2005
Location: Canada
Distribution: Slackware64-current on Thinkpad Carbon X1
Posts: 264

Rep: Reputation: 63
I updated to the new kernel today and got an error I haven't seen before...

Basically after updating to 4.9.35 I rebooted as usual and was forced into interactive mode. I didn't read the changelog so it might be right there... who knows. Will figure it out later.
Attached Thumbnails
Click image for larger version

Name:	IMG_20170704_090529.jpg
Views:	51
Size:	166.6 KB
ID:	25373  
 
Old 07-04-2017, 08:30 AM   #20
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Looks like a syntax error in the file /boot/efi/EFI/Slackware/elilo.conf. Please attach it (renamed elilo.conf.txt) to your next post or copy/paste it.
 
1 members found this post helpful.
Old 07-04-2017, 09:17 AM   #21
slackb0t
Member
 
Registered: Apr 2005
Location: Canada
Distribution: Slackware64-current on Thinkpad Carbon X1
Posts: 264

Rep: Reputation: 63
Quote:
Originally Posted by Didier Spaier View Post
Looks like a syntax error in the file /boot/efi/EFI/Slackware/elilo.conf. Please attach it (renamed elilo.conf.txt) to your next post or copy/paste it.
yup... when editing the config I must have deleted the final "

Code:
default = generic
chooser=simple
delay=1
timeout=2
#
image=vmlinuz-generic-4.9.34
        root=/dev/sda5
        label=old
        initrd=initrd.gz
        read-only
        description="Slackware 64 OLD 4.9.34"

image=vmlinuz-generic-4.9.35
        label=generic
        root=/dev/sda5
        initrd=initrd.gz
        read-only
        description="Slackware 64 Generic-4.9.35
I added the quote after the .35 and all is fine... stupid mistake.

Last edited by slackb0t; 07-04-2017 at 10:45 AM.
 
Old 07-04-2017, 11:01 AM   #22
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Glad you got it fixed. That's a kind of mistake I make way too often, so I certainly won't blame you.

Unfortunately I know no syntax checker for elilo.conf. Maybe I will write one if I am not too lazy.

I now see here this option:
Code:
	-P	Verify config file syntax only. this option causes ELILO to 
		parse the config file and generate a report on the console.
		No kernel is loaded.
I should have read that before, comes handy and maybe could be added to eliloconfig.

Last edited by Didier Spaier; 07-04-2017 at 11:10 AM.
 
1 members found this post helpful.
Old 07-04-2017, 12:28 PM   #23
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Sorry

the binary elilo is not shipped in the elilo package and -P is an option of elilo.

I could compile it with a few ugly hacks (including installation of dpkg from SBo to get dpkg-archive, and some symlinks) but the linker fails:
Code:
make[1] : on quitte le répertoire « /home/didier/Slint/repo/x86_64/slint-14.2/source/elilo/elilo-3.16-source/x86_64 »
/usr/bin/ld -nostdlib -znocombreloc -T /usr/lib/elf_x86_64_efi.lds -shared -Bsymbolic -L/usr/lib -L/usr/lib /usr/lib/crt0-efi-x86_64.o elilo.o getopt.o strops.o loader.o fileops.o util.o vars.o alloc.o chooser.o config.o initrd.o alternate.o bootparams.o gunzip.o console.o fs/fs.o choosers/choosers.o devschemes/devschemes.o x86_64/sysdeps.o glue_localfs.o glue_netfs.o -o elilo.so -lefi -lgnuefi /usr/lib64/gcc/x86_64-slackware-linux/5.3.0/libgcc.a
/usr/bin/ld : ne peut trouver -lefi
/usr/bin/ld : ne peut trouver -lgnuefi
Make.rules:31 : la recette pour la cible « elilo.so » a échouée
make: *** [elilo.so] Erreur 1
didier[~/Slint/repo/x86_64/slint-14.2/source/elilo/elilo-3.16-source]$
I will request help in a specific thread not to hijack this one.
 
Old 07-05-2017, 06:01 PM   #24
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Silly me

I just needed to do this:
Code:
ln -s /usr/lib64/libefi.a /usr/lib/libefi.a
ln -s /usr/lib64/libgnuefi.a /usr/lib/libgnuefi.a
Or better, change the location of the EFI libraries in Makefile.defaults. By the way I didn't need to install dpkg either, I should have read the SlackBuild

Anyway all this to just rebuild elilo.efi... Already included in the package, just prebuilt and under another name:
Code:
didier[~/Slint/repo/x86_64/slint-14.2/source/elilo/elilo-3.16-source]$ file elilo.efi 
elilo.efi: PE32+ executable (EFI application) x86-64 (stripped to external PDB), for MS Windows
tl;dr: the elilo command with the -P option should be typed in an EFI shell.

Last edited by Didier Spaier; 07-05-2017 at 06:02 PM.
 
Old 07-06-2017, 01:05 AM   #25
RadicalDreamer
Senior Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 1,816

Rep: Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981
4.9.36 is working good
 
  


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
[SOLVED] Slackware Current and Slackware 14.2 default kernel version? LinuxUser42 Slackware 1 02-10-2016 11:39 PM
Slackware-current upgrades today. hitest Slackware 26 12-23-2012 03:37 PM
How can I install a slackware-current kernel to slackware 11? bijit1709 Slackware 11 06-13-2007 03:24 PM
Slackware current updates today! neo Slackware 2 04-22-2005 05:32 PM

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

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