xeno74 wrote: Fri Oct 31, 2025 11:30 am
I don't actually need initial ramdisks, but I have sometimes created ramdisks for others.
I was already able to check the contents of the uInitrd.-6.12 you made earlier with Void:
Code: Select all
dd if=uInitrd of=initrd skip=64 bs=1
zcat initrd | cpio -id
/media/NTFS/rd/usr/bin/e2fsck' -V
e2fsck 1.46.5 (30-Dec-2021)
Using EXT2FS Library version 1.46.2, 28-Feb-2021
So the e2fsck was indeed outdated and caused the boot problems! As void cannot be anymore updated, it is better to create the uInitrds with Mint.
You can use the following commands to create a new ramdisk and boot from it:
Code: Select all
dracut initrd-6.12.img 6.12.48-powerpc64-smp
Code: Select all
mkimage -T ramdisk -C gzip -n 'Kernel 6.12 uInitrd' -d initrd-6.12.img uInitrd-6.12
Thanks! But there were some problems when installing dracut on MIntPPC25:
Code: Select all
Created symlink '/etc/systemd/system/sysinit.target.wants/lvm2-monitor.service' → '/usr/lib/systemd/system/lvm2-monitor.service'.
Created symlink '/etc/systemd/system/sysinit.target.wants/lvm2-lvmpolld.socket' → '/usr/lib/systemd/system/lvm2-lvmpolld.socket'.
Processing triggers for dbus (1.16.2-2) ...
Processing triggers for shared-mime-info (2.4-5+b3) ...
Processing triggers for procps (2:4.0.4-9) ...
Processing triggers for libc-bin (2.41-12) ...
Processing triggers for man-db (2.13.1-1) ...
Processing triggers for dracut (108-8) ...
update-initramfs: Generating /boot/initrd.img-6.16.9+deb14-powerpc
realpath: /lib/modules/6.16.9+deb14-powerpc: No such file or directory
dracut[F]: Cannot find module directory
dracut[F]: and --no-kernel was not specified
update-initramfs: failed for /boot/initrd.img-6.16.9+deb14-powerpc with 1.
dpkg: error processing package dracut (--configure):
installed dracut package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
dracut
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
dpkg: error: dpkg frontend lock was locked by /usr/sbin/synaptic process with pid 7976
Note: removing the lock file is always wrong, can damage the locked area
and the entire system. See <https://wiki.debian.org/Teams/Dpkg/FAQ#db-lock>.
How should these errors be interpreted and what should be done to fix the problems? Is dracut still fully functional or not...?
I already tried to make a new uInitrd with those commands you advised, and it seemed to work ok when booting a very old MintPPC installation and Fienix. But when I tested it with MintPPC25, booting was halted before the desktop was loaded, and there were repated continously on the screen three code lines starting with 'pulseaudio...'. All of the three distros I tested have Pulseaudio 17.x installed, and I have the kernel modules installed on /usr/lib/modules. My sound card is SoundBlaster Live!.
Any suggestions what to do next?