LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 09-29-2022, 12:50 PM   #46
henca
Member
 
Registered: Aug 2007
Location: Linköping, Sweden
Distribution: Slackware
Posts: 980

Rep: Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667

There have been many excellent replies in this thread, better replies than I would be able to give as I haven't used elilo myself. However, a generic reply which might be useful for others is the following:

At the end of the Slackware installation your system is configured and you will get asked a few questions about how you want your system configured. Those questions are asked by scripts in /var/log/setup/ .

In the case of elilo the script is /var/log/setup/setup.ll.eliloconfig .
Looking at that script you can see that it simply calls /usr/sbin/eliloconfig which proves the first answer in this thread right.

regards Henrik
 
3 members found this post helpful.
Old 09-29-2022, 01:18 PM   #47
NaboHipersonico
Member
 
Registered: Sep 2022
Location: /home
Distribution: Debian 12 bookworm xfce
Posts: 116

Original Poster
Rep: Reputation: 24
Quote:
Originally Posted by henca View Post
There have been many excellent replies in this thread, better replies than I would be able to give as I haven't used elilo myself. However, a generic reply which might be useful for others is the following:

At the end of the Slackware installation your system is configured and you will get asked a few questions about how you want your system configured. Those questions are asked by scripts in /var/log/setup/ .

In the case of elilo the script is /var/log/setup/setup.ll.eliloconfig .
Looking at that script you can see that it simply calls /usr/sbin/eliloconfig which proves the first answer in this thread right.

regards Henrik
Hello, I am not questioning the help that has been given to me, which I consider all excellent and I thank you very much, the problem is that I do not understand this issue of refind or elilo, I do not know what I have to put, nor where I have to put it I just can't figure it out no matter how hard I try.
 
Old 09-29-2022, 01:19 PM   #48
AlleyTrotter
Member
 
Registered: Jun 2002
Location: Coal Township PA
Distribution: Slackware64-15.0
Posts: 783

Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
Install the way PV wants Slackware installed. After it works make your changes.
HTH
john
 
2 members found this post helpful.
Old 09-29-2022, 01:23 PM   #49
NaboHipersonico
Member
 
Registered: Sep 2022
Location: /home
Distribution: Debian 12 bookworm xfce
Posts: 116

Original Poster
Rep: Reputation: 24
Quote:
Originally Posted by elcore View Post
Your mkinitrd generator outputs: "-o /boot/initrd.gz" and your refind.conf file points to EFI/initrd.gz
Make sure refind.conf points to correct file.
Hello. at the end of the file /boot/efi/EFI/refind/refind.conf

This is what I have put now as a result of what you have told me and everything is still the same.


menuentry Slackware {
icon EFI/icons/slackware-banner.png
loader EFI/vmlinuz.efi
initrd -o /boot/initrd.gz
}

But I repeat, the problem is that I do not understand it, that is more or less like one of the examples and I do not know if putting it at the end, as I have put it, it is already activated, it is valid or not, etc, I do not know how it is done.
 
Old 09-29-2022, 01:24 PM   #50
NaboHipersonico
Member
 
Registered: Sep 2022
Location: /home
Distribution: Debian 12 bookworm xfce
Posts: 116

Original Poster
Rep: Reputation: 24
Quote:
Originally Posted by AlleyTrotter View Post
Install the way PV wants Slackware installed. After it works make your changes.
HTH
john
What is PV?
 
Old 09-29-2022, 02:00 PM   #51
khronosschoty
Member
 
Registered: Jul 2008
Distribution: Slackware
Posts: 648
Blog Entries: 2

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
Quote:
Originally Posted by NaboHipersonico View Post
What is PV?
https://en.m.wikipedia.org/wiki/Patrick_Volkerding

It’s not bad advice to use the default tools , in this case elilo. However I have run into edge cases where elilo doesn’t work. But you could login as root on a terminal and then Run pkgtool , and then go to setup and rerun the setup script for Eilo.
 
