Groups | Search | Server Info | Login | Register


Groups > linux.gentoo.user > #116254

Re: [gentoo-user] Fwd: [gentoo-dev] New News Item: 2026-xx-yy-dracut-hostonly-cmdline

From Dale <rdalek1967@gmail.com>
Newsgroups linux.gentoo.user
Subject Re: [gentoo-user] Fwd: [gentoo-dev] New News Item: 2026-xx-yy-dracut-hostonly-cmdline
Date 2026-05-08 19:10 +0200
Message-ID <MSwS5-3Ekf-7@gated-at.bofh.it> (permalink)
References <MSuQi-3B98-15@gated-at.bofh.it> <MSuQi-3B98-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 5/8/26 9:56 AM, Dale wrote:
> On 5/8/26 7:27 AM, Immolo wrote:
>> Could you send results  to the -dev thread after updating your kernel and
>> such please.
>>
>> Thanks again for testing!
>>
>> immolo
> Right now I'm working on cutting up a 80 foot tall pin oak tree.  It
> fell a few weeks ago and my neighbor can't do the work due to heart
> trouble, and back problems as well.  He used to jump out of planes in
> the military, when the planes were working just fine even.  LOL I'll try
> to set aside some time in between naps to work on that.  I need a new
> working kernel anyway.  I try to keep older working kernels around but
> my old kernels have no console due to a Nvidia driver change, we pretty
> sure anyway.  Anyway, I need a new kernel so that I have two working
> kernels, with a working console as well. It was on my todo list, I'll
> just try to notch it up a bit.
>
> Thanks to all for the awesome work all of you do.  Gentoo is awesome.  I
> been using it since 2003.  I feel old, in more ways than one.  :/
>
> Dale
>
> :-)  :-)


I had to wait on something else to finish before I could go work on the 
tree.  I built a new kernel and fixed the i18n error dracut was 
producing as well.  Do I have to reboot to check if it works or not?  
Some info on current results, having not rebooted, further below.

A change I noticed.  It isn't verbose anymore.  At first, I thought 
dracut didn't work at all.  It looked as if it did nothing, except print 
out the i18n error at first.  I added the -v option so I could *see* it 
work.  Is that a unintended change?

This is one command that should work, without rebooting, but I'm not 
sure if this is correct.  It doesn't look correct with the old dracut 
either but this is missing more options including one mentioned in the 
news item.  New dracut:



root@Gentoo-1 /usr/src/linux-6.19.14-gentoo # lsinitrd 
/boot/initramfs-6.19.14-1.img
Image: /boot/initramfs-6.19.14-1.img: 12M
========================================================================
Early CPIO image
========================================================================
drwxr-xr-x   3 root     root            0 May  8 11:24 .
-rw-r--r--   1 root     root            2 May  8 11:24 early_cpio
drwxr-xr-x   3 root     root            0 May  8 11:24 kernel
drwxr-xr-x   3 root     root            0 May  8 11:24 kernel/x86
drwxr-xr-x   2 root     root            0 May  8 11:24 kernel/x86/microcode
-rw-r--r--   1 root     root       128644 May  8 11:24 
kernel/x86/microcode/AuthenticAMD.bin
========================================================================
Version: dracut-111

Arguments: --kver '6.19.14-gentoo'

dracut modules:
bash
i18n
fs-lib
kernel-modules
kernel-modules-extra
rootfs-block
terminfo
udev-rules
usrmount
base
shell-interpreter
shutdown
========================================================================
<<<SNIP>>>
dracut cmdline:
root@Gentoo-1 /usr/src/linux-6.19.14-gentoo #


This is what I get with old init thingy built with older dracut.


root@Gentoo-1 / # lsinitrd /boot/initramfs-6.18.19-1.img
Image: /boot/initramfs-6.18.19-1.img: 26M
========================================================================
Early CPIO image
========================================================================
drwxr-xr-x   3 root     root            0 Mar 25 02:01 .
-rw-r--r--   1 root     root            2 Mar 25 02:01 early_cpio
drwxr-xr-x   3 root     root            0 Mar 25 02:01 kernel
drwxr-xr-x   3 root     root            0 Mar 25 02:01 kernel/x86
drwxr-xr-x   2 root     root            0 Mar 25 02:01 kernel/x86/microcode
-rw-r--r--   1 root     root       128644 Mar 25 02:01 kernel/x86/microcode/AuthenticAMD.bin
========================================================================
Version:

Arguments:  --kver '6.18.19-gentoo'

dracut modules:
bash
i18n
network-manager
network
net-lib
crypt
dm
fs-lib
kernel-modules
kernel-modules-extra
kernel-network-modules
lvm
qemu
qemu-net
hwdb
lunmask
nfs
rootfs-block
terminfo
udev-rules
virtiofs
initqueue
usrmount
base
shell-interpreter
shutdown
========================================================================
<<<SNIP>>>

dracut cmdline:
  root=UUID=26e58ee4-9c8f-4efd-bbb3-215df71cf85e rootfstype=ext4 rootflags=rw,noatime
root@Gentoo-1 / #



As you can see, no root=, rootfstype=, or rootflags in new dracut like in the old.  I also have some nvidia and video settings in the config but they don't show up in the old version, or new one either.  That may be normal.

Am I doing something wrong or is this change having effects that were not intended?  I'm hoping this real world test will help make this change go better.

BTW, I set up a alias for dracut.  The actual command is dracut -v --kver=$(cat include/config/kernel.release).  Neil, from -user, posted that a long time ago and it works well.

If you need more info, please let me know, with commands.

Thanks.

Dale

:-)  :-)

P. S.  About to go work on that tree a bit.

Back to linux.gentoo.user | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Re: [gentoo-user] Fwd: [gentoo-dev] New News Item:  2026-xx-yy-dracut-hostonly-cmdline Dale <rdalek1967@gmail.com> - 2026-05-08 17:00 +0200
  Re: [gentoo-user] Fwd: [gentoo-dev] New News Item:  2026-xx-yy-dracut-hostonly-cmdline Dale <rdalek1967@gmail.com> - 2026-05-08 19:10 +0200
    Re: [gentoo-user] Fwd: [gentoo-dev] New News Item:  2026-xx-yy-dracut-hostonly-cmdline Dale <rdalek1967@gmail.com> - 2026-05-10 12:20 +0200

csiph-web