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 10-30-2020, 01:51 PM   #361
phalange
Member
 
Registered: May 2018
Distribution: Slackware, FreeBSD, Debian
Posts: 355

Rep: Reputation: 184Reputation: 184

It looks like you're invoking mkinitrd 2 times with different instructions; I'm not sure that will work.

The kernel is referenced in the mkinitrd, and I pass the kernel I want as an argument with -l (so mkinitrd_command_generator.sh -l /boot/vmlinuz-generic).

Also editing the grub.cfg file is not ideal because it is overwritten by grub-mkconfig.

Last edited by phalange; 10-30-2020 at 01:56 PM.
 
Old 10-30-2020, 03:12 PM   #362
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,062

Rep: Reputation: Disabled
Quote:
Originally Posted by stf92 View Post
6. I booted and now, the messages I got:
Code:
udevd[156]: starting eudev-3.1.5 
No kernel modules found for Linux 5.4.50
This is the end of the story. Now, what am I doing wrong?
You didn't install the kernel-modules package for the kernel 5.4.50.
 
Old 10-30-2020, 04:43 PM   #363
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,365

Rep: Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591
I think mkinitrd is using the kernel version you booted with, not the kernel version installed. after chrooting,
Code:
ls /lib/modules
note the kernel version number installed
Code:
mkinitrd -k <version number> -w 10 -m mmc_core:sdhci:cqhci:sdhci-pci:usb-storage:xhci-hcd:mbcache:uas:mmc_block:xhci_pci:ext2
 
Old 10-31-2020, 09:54 AM   #364
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
One thing: when I chroot sometimes I'm given a prompt that includes the whole path of the working directory and sometimes it does not include the path. Isn't that weird?

I chroot'ed and ls /lib/modules gave:
Code:
4.4.14 4.4.14-smp 5.4.49-smp
(I installed 5.4.49, not 5.4.50) Should I put -k 5.4.49 or -k 5.4.49-smp?
 
1 members found this post helpful.
Old 10-31-2020, 10:50 AM   #365
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,365

Rep: Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591
Not sure, at the moment, do you use the smp on plain kernel? Use one if it doesn’t work use the other one. Which ever one you use, use it with the generic kernel

Last edited by colorpurple21859; 10-31-2020 at 10:53 AM.
 
Old 10-31-2020, 03:02 PM   #366
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Regarding my -current installation, which I am using right now, I have found it uses the huge kernel! So it was the huge we finally used for -current, not the generic.
 
Old 11-01-2020, 06:46 PM   #367
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by stf92 View Post
I chroot'ed and ls /lib/modules gave:
Code:
4.4.14 4.4.14-smp 5.4.49-smp
(I installed 5.4.49, not 5.4.50) Should I put -k 5.4.49 or -k 5.4.49-smp?
You would need to put in what matches the kernel version. In this case, it would be 5.4.49-smp.
 
Old 01-04-2021, 04:13 PM   #368
bamunds
Member
 
Registered: Sep 2013
Location: Mounds View MN
Distribution: Slackware64-14.2-Multilib XDM/FVWM3
Posts: 780

Rep: Reputation: 260Reputation: 260Reputation: 260
After the 900_slackware_linux

Quote:
Originally Posted by Richard Cranium View Post
Richard, thanks for a handy little program. I used it to move from LILO to GRUB with no issues. BUT I do have two questions:
1) After following the read.me instructions, should I remove 09_slackware_linux from /etc/grub.d? And then re-run grub-mkconfig once rebooted?
2) I also notice that my Grub menu didn't have the two kernels available in /boot, vmlinuz-generic-4.4.240 and vmlinuz-custom-5.4.75ba. Is it a naming issue? It seems that both are in the grub.cfg under /etc/grub/10_linux, but under a heading for "Advanced options for Slackware-14.2 GNU/Linux" as submenu entries. I'd rather have the latest kernel appear and actually by a default load after 5 seconds of no answer. Is that possible?

Any suggestions would be helpful.

Last edited by bamunds; 01-05-2021 at 11:16 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
Infinite Grub Loop: GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB... beeblequix MEPIS 2 11-02-2013 10:56 PM
Linux boot loader entry in Windows boot loader abhikohokade Linux - Newbie 6 02-22-2013 06:12 AM
I want to remove ubuntu boot loader and use windows boot loader RUshabh55 Linux - Newbie 9 11-29-2009 07:01 PM
How to change from grub boot loader to lilo boot loader linuxjamil Linux - Software 1 05-27-2008 01:47 PM

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

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