LinuxQuestions.org
Review your favorite Linux distribution.
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 01-09-2024, 06:43 AM   #1
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,391

Rep: Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765
Latest Slackware64 -15.0/isolinux initrd.img when booted with kernel 5.15.145 shows no modules


I am scratching my head here.

I find it convenient to maintain a small partition dedicated to booting into the Slackware installer.
I have had this working with the initrd.img supplied with the vmlinuz-huge-5.15.19 kernel.

I just tried updating to using the initrd.img supplied with the vmlinuz-huge-5.15.145. It boots without problem, but my USB keyboard was not recognised, forcing me to use the laptop keyboard. If I run 'lsmod', I see no output.

I do not know when the behaviour changed between the kernel versions. Apparently the slackware.uk cumulative archive does not track the isolinux directory changes.

Just wanted to report my experience, as it may affect anybody building an ISO to install Slackware64.
 
Old 01-09-2024, 07:08 AM   #2
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,928

Rep: Reputation: 5044Reputation: 5044Reputation: 5044Reputation: 5044Reputation: 5044Reputation: 5044Reputation: 5044Reputation: 5044Reputation: 5044Reputation: 5044Reputation: 5044
When I used to do that I'd just stick with the shipped pair of:
slackware64-15.0/kernels/huge.s/bzImage
slackware64-15.0/isolinux/initrd.img
... and never tried to update them.

But, I haven't done any of this since the lilo days. Not even sure how efi and isolinux/efiboot.img fit into the scenario these days.
 
Old 01-09-2024, 07:22 AM   #3
Windu
Member
 
Registered: Aug 2021
Distribution: Arch Linux, Debian, Slackware
Posts: 601

Rep: Reputation: Disabled
Quote:
Originally Posted by allend View Post
I just tried updating to using the initrd.img supplied with the vmlinuz-huge-5.15.145.
That 5.15.145 kernel is an update to Slackware 15.0, it is found in ./patches/packages/ . These update kernel packages do not come with a separate initrd. The initrd you find in ./isolinux/ is meant to be used with the Slackware 15.0 boot kernel which is still the original 5.15.19. The initrd contains the modules for just that 5.15.19 kernel.
 
2 members found this post helpful.
Old 01-09-2024, 07:43 AM   #4
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,391

Original Poster
Rep: Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765
Quote:
That 5.15.145 kernel is an update to Slackware 15.0, it is found in ./patches/packages/ . These update kernel packages do not come with a separate initrd. The initrd you find in ./isolinux/ is meant to be used with the Slackware 15.0 boot kernel which is still the original 5.15.19. The initrd contains the modules for just that 5.15.19 kernel.
Ahh! Thanks for that.
 
Old 01-09-2024, 01:43 PM   #5
henca
Senior Member
 
Registered: Aug 2007
Location: Linköping, Sweden
Distribution: Slackware
Posts: 1,037

Rep: Reputation: 698Reputation: 698Reputation: 698Reputation: 698Reputation: 698Reputation: 698
As I customize the installation media I have also updated the kernel to 5.15.145, but that did require a replacement of all the kernel modules in isolinux/initrd.img. When I did this, I started by installing all kernel modules for 5.15.145 and then manually removed most of the modules not present in previous kernel. However, maybe it would have been faster to use some script in source/installer/

regards Henrik
 
Old 01-10-2024, 05:55 PM   #6
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,499
Blog Entries: 7

Rep: Reputation: 2585Reputation: 2585Reputation: 2585Reputation: 2585Reputation: 2585Reputation: 2585Reputation: 2585Reputation: 2585Reputation: 2585Reputation: 2585Reputation: 2585
Quote:
Originally Posted by allend View Post
I find it convenient to maintain a small partition dedicated to booting into the Slackware installer.
I do exactly the same thing, except that I don't use a dedicated partition... I copy the kernel & initrd.img to the EFI System partition.

I've not tried 'slipstreaming' all of the security patches into the installation iso, but it is probably not a difficult exercise. For me, the first step with a new installation is always 'slackpkg update' anyway, so maybe it's not worth spending the time on.
 
Old 01-11-2024, 07:02 AM   #7
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,391

Original Poster
Rep: Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765
Quote:
Originally Posted by rkelsen View Post
I do exactly the same thing, except that I don't use a dedicated partition... I copy the kernel & initrd.img to the EFI System partition.

I've not tried 'slipstreaming' all of the security patches into the installation iso, but it is probably not a difficult exercise. For me, the first step with a new installation is always 'slackpkg update' anyway, so maybe it's not worth spending the time on.
Nice to know it works with UEFI systems.

I did report on patching the installer to prefer packages from patches when using the ”Install from FTP/HTTP server” option.
 
  


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] Why root now has a password set in /etc/shadow in slackware64-current/isolinux/initrd.img? Didier Spaier Slackware 4 02-24-2016 09:36 AM
Looking for script to generate isolinux/initrd.img Skaperen Slackware 19 05-31-2009 09:32 AM
Failed to symbolic-link boot/initrd.img-2.6.18-4-486 to initrd.img Scotteh Linux - Software 8 06-01-2007 11:24 PM
Initrd.img Error...Isolinux: Disk Error 80 bohh Slackware - Installation 1 07-29-2004 11:20 AM

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

All times are GMT -5. The time now is 05:48 PM.

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