• updating initrd

    From Marco Moock@mm@dorfdsl.de to alt.os.linux.slackware on Wed Jul 16 20:03:29 2025
    From Newsgroup: alt.os.linux.slackware

    Hello!

    http://www.slackware.com/changelog/stable.php?cpu=x86_64
    |Be sure to upgrade your initrd after upgrading the kernel packages.

    Is it enough to run

    sudo geninitrd

    or do I need to run additional stuff?

    I am using GRUB2, so I had to run

    sudo grub-mkconfig -o /boot/grub/grub.cfg

    anyway.

    Is it planned to automate that like the call of update-grub in current
    after a kernel update?
    --
    kind regards
    Marco

    Send spam to 1752688855muell@stinkedores.dorfdsl.de

    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Henrik Carlqvist@Henrik.Carlqvist@deadspam.com to alt.os.linux.slackware on Thu Jul 17 09:17:23 2025
    From Newsgroup: alt.os.linux.slackware

    On Wed, 16 Jul 2025 20:03:29 +0200, Marco Moock wrote:
    http://www.slackware.com/changelog/stable.php?cpu=x86_64 |Be sure to
    upgrade your initrd after upgrading the kernel packages.

    Is it enough to run

    sudo geninitrd

    or do I need to run additional stuff?

    As allways, it depends upon your configuration how much you need to do
    and what to do at a kernel update. I have choosen to make things easy by
    using a huge kernel without any initrd in Slackware 15.0, however I still
    need to update lilo or extlinux which are my bootloaders of choice.

    I am using GRUB2, so I had to run

    sudo grub-mkconfig -o /boot/grub/grub.cfg

    anyway.

    Is it planned to automate that like the call of update-grub in current
    after a kernel update?

    I'm not running current, but in the Slackware forum at linuxquestions.org
    I have seen some suggestions about calling a script to update the
    booatloader from the kernel package. I can't say for sure however, if any
    such suggestion has been implemented yet.

    regards Henrik
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Marco Moock@mm@dorfdsl.de to alt.os.linux.slackware on Thu Jul 17 12:23:13 2025
    From Newsgroup: alt.os.linux.slackware

    On 17.07.2025 09:17 Henrik Carlqvist wrote:

    On Wed, 16 Jul 2025 20:03:29 +0200, Marco Moock wrote:
    http://www.slackware.com/changelog/stable.php?cpu=x86_64 |Be sure to upgrade your initrd after upgrading the kernel packages.

    Is it enough to run

    sudo geninitrd

    or do I need to run additional stuff?

    As allways, it depends upon your configuration how much you need to
    do and what to do at a kernel update. I have choosen to make things
    easy by using a huge kernel without any initrd in Slackware 15.0,
    however I still need to update lilo or extlinux which are my
    bootloaders of choice.

    How can I find out which kernel image (not only version) in the running
    system?
    uname doesn't show if I use the huge kernel

    I am using GRUB2, so I had to run

    sudo grub-mkconfig -o /boot/grub/grub.cfg

    anyway.

    Is it planned to automate that like the call of update-grub in
    current after a kernel update?

    I'm not running current, but in the Slackware forum at
    linuxquestions.org I have seen some suggestions about calling a
    script to update the booatloader from the kernel package. I can't say
    for sure however, if any such suggestion has been implemented yet.

    For Lilo, this exists already for 15, but for GRUB, this was
    implemented in the last months in current.

    I don't run update-grub (only available in current) after a kernel
    upgrade in current.


    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Henrik Carlqvist@Henrik.Carlqvist@deadspam.com to alt.os.linux.slackware on Thu Jul 17 16:24:01 2025
    From Newsgroup: alt.os.linux.slackware

    On Thu, 17 Jul 2025 12:23:13 +0200, Marco Moock wrote:
    How can I find out which kernel image (not only version) in the running system?
    uname doesn't show if I use the huge kernel

    Somehow you have configured your bootloader to load a kernel, or maybe
    even to select between different kernels. I am not familiar with grub,
    but my guess is that some configuration file points to a vmlinuz-huge-*
    or vmlinuz-generic-*

    If you are unable to find how you configured your boot loader there is
    still a trick to check:

    cat /proc/config.gz | gzip -d - | grep EXT4_FS

    if CONFIG_EXT4_FS=y you have a huge kernel on Slackware 15.0, with a
    generic kernel it is instead "m".

    regards Henrik
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Jim Diamond@zsd@jdvb.ca to alt.os.linux.slackware on Thu Jul 17 15:47:40 2025
    From Newsgroup: alt.os.linux.slackware

    On 2025-07-17 at 13:24 ADT, Henrik Carlqvist <Henrik.Carlqvist@deadspam.com> wrote:
    On Thu, 17 Jul 2025 12:23:13 +0200, Marco Moock wrote:
    How can I find out which kernel image (not only version) in the running
    system?
    uname doesn't show if I use the huge kernel

    Somehow you have configured your bootloader to load a kernel, or maybe
    even to select between different kernels. I am not familiar with grub,
    but my guess is that some configuration file points to a vmlinuz-huge-*
    or vmlinuz-generic-*

    If you are unable to find how you configured your boot loader there is
    still a trick to check:

    cat /proc/config.gz | gzip -d - | grep EXT4_FS

    For those who are lazier (no, I mean "more efficient") typists, try this:
    zgrep EXT4_FS /proc/config.gz

    Jim

    P.S. Note how I resisted saying UUOC. Until now, anyway. ;-)
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Marco Moock@mm@dorfdsl.de to alt.os.linux.slackware on Thu Jul 17 21:16:15 2025
    From Newsgroup: alt.os.linux.slackware

    On 17.07.2025 16:24 Uhr Henrik Carlqvist wrote:

    if CONFIG_EXT4_FS=y you have a huge kernel on Slackware 15.0, with a
    generic kernel it is instead "m".

    Is y, so I booted huge. Do I need initrd at all?
    What happens if I let it generate it?
    --
    kind regards
    Marco

    Send spam to 1752762241muell@stinkedores.dorfdsl.de

    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Gamgee@gamgee@palantirbbs.ddns.net.remove-pj6-this to Marco Moock on Thu Jul 17 20:55:11 2025
    From Newsgroup: alt.os.linux.slackware

    To: Marco Moock
    Marco Moock wrote to alt.os.linux.slackware <=-

    From Newsgroup: alt.os.linux.slackware

    On 17.07.2025 16:24 Uhr Henrik Carlqvist wrote:

    if CONFIG_EXT4_FS=y you have a huge kernel on Slackware 15.0, with a
    generic kernel it is instead "m".

    Is y, so I booted huge. Do I need initrd at all?

    No, you do not.

    What happens if I let it generate it?

    Not sure, but I wouldn't do it.




    ... All the easy problems have been solved.
    --- MultiMail/Linux v0.52
    --- Synchronet 3.21a-Linux NewsLink 1.2
    Palantir BBS - telnet://palantirbbs.ddns.net
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From noel@deletethis@invalid.lan to alt.os.linux.slackware on Fri Jul 18 16:59:50 2025
    From Newsgroup: alt.os.linux.slackware

    On Thu, 17 Jul 2025 20:55:11 -0500, Gamgee wrote:

    To: Marco Moock -=> Marco Moock wrote to alt.os.linux.slackware <=-

    From Newsgroup: alt.os.linux.slackware

    On 17.07.2025 16:24 Uhr Henrik Carlqvist wrote:

    if CONFIG_EXT4_FS=y you have a huge kernel on Slackware 15.0, with a generic kernel it is instead "m".

    Is y, so I booted huge. Do I need initrd at all?

    No, you do not.

    What happens if I let it generate it?

    Not sure, but I wouldn't do it.


    it shouldnt do anything, unless you add the initrd= /boot/initrd.gz to
    your image in lilo.conf... cant comment on grub.
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From noel@deletethis@invalid.lan to alt.os.linux.slackware on Fri Jul 18 17:13:36 2025
    From Newsgroup: alt.os.linux.slackware

    On Fri, 18 Jul 2025 16:59:50 +1000, noel wrote:

    On Thu, 17 Jul 2025 20:55:11 -0500, Gamgee wrote:

    To: Marco Moock -=> Marco Moock wrote to alt.os.linux.slackware <=-

    From Newsgroup: alt.os.linux.slackware

    On 17.07.2025 16:24 Uhr Henrik Carlqvist wrote:

    if CONFIG_EXT4_FS=y you have a huge kernel on Slackware 15.0, with a
    generic kernel it is instead "m".

    Is y, so I booted huge. Do I need initrd at all?

    No, you do not.

    What happens if I let it generate it?

    Not sure, but I wouldn't do it.


    it shouldnt do anything, unless you add the initrd= /boot/initrd.gz to
    your image in lilo.conf... cant comment on grub.


    looks like I was right, we still have the initial default initrd image
    from when we installed this particular machine in 15.0 and it is not nor
    has ever been used, always use huge kernels. we use to strip em down in a custom, but found it makes no difference to performance for past 15
    years so dont bother anymore and use default huge, which I think is just
    the default kernel-generic in -current now


    lrwxrwxrwx 1 root root 38 Jan 27 2022 README.initrd -> /usr/doc/ mkinitrd-1.4.11/README.initrd
    lrwxrwxrwx 1 root root 24 Jul 16 16:27 System.map -> System.map- huge-5.15.188
    -rw-r--r-- 1 root root 6940344 Jul 15 08:12 System.map-huge-5.15.188 -rw-r--r-- 1 root root 148480 Jul 15 04:18 amd-ucode.img
    -rw-r--r-- 1 root root 512 Nov 21 2020 boot.0800
    -rw-r--r-- 1 root root 167 Nov 21 2020 boot_message.txt
    lrwxrwxrwx 1 root root 24 Jul 16 16:27 config -> config- huge-5.15.188.x64
    -rw-r--r-- 1 root root 239739 Jul 15 07:54 config-huge-5.15.188.x64 -rwxr-xr-x 1 root root 216219 Jun 13 2018 elilo-ia32.efi*
    -rwxr-xr-x 1 root root 238531 Jun 13 2018 elilo-x86_64.efi*
    *drwxr-xr-x 14 root root 4096 Nov 21 2020 initrd-tree/ <---------- -rw-r--r-- 1 root root 8323602 Nov 21 2020 initrd.gz <----------* -rw-r--r-- 1 root root 22578 Feb 13 2021 inside.bmp
    -rw-r--r-- 1 root root 432 Feb 13 2021 inside.dat
    -rw------- 1 root root 32768 Jul 16 16:44 map
    -rw-r--r-- 1 root root 6878 Feb 13 2021 onlyblue.bmp
    -rw-r--r-- 1 root root 424 Feb 13 2021 onlyblue.dat
    -rw-r--r-- 1 root root 15634 Mar 27 2011 slack.bmp
    -rw-r--r-- 1 root root 33192 Feb 13 2021 tuxlogo.bmp
    -rw-r--r-- 1 root root 423 Feb 13 2021 tuxlogo.dat
    lrwxrwxrwx 1 root root 21 Jul 16 16:27 vmlinuz -> vmlinuz-
    huge-5.15.188
    lrwxrwxrwx 1 root root 21 Jul 16 16:27 vmlinuz-huge -> vmlinuz- huge-5.15.188
    -rw-r--r-- 1 root root 11685312 Jul 15 08:12 vmlinuz-huge-5.15.188





    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From John Doe@john.doe@myemail.invalid to alt.os.linux.slackware on Sat Jul 19 23:27:06 2025
    From Newsgroup: alt.os.linux.slackware

    www.goyimtv.com

    Send the Jews back!

    Seig Heil!

    Heil Hitler!!!

    O/ O/ O/




    On Jul 18, 2025 at 3:13:36rC>AM EDT, "noel" <deletethis@invalid.lan> wrote:

    On Fri, 18 Jul 2025 16:59:50 +1000, noel wrote:

    On Thu, 17 Jul 2025 20:55:11 -0500, Gamgee wrote:

    To: Marco Moock -=> Marco Moock wrote to alt.os.linux.slackware <=-MM> From >>> Newsgroup: alt.os.linux.slackware

    On 17.07.2025 16:24 Uhr Henrik Carlqvist wrote:

    if CONFIG_EXT4_FS=y you have a huge kernel on Slackware 15.0, with a
    generic kernel it is instead "m".

    Is y, so I booted huge. Do I need initrd at all?

    No, you do not.

    What happens if I let it generate it?

    Not sure, but I wouldn't do it.


    it shouldnt do anything, unless you add the initrd= /boot/initrd.gz to
    your image in lilo.conf... cant comment on grub.


    looks like I was right, we still have the initial default initrd image
    from when we installed this particular machine in 15.0 and it is not nor
    has ever been used, always use huge kernels. we use to strip em down in a custom, but found it makes no difference to performance for past 15
    years so dont bother anymore and use default huge, which I think is just
    the default kernel-generic in -current now


    lrwxrwxrwx 1 root root 38 Jan 27 2022 README.initrd -> /usr/doc/ mkinitrd-1.4.11/README.initrd
    lrwxrwxrwx 1 root root 24 Jul 16 16:27 System.map -> System.map- huge-5.15.188
    -rw-r--r-- 1 root root 6940344 Jul 15 08:12 System.map-huge-5.15.188 -rw-r--r-- 1 root root 148480 Jul 15 04:18 amd-ucode.img
    -rw-r--r-- 1 root root 512 Nov 21 2020 boot.0800
    -rw-r--r-- 1 root root 167 Nov 21 2020 boot_message.txt
    lrwxrwxrwx 1 root root 24 Jul 16 16:27 config -> config- huge-5.15.188.x64
    -rw-r--r-- 1 root root 239739 Jul 15 07:54 config-huge-5.15.188.x64 -rwxr-xr-x 1 root root 216219 Jun 13 2018 elilo-ia32.efi*
    -rwxr-xr-x 1 root root 238531 Jun 13 2018 elilo-x86_64.efi*
    *drwxr-xr-x 14 root root 4096 Nov 21 2020 initrd-tree/ <----------> -rw-r--r-- 1 root root 8323602 Nov 21 2020 initrd.gz <----------*> -rw-r--r-- 1 root root 22578 Feb 13 2021 inside.bmp
    -rw-r--r-- 1 root root 432 Feb 13 2021 inside.dat
    -rw------- 1 root root 32768 Jul 16 16:44 map
    -rw-r--r-- 1 root root 6878 Feb 13 2021 onlyblue.bmp
    -rw-r--r-- 1 root root 424 Feb 13 2021 onlyblue.dat
    -rw-r--r-- 1 root root 15634 Mar 27 2011 slack.bmp
    -rw-r--r-- 1 root root 33192 Feb 13 2021 tuxlogo.bmp
    -rw-r--r-- 1 root root 423 Feb 13 2021 tuxlogo.dat
    lrwxrwxrwx 1 root root 21 Jul 16 16:27 vmlinuz -> vmlinuz- huge-5.15.188
    lrwxrwxrwx 1 root root 21 Jul 16 16:27 vmlinuz-huge -> vmlinuz- huge-5.15.188
    -rw-r--r-- 1 root root 11685312 Jul 15 08:12 vmlinuz-huge-5.15.188
    --- Synchronet 3.21a-Linux NewsLink 1.2