Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 02-08-2015, 01:23 PM   #1
LQ Newbie
Registered: Feb 2015
Location: UK
Distribution: Slackware, openSUSE, centOS
Posts: 3

Rep: Reputation: Disabled
Can't find /boot/efi/EFI/Slackware/vmlinuz kernel configuration

I installed Slackware 14.1 64-bit on a new machine and I found I have three kernels

Two under /boot

-rw-r--r--  1 root root 3450176 Feb 14  2014 vmlinuz-generic-3.10.17
-rw-r--r--  1 root root 6436992 Feb 14  2014 vmlinuz-huge-3.10.17
with their configuration files
-rw-r--r--  1 root root  137813 Feb 14  2014 config-generic-3.10.17
-rw-r--r--  1 root root  137813 Feb 14  2014 config-huge-3.10.17
and one under /boot/efi/EFI/Slackware/

-rwxr-xr-x 1 root root 6441264 Oct 23  2013 vmlinuz
But for this latter one there is no configuration file. Any idea on where I can find it?

Old 02-08-2015, 01:48 PM   #2
Didier Spaier
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64- on Lenovo Thinkpad W520
Posts: 9,012

Rep: Reputation: Disabled
The kernel /boot/efi/EFI/Slackware/vmlinuz was copied from /boot/vmlinuz at time of installation to allow registering it in a UEFI boot menu entry.

So it's really the same kernel as the target of the symlink /boot/vmlinuz (still at time of installation).

So if for instance /boot/vmlinuz was a symlink to /boot/vmlinuz-huge-3.10.17 the config file is config-huge-3.10.17-smp.

To know more you could have a look at /usr/sbin/eliloconfig that does that.

PS I almost forgot: welcome to this Slackware forum!

Last edited by Didier Spaier; 02-08-2015 at 01:49 PM. Reason: PS added.
Old 02-08-2015, 04:05 PM   #3
LQ Newbie
Registered: Feb 2015
Location: UK
Distribution: Slackware, openSUSE, centOS
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thanks for the prompt answer and the Welcome.

I had a look at eliloconfig but I didn't find what I was looking for. So I try to detail my question.

I'm using a PC with elilo and UEFI, so the system is booting from /boot/efi/EFI/Slackware/vmlinuz (which is not a link)

Yes, my /boot/vmlinuz is indeed a link to

lrwxrwxrwx 1 root root 20 Jan 11 17:37 /boot/vmlinuz -> vmlinuz-huge-3.10.17
whose size is 6436992

On the other end /boot/efi/EFI/Slackware/vmlinuz is an image and its size is 6441264: My original question was to find out what's the difference with the kernel-huge

The test I did was to

- take the Slackware kernel source code for 3.10.17,
- take the config-huge-3.10.17 and copied as .config
- enable the kernel options for UEFI via make manuconfig
- rebuild the kernel

hoping to get the same vmlinuz as the /boot/efi/EFI/Slackware/vmlinuz. I might have done it wrong, but I didn't get exactly the same kernel. It's working fine but the original one is performing slightly better than mine. That's why I'm looking for the config file that has been used to create /boot/efi/EFI/Slackware/vmlinuz just to make sure I didn't miss anything in the kernel configuration.

Basically I just set CONFIG_RELOCATABLE=y and CONFIG_EFIVAR_FS=y. All the other UEFI options were already set.
So it looks like, and you might confirm, that the huge and general kernel configuration are not the ones used to generate the image in /boot/efi/EFI/Slackware

If I grep the macro

config-generic-3.10.17:457:# CONFIG_RELOCATABLE is not set
config-huge-3.10.17:457:# CONFIG_RELOCATABLE is not set

But if I miss something in the configuration and indeed the config-huge-3.10.17 has been used for /boot/efi/EFI/Slackware/vmlinuz, why its size differs from vmlinuz-huge-3.10.17?
Simply built with different options or version of gcc?

Sorry for the long mail but I'm trying to understand.

Thanks in advance for your reply.
Old 02-09-2015, 03:37 AM   #4
Registered: Aug 2012
Location: Ryomgård, Danmark
Distribution: Slackware64
Posts: 146

Rep: Reputation: 101Reputation: 101
To get a readable copy of the configuration for the running kernel

zcat /proc/config.gz > config.txt
1 members found this post helpful.
Old 02-09-2015, 06:21 AM   #5
LQ Newbie
Registered: Feb 2015
Location: UK
Distribution: Slackware, openSUSE, centOS
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thanks! Exactly what I need.


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
[SOLVED] Installing Slackware 14.1 dual boot windows with efi hottdogg Slackware 5 01-22-2014 09:06 PM
boot efi disk with without a non-efi bios pc... masavini Programming 1 11-12-2013 08:48 PM
How to boot Slackware using Grub EFI arubin Slackware 3 11-04-2012 06:30 AM
EFI main GPT overwritten everytime (when windows 7 runs) - structure of EFI masuch Linux - Newbie 2 07-20-2012 02:49 PM > Forums > Linux Forums > Linux - Distributions > Slackware

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