Quote:
So, we should stop the progress because some old habits? Honestly, I consider that the huge kernel is as useful today like is the tail to humans. Coming from an Ubuntu background - then being really habituated with the usage of an initrd, I have never used the huge kernel on an installed Slackware system since I started to use the Slackware, over the 10 years ago. Yeah, it's still a bit tricky on Slackware to keep the initrd in sync, compared with other distributions - both Ubuntu and/or openSUSE are light years away on initrd (self-)management. BUT, there are solutions, like what the Slackware ARM do: they ship an initrd in a kernel package, then it's customized on fly with the help of a tool named /usr/sbin/os-initrd-mgr and some configuration and script files put on /boot/local I believe that something like this we badly need also us, on Slackware(64) |
Quote:
|
In general I use kernel-generic for all of my installs, with the exception of the clean installs, be they on in a virtual machine or hardware. Those I use kernel-huge, simply because it's easier than, setting up for kernel-generic. Since the order of install during a full install or the upgrade order with slackpkg is alphabetical kernel-huge will be installed/upgraded after kernel-generic, so kernel-huge is the "default" kernel. I run a stock blacklist on clean machines. If I need to do some testing on a clean machine I make sure it's up to date, then snapshot it or image it.
As for the kernel-generic machines I use a /etc/mkinitrd.conf file for each computer. So it as simple as mkinitrd -F -k 5.12.10 to create the new initrd.gz and initrd-tree/. |
Quote:
|
Quote:
Code:
#!/bin/sh BUT, excluding this particular dual bootloader setup, still are some things to do, which this /boot/mkinitrd-generic.sh script do. When I launch it manually. So, compare this this with Ubuntu or openSUSE, or Fedora, where to setup your initrd (when you update the kernel) you have to do exactly NOTHING, because everything is handled automatically. |
2 Attachment(s)
Quote:
|
Quote:
Like I said already, there are solutions to improve the initrd management. Yours, the one invented by Dr. Mozes, probably many others. BUT, instead of improving the initrd handling, what we do us? We do the huge kernel eulogies... |
|
Just arrived in my inbox.
NetworkManager-1.32.0 https://download.gnome.org/sources/N...-1.32.0.tar.xz |
|
Skanlite not working properly (-current)
Hello all, I've finally updated to -current, and skanlite-2.2.0-i586-3 doesn't work properly. Xsane works just fine with my scanner; but Skanlite preview windows doesn't: the selected part of the image in the preview isn't the part that is actually scanned; the scanned part of the image is about 5% shifted down and also elongated. Similarly, when scanning an A4 page, selecting "A4" as the scan area size works fine in the output, but the preview is incorrect, the displayed selection is about 15% short.
Using auto-selection has the same problem: the selected part of the image in the preview isn't the part actually scanned in the final output, either. Any ideas? |
KDE Connect seems to be crashing on the latest Plasma, opening the KDE Connect panel in system settings causes the daemon to crash.
|
Quote:
|
Quote:
I had been using an initrd for about 5 years. It started when I switched my lilo and fstab to persistent naming. When I build my new computer back in 2017, I switched my main drive to an NVMe, and it is the sole NVMe device on my computer. Because of that, I have no need to do persistent naming with elilo, so I didn't use it in there. I continued using initrds for a few years after. However, when I was compiling recent kernels (using Pat's generic config with some minor tweaking), I decided to just include ext4 in the kernel and stopped using an initrd. I've not noticed any difference (other than it being slightly simpler to update my kernel. I do realize that there are situations that require an initrd (like using UUIDs during boot, luks/lvm, etc), but for other systems, what is the benefit of using an initrd? There's less than 100 modules difference between the huge and generic kernels... |
You already pointed out that an initrd is required in some cases: volume UUIDs, luks, lvm.
Let me add to the list raid (/etc/mdadm.conf), hibernation (/resumedev), use of non-english keyboards on boot (keymap), microcode updates. You can just have a read at mkinitrd's source code and see what it does. I read someone before saying that making an initrd is difficult, and nobody replied with /usr/share/mkinitrd/mkinitrd_command_generator.sh yet. |
All times are GMT -5. The time now is 02:22 PM. |