Old 09-29-2022, 02:05 PM   #52
khronosschoty
Member
 
Registered: Jul 2008
Distribution: Slackware
Posts: 648
Blog Entries: 2

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
Quote:
Originally Posted by NaboHipersonico View Post
Hello. at the end of the file /boot/efi/EFI/refind/refind.conf

This is what I have put now as a result of what you have told me and everything is still the same.


menuentry Slackware {
icon EFI/icons/slackware-banner.png
loader EFI/vmlinuz.efi
initrd -o /boot/initrd.gz
}

But I repeat, the problem is that I do not understand it, that is more or less like one of the examples and I do not know if putting it at the end, as I have put it, it is already activated, it is valid or not, etc, I do not know how it is done.
His saying you need to make sure the generic kernel and the initrd are in the same location that is specified in the refind.conf . As I explained I copied the generic kernel to /boot/efi/EFI and that entry in refind.conf is how I renamed it. The initrd.gz doesn’t need renamed (if your using that refind entry I shared) just needs copied to /boot/efi/EFI . The generic kernel should be found in /boot/ and named something like vmlinux-generic-$someversion
 
Old 09-29-2022, 02:06 PM   #53
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,531

Rep: Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371
Quote:
Originally Posted by NaboHipersonico View Post
What is PV?
The Boss.
 
Old 09-29-2022, 02:08 PM   #54
NaboHipersonico
Member
 
Registered: Sep 2022
Location: /home
Distribution: Debian 12 bookworm xfce
Posts: 116

Original Poster
Rep: Reputation: 24
Quote:
Originally Posted by LuckyCyborg View Post
The Boss.
Now, I know perfectly well who Patrick Volkerding is, I've read a lot about him, but of course, since we weren't talking about him, suddenly PV, well, he didn't tell me anything.
 
1 members found this post helpful.
Old 09-29-2022, 02:26 PM   #55
NaboHipersonico
Member
 
Registered: Sep 2022
Location: /home
Distribution: Debian 12 bookworm xfce
Posts: 116

Original Poster
Rep: Reputation: 24
Quote:
Originally Posted by khronosschoty View Post
His saying you need to make sure the generic kernel and the initrd are in the same location that is specified in the refind.conf . As I explained I copied the generic kernel to /boot/efi/EFI and that entry in refind.conf is how I renamed it. The initrd.gz doesn’t need renamed (if your using that refind entry I shared) just needs copied to /boot/efi/EFI . The generic kernel should be found in /boot/ and named something like vmlinux-generic-$someversion

I don't know how all this is done, you will have to explain it to me step by step, if you see fit.
 
Old 09-29-2022, 02:29 PM   #56
NaboHipersonico
Member
 
Registered: Sep 2022
Location: /home
Distribution: Debian 12 bookworm xfce
Posts: 116

Original Poster
Rep: Reputation: 24
in boot I get this:

bash-5.1# cd /boot
bash-5.1# ls
config initrd-tree System.map-generic-5.15.63
config-generic-5.15.63.x64 inside.bmp System.map-huge-5.15.63
config-huge-5.15.63.x64 inside.dat tuxlogo.bmp
efi onlyblue.bmp tuxlogo.dat
elilo.conf onlyblue.dat vmlinuz
elilo-ia32.efi README.initrd vmlinuz-generic
elilo-x86_64.efi refind_linux.conf vmlinuz-generic-5.15.63
grub slack.bmp vmlinuz-huge
initrd.gz System.map vmlinuz-huge-5.15.63

It seems that the vmlinuz-generic is there, but I copy and paste and I don't know why it doesn't come out whole

Last edited by NaboHipersonico; 09-29-2022 at 02:35 PM.
 
Old 09-29-2022, 02:39 PM   #57
khronosschoty
Member
 
Registered: Jul 2008
Distribution: Slackware
Posts: 648
Blog Entries: 2

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
Quote:
Originally Posted by NaboHipersonico View Post
in boot I get this:

