SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
As far as possible, a generic kernel should be suitable for all hardware and for all users
I understand that the naming doesn't suggest so, but I always considered the huge kernel to be the one meant for "all users" who aren't skilled yet or are in a hurry, while the generic being meant to be small and with less impact.
I understand that the naming doesn't suggest so, but I always considered the huge kernel to be the one meant for "all users" who aren't skilled yet or are in a hurry, while the generic being meant to be small and with less impact.
To be honest, in this great world of Linux distributions, absolutely nobody provides a huge kernel with all these built-in modules
They provide a kind of generic kernel with initramfs (self generated, ditto after each kernel update)
Mr Volkerding has been kind enough to propose a workaround to that self generation of the initrd, i.e. the generic kernel no longer needs one, at least for booting (in most cases)
Are you suggesting that Slackware users are less skilled than all other users?
To be honest, in this great world of Linux distributions, absolutely nobody provides a huge kernel with all these built-in modules
They provide a kind of generic kernel with initramfs (self generated, ditto after each kernel update)
Indeed, all other major Linux distributions manage initrd by themselves, without user intervention.
And it was discussed in detail in this forum, how it is possible to do the same in Slackware. It is very simple to do this. What apparently is missing is the will to do it.
Quote:
Originally Posted by marav
Mr Volkerding has been kind enough to propose a workaround to that self generation of the initrd, i.e. the generic kernel no longer needs one, at least for booting (in most cases)
Let's be honest. It's not even a workaround. It is a concession made to some people who refuse to learn to use an initrd.
Quote:
Originally Posted by marav
Are you suggesting that Slackware users are less skilled than all other users?
How can you describe the attitude of some people who consider it a burden to learn to use /etc/mkinitrd.conf.sample ? Technologically challenged?
For your enjoyment, I've attached this Slackware configuration file below. Would you mind explaining to me what is difficult to understand in this file?
Code:
# mkinitrd.conf.sample
# See "man mkinitrd.conf" for details on the syntax of this file
#
#SOURCE_TREE="/boot/initrd-tree"
#CLEAR_TREE="0"
#OUTPUT_IMAGE="/boot/initrd.gz"
#KERNEL_VERSION="$(uname -r)"
#KEYMAP="us"
#MODULE_LIST="ext4"
#LUKSDEV="/dev/sda2"
#LUKSTRIM="/dev/sda2" # verify support with 'hdparm -I $dev | grep TRIM'
#LUKSKEY="LABEL=TRAVELSTICK:/keys/alienbob.luks"
#ROOTDEV="/dev/sda1"
#ROOTFS="ext4"
#RESUMEDEV="/dev/sda2"
#RAID="0"
#LVM="0"
#UDEV="1"
#MODCONF="0"
#MICROCODE_ARCH="/boot/intel-ucode.cpio"
#WAIT="1"
Personally, I think it is ridiculous some people to call what I do "advanced usage", when it comes to a Slackware system installed in an SD-card, using UUIDs for portability. If really I am an "advanced user", then the general level of knowledge in the Slackware community hits the deep bottom.
Last edited by ZhaoLin1457; 10-29-2023 at 08:40 AM.
Ah, it already included in -current, my bad (but some linking still might help with clover - opencl-c.h and opencl-c-base.h from llvm package should be put somewhere system-readable, like /usr/include, instead of /usr/lib/clang/16/include/ on my machine or similar with llvm-17 from -current).
also, making rust-book separate from rust itself might save some 500 Mb of /usr/doc space on someone's limited tmpfs during update ...
EDIT: OK, dropping the huge kernel was already considered in ChangeLog.txt: "First of all, it's clear that some Slackware users have been using the huge kernel all along, without an initrd, and are (to say the least) unhappy about the prospect of a new requirement to start using one."
The changelog also says: "The conclusion that I've come to here is that rather than drop the huge
kernel, ... it would be better to make the generic kernel more huge, and minimize the differences between the two kernel
configs."
Speaking of the new generic kernel a bit huge, it is not able to mount the EFI partition without the associated modules.
This will block the user's access to the EFI partition, if he does a kernel upgrade and has uninstalled the associated kernel-modules. It is one of the main reasons for user errors when using elilo or similar bootloaders which needs putting files in the EFI partition.
Code:
root@darkstar:~# mv /lib/modules//6.1.60 /lib/modules/6.1.60.bak
root@darkstar:~#
root@darkstar:~# mount /boot/efi
mount: /boot/efi: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error.
dmesg(1) may have more information after failed mount system call.
root@darkstar:~#
root@darkstar:~# mv /lib/modules/6.1.60.bak /lib/modules/6.1.60
root@darkstar:~#
Last edited by ZhaoLin1457; 10-29-2023 at 11:17 AM.
Perhaps the problem is with running it in virtualbox ?
no, it's not
if run with "live" account in the above steps, everything is good.
and firstly, i was met this in a vnc server and spent a whole to found out and re-produce, because alien's livecd is good
finally found the shortest way to re-produce and then ...
if run with "live" account in the above steps, everything is good.
and firstly, i was met this in a vnc server and spent a whole to found out and re-produce, because alien's livecd is good
finally found the shortest way to re-produce and then ...
and i post vnc log following.
Question: What OS is the computer actually booted into in-which you are then booting the LiveSlak ISO from within virtalbox ?
How can you describe the attitude of some people who consider it a burden to learn to use /etc/mkinitrd.conf.sample ? Technologically challenged?
No, not "Technologically challenged"... I'm just lazy
But, be that as it may...
I agree completely with Patrick's point-of-view and would be perfectly fine
with the total elimination of the huge kernel.
If he decided to go to just the 'standard' generic kernel requiring an initrd, that would be fine by me.
Heck, during an install from DVD, if the generic kernel is installed
the setup system automatically generates that intitrd.
So, since it can be done automatically during initial install...
it shouldn't be too darned difficult to do it manually each time the kernel gets upgraded.
Patrick has already said that v15.1 will no-longer have lilo but rather only GRUB.
So, those of us who have only ever used lilo will either need to continue using lilo from 15.0 or learn to use GRUB instead.
Since Slackware does not install bubblewrap or flatpack by default this patch removes the bubblewrap requirements and with @0XBF https://www.linuxquestions.org/quest...ml#post6461102 modified Slackbuild it allow's xdg-desktop-portal to install.
-
-use_bwrap = get_option('sandboxed-image-validation')
-bwrap = find_program('bwrap', required: use_bwrap)
-
-if not use_bwrap
- warning('''
- Sandboxed image validation with Bubblewrap is DISABLED.
- If your system can run Bubblewrap, it's **hightly** recommended that you enable this
- option. Bitmap validation and processing is a common attack vector.
- By proceeding with sandboxed image validation disabled, you acknowledge that you
- are lowering your system's security, and are subject to known or unknown exploits.
- ''')
-endif
+bwrap = find_program('bwrap', required: false)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.