bash-5.1# cd /boot
bash-5.1# ls
config initrd-tree System.map-generic-5.15.63
config-generic-5.15.63.x64 inside.bmp System.map-huge-5.15.63
config-huge-5.15.63.x64 inside.dat tuxlogo.bmp
efi onlyblue.bmp tuxlogo.dat
elilo.conf onlyblue.dat vmlinuz
elilo-ia32.efi README.initrd vmlinuz-generic
elilo-x86_64.efi refind_linux.conf vmlinuz-generic-5.15.63
grub slack.bmp vmlinuz-huge
initrd.gz System.map vmlinuz-huge-5.15.63

It seems that the vmlinuz-generic is there, but I copy and paste and I don't know why it doesn't come out whole
Code:
cp /boot/vmlinuz-generic-5.15.63 /boot/efi/EFI/vmlinuz.efi
 
Old 09-29-2022, 02:40 PM   #58
NaboHipersonico
Member
 
Registered: Sep 2022
Location: /home
Distribution: Debian 12 bookworm xfce
Posts: 116

Original Poster
Rep: Reputation: 24
Ok I have already copied the generic kerner where you tell me, but I don't understand what you say next, this:

and that entry in refind.conf

What input are you referring to?
 
Old 09-29-2022, 02:42 PM   #59
NaboHipersonico
Member
 
Registered: Sep 2022
Location: /home
Distribution: Debian 12 bookworm xfce
Posts: 116

Original Poster
Rep: Reputation: 24
Quote:
Originally Posted by khronosschoty View Post
Code:
cp /boot/vmlinuz-generic-5.15.63 /boot/efi/EFI/vmlinuz.efi
ok thanks, I already have that, the next step is the one I don't understand
 
Old 09-29-2022, 02:43 PM   #60
khronosschoty
Member
 
Registered: Jul 2008
Distribution: Slackware
Posts: 648
Blog Entries: 2

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
Quote:
Originally Posted by NaboHipersonico View Post
Ok I have already copied the generic kerner where you tell me, but I don't understand what you say next, this:

and that entry in refind.conf

What input are you referring to?
The entry in refind.conf that you said you copied and pasted to the end of your refind.conf... that refind.conf should be in /boot/efi/EFI/refind/ (if we're following the example I set)... much of this is just preference. You can define it, how you like, in the refind.conf.

also the initrd should be copied to the same location

Code:
 cp /boot/initrd.gz /boot/efi/EFI/
You'll need to update the kernel and make a new initrd and copy those each time to that location... whenever you change kernels e.g. you upgrade the kernel.

Quote:
menuentry Slackware {
icon EFI/icons/slackware-banner.png
loader EFI/vmlinuz.efi
initrd -o /boot/initrd.gz
}
From the example you added to your refind.conf
the efi partition (the partition that has or the menuentry expects to have) will later be mounted to /boot/efi it contains a folder EFI... so in this example EFI folder sits in the root of the partition. That menuentry defines for refind the kernel to use and the intitrd (their names and locations).

BUT note your error here, "initrd -o /boot/initrd.gz" should be: initrd EFI/initrd.gz

Last edited by khronosschoty; 09-29-2022 at 03:11 PM.
 
  


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] Problem upgrading to new kernel 5.3.0-45-generic from 4.18.0-25-generic fgonza1971 Linux - Laptop and Netbook 1 04-01-2020 02:54 PM
[SOLVED] setting up initrd / generic kernel in Grub2...can't load generic Ubunoob001 Slackware 12 03-20-2015 07:32 AM
kernel-generic and kernel-generic-smp ?? liuyug Slackware - Installation 5 06-01-2014 07:01 PM
slack 12, switch to generic kernel from huge kernel, using grub? jaguarrh Slackware 8 09-19-2007 06:29 AM
GART TLB error generic level generic Clydesdale Linux - Hardware 0 08-13-2007 06:18 PM

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

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