Mkinitcpio 39 is buggy

regarding mkinitcpio … has anyone checked the contents of:
/usr/share/mkinitcpio/hook.preset of the effected vm’s?

Yes.


Just because something is in the repos does not mean you should have it installed. But its your system.

It seems it was not the source of this issue though.


I do find it interesting that most (if not all?) of the reported issues are in VM.

Pacnews may be another thing?

pacdiff -o
1 Like

@scarwire did you also removed the pacsave files? Cos of this:

+install_preset() {
+    local pkgbase="$1" preset="$2"
+
+    if [[ ! -e "$preset" ]]; then
+        if [[ -e "$preset.pacsave" ]]; then
+            # move the pacsave to the template
+            mv -- "${preset}.pacsave" "$preset"
+        else
+            # create the preset from the template
+            sed "s|%KERNELBASE%|${kernelbase}|g" /usr/share/mkinitcpio/hook.preset \
+                | install -Dm644 /dev/stdin "$preset"
+        fi
+    fi
+}

@Hanzel please remove the following from your system and call

mkinitcpio -P

again.

/boot/vmlinuz-
/boot/initramfs-.img
/boot/initramfs--fallback.img

Edit: I misread, updating in a sec

Summary
$  cd /etc/mkinitcpio.d/   
$ ls                                               
linux61.preset  linux68.preset  linux69.preset
$ sudo rm *.preset                         
$ ls                                             
$ 
$ sudo mkinitcpio -P                    
==> ERROR: No presets found in /etc/mkinitcpio.d
$ 

We are ’ clean’ so now update


==== AUTHENTICATION COMPLETE ====
Download of linux69 (6.9.0-1) started                                           
Download of manjaro-hello (0.7.2-6) started                                     
Download of manjaro-release (24.0.0-1) started                                  
Download of manjaro-release (24.0.0-1) finished                                 
Download of manjaro-hello (0.7.2-6) finished                                    
Download of linux69 (6.9.0-1) finished                                          
Checking keyring...                                                        [3/3]
Checking integrity...                                                      [3/3]
Loading packages files...                                                  [3/3]
Checking file conflicts...                                                 [3/3]
Checking available disk space...                                           [3/3]
Running pre-transaction hooks...
Removing linux initcpios...                                                [1/1]
Upgrading linux69 (6.9.0rc7-1 -> 6.9.0-1)...                               [1/3]
Upgrading manjaro-hello (0.7.2-5 -> 0.7.2-6)...                            [2/3]
Upgrading manjaro-release (23.1.4-1 -> 24.0.0-1)...                        [3/3]
Running post-transaction hooks...
Arming ConditionNeedsUpdate...                                             [1/5]
Updating module dependencies...                                            [2/5]
Updating linux initcpios...                                                [3/5]
==> Building image from preset: /etc/mkinitcpio.d/linux69.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz- -g /boot/initramfs-.img
==> Starting build: '6.9.0-1-MANJARO'
  -> Running build hook: [systemd]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [sd-vconsole]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-.img'
  -> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux69.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz- -g /boot/initramfs--fallback.img -S autodetect
==> Starting build: '6.9.0-1-MANJARO'
  -> Running build hook: [systemd]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
==> WARNING: Possibly missing firmware for module: 'ast'
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'aic94xx'
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'wd719x'
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [sd-vconsole]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> WARNING: Possibly missing '/bin/sh' for script: /usr/bin/fsck.xfs
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs--fallback.img'
  -> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
Updating Grub-Bootmenu                                                     [4/5]
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/amd-ucode.img /boot/initramfs-.img
Found initrd fallback image: /boot/initramfs--fallback.img
Found linux image: /boot/vmlinuz-6.8-x86_64
Found initrd image: /boot/amd-ucode.img /boot/initramfs-6.8-x86_64.img
Found linux image: /boot/vmlinuz-6.1-x86_64
Found initrd image: /boot/amd-ucode.img /boot/initramfs-6.1-x86_64.img
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done
Updating the desktop file MIME type cache...                               [5/5]
A restart is required for the changes to take effect.
Transaction successfully finished.
$ ls                                      
linux69.preset
$ sudo mhwd-kernel --install linux61            
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 multilib is up to date
warning: linux61-6.1.90-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) linux61-6.1.90-1

Total Installed Size:  143,42 MiB
Net Upgrade Size:        0,00 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                     [######################] 100%
(1/1) checking package integrity                   [######################] 100%
(1/1) loading package files                        [######################] 100%
(1/1) checking for file conflicts                  [######################] 100%
(1/1) checking available disk space                [######################] 100%
:: Processing package changes...
(1/1) reinstalling linux61                         [######################] 100%
:: Running post-transaction hooks...
(1/4) Arming ConditionNeedsUpdate...
(2/4) Updating module dependencies...
(3/4) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux61.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz- -g /boot/initramfs-.img
==> Starting build: '6.1.90-1-MANJARO'
  -> Running build hook: [systemd]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [sd-vconsole]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-.img'
  -> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux61.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz- -g /boot/initramfs--fallback.img -S autodetect
==> Starting build: '6.1.90-1-MANJARO'
  -> Running build hook: [systemd]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
==> WARNING: Possibly missing firmware for module: 'ast'
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'aic94xx'
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'wd719x'
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [sd-vconsole]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> WARNING: Possibly missing '/bin/sh' for script: /usr/bin/fsck.xfs
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs--fallback.img'
  -> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
(4/4) Updating Grub-Bootmenu
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/amd-ucode.img /boot/initramfs-.img
Found initrd fallback image: /boot/initramfs--fallback.img
Found linux image: /boot/vmlinuz-6.8-x86_64
Found initrd image: /boot/amd-ucode.img /boot/initramfs-6.8-x86_64.img
Found linux image: /boot/vmlinuz-6.1-x86_64
Found initrd image: /boot/amd-ucode.img /boot/initramfs-6.1-x86_64.img
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done
$ sudo mhwd-kernel --install linux68  
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 multilib is up to date
warning: linux68-6.8.9-3 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) linux68-6.8.9-3

Total Installed Size:  138,74 MiB
Net Upgrade Size:        0,00 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                     [######################] 100%
(1/1) checking package integrity                   [######################] 100%
(1/1) loading package files                        [######################] 100%
(1/1) checking for file conflicts                  [######################] 100%
(1/1) checking available disk space                [######################] 100%
:: Processing package changes...
(1/1) reinstalling linux68                         [######################] 100%
:: Running post-transaction hooks...
(1/4) Arming ConditionNeedsUpdate...
(2/4) Updating module dependencies...
(3/4) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux68.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz- -g /boot/initramfs-.img
==> Starting build: '6.8.9-3-MANJARO'
  -> Running build hook: [systemd]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [sd-vconsole]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-.img'
  -> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux68.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz- -g /boot/initramfs--fallback.img -S autodetect
==> Starting build: '6.8.9-3-MANJARO'
  -> Running build hook: [systemd]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
==> WARNING: Possibly missing firmware for module: 'ast'
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'aic94xx'
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'wd719x'
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [sd-vconsole]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> WARNING: Possibly missing '/bin/sh' for script: /usr/bin/fsck.xfs
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs--fallback.img'
  -> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
(4/4) Updating Grub-Bootmenu
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/amd-ucode.img /boot/initramfs-.img
Found initrd fallback image: /boot/initramfs--fallback.img
Found linux image: /boot/vmlinuz-6.8-x86_64
Found initrd image: /boot/amd-ucode.img /boot/initramfs-6.8-x86_64.img
Found linux image: /boot/vmlinuz-6.1-x86_64
Found initrd image: /boot/amd-ucode.img /boot/initramfs-6.1-x86_64.img
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done

$ ls /boot -l                            
total 181148
-rw-r--r-- 1 root root     81920  4 mei 00:15 amd-ucode.img
drwx------ 3 root root      4096  1 jan  1970 efi
drwxr-xr-x 6 root root      4096 13 mei 20:00 grub
-rw------- 1 root root  11298565 12 mei 19:34 initramfs-6.1-x86_64.img
-rw------- 1 root root  11175172 12 mei 19:30 initramfs-6.8-x86_64.img
-rw------- 1 root root 113949480 13 mei 20:00 initramfs--fallback.img
-rw------- 1 root root  11175101 13 mei 20:00 initramfs-.img
-rw-r--r-- 1 root root        21  3 mei 05:58 linux61-x86_64.kver
-rw-r--r-- 1 root root        20  9 mei 19:01 linux68-x86_64.kver
-rw-r--r-- 1 root root        20 13 mei 07:30 linux69-x86_64.kver
-rw-r--r-- 1 root root  13050368 13 mei 20:00 vmlinuz-
-rw-r--r-- 1 root root  11670016 12 mei 19:34 vmlinuz-6.1-x86_64
-rw-r--r-- 1 root root  13050368 12 mei 19:25 vmlinuz-6.8-x86_64

To make sure I’m up to date/right brach:

$ pamac upgrade                                                               
Preparing...
Synchronizing package databases...
Nothing to do.                                                                                                
Transaction successfully finished.

$ pacman-mirrors -G                                                             
unstable
Edit: 
$ cd /boot
$ ls -l                                                                                                                                                                                                
total 181148
-rw-r--r-- 1 root root     81920  4 mei 00:15 amd-ucode.img
drwx------ 3 root root      4096  1 jan  1970 efi
drwxr-xr-x 6 root root      4096 13 mei 20:10 grub
-rw------- 1 root root  11298565 12 mei 19:34 initramfs-6.1-x86_64.img
-rw------- 1 root root  11175172 12 mei 19:30 initramfs-6.8-x86_64.img
-rw------- 1 root root 113949480 13 mei 20:00 initramfs--fallback.img
-rw------- 1 root root  11175101 13 mei 20:00 initramfs-.img
-rw-r--r-- 1 root root        21  3 mei 05:58 linux61-x86_64.kver
-rw-r--r-- 1 root root        20  9 mei 19:01 linux68-x86_64.kver
-rw-r--r-- 1 root root        20 13 mei 07:30 linux69-x86_64.kver
-rw-r--r-- 1 root root  13050368 13 mei 20:00 vmlinuz-
-rw-r--r-- 1 root root  11670016 12 mei 19:34 vmlinuz-6.1-x86_64
-rw-r--r-- 1 root root  13050368 12 mei 19:25 vmlinuz-6.8-x86_64
$ sudo rm vmlinuz-                                                                                                              
$ sudo rm initramfs-.img
$ sudo rm initramfs--fallback.img
$ sudo mkinitcpio -P
==> Building image from preset: /etc/mkinitcpio.d/linux61.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz- -g /boot/initramfs-.img
==> ERROR: specified kernel image does not exist: '/boot/vmlinuz-'
==> Building image from preset: /etc/mkinitcpio.d/linux61.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz- -g /boot/initramfs--fallback.img -S autodetect
==> ERROR: specified kernel image does not exist: '/boot/vmlinuz-'
==> Building image from preset: /etc/mkinitcpio.d/linux68.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz- -g /boot/initramfs-.img
==> ERROR: specified kernel image does not exist: '/boot/vmlinuz-'
==> Building image from preset: /etc/mkinitcpio.d/linux68.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz- -g /boot/initramfs--fallback.img -S autodetect
==> ERROR: specified kernel image does not exist: '/boot/vmlinuz-'
==> Building image from preset: /etc/mkinitcpio.d/linux69.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz- -g /boot/initramfs-.img
==> ERROR: specified kernel image does not exist: '/boot/vmlinuz-'
==> Building image from preset: /etc/mkinitcpio.d/linux69.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz- -g /boot/initramfs--fallback.img -S autodetect
==> ERROR: specified kernel image does not exist: '/boot/vmlinuz-'

I can trigger the issue again by installing linux69 as well
Upgrading Kernels is fine :white_check_mark:
Installing Kernels is not :x:
I have to edit the preset manually.

1 Like

my /etc/mkinitcpio.d/ is empty and happen same as @pheiduck.
Let me correct my information: I didn’t try to reinstall the other kernels. It happens when I install linux69.

okay used manjaro system settings to install kernel 6.9.0-1 … before rebooting I checked the /etc/mkinitcpio.d/linux69.preset file … no kernel version info present … checked boot also no kernel versioning info… for most recently installed kernel 6.9 … in file names …

/usr/share/mkinitcpio/hook.preset file was normal …

I made the appropriate edits to file names in /boot and modified linux69.preset … and kernel 6.9 does boot, after mkinitcpio -P and update-grub…

mkinitcpio is verion 39-6

okay as 39.1-1 is coming – rebooted into linux6.8 and removed linux6.9 install

will test new version as soon as it appears on mirrors… also moved linux69.preset.pacsave out of /etc/mkinitcpio.d/

okay installed mkinitcpio version 39.1-1 reinstalled linux6.9 via manjaro settings manager … same as before … linux69.preset contains no version info will remove again and try mkhw-kernel to install as well

ok did a mkhw-kernel install (cleaned out linux69.preset.pacsave first) same as before no kernel versioning… uninstalled … cleaned out linux69.preset.pacsave … replaced with an edited kernel-versioned edition… of linux69.preset (derived from linux68.preset) …

did the: sudo mkhw-kernel -i linux69 and everything works … so the problem is due to incorrect generation of linux69.preset … I suspect any attempt to install “any new” kernels will fail in the same way!

... mkinitcpio version 39.1-1 does not fix the issue ...

@pheiduck @servimo I just pushed mkinitcpio 39.1-1.

I’m wondering if the issue is now fixed upstream:

lsinitcpio: show out-of-tree modules (from the extramodules directory)
in module list. This was accidentally lost in mkinitcpio v33

v39.1 · Arch Linux / Mkinitcpio / mkinitcpio · GitLab

Mind you, I can’t reproduce the issue on two machines, so I’m flying blind here.

EDIT: I can now reproduce it on both systems after installing linux69.

Oh… interesting so it was an upstream bug and not by Manjaro. Will check new version of mkinitcpio tomorrow and give feedback.

@Yochanan I think systems with legacy bios mode make something different? Haven’t checked on UEFI mode.

1 Like

I have this issue since adding 6.9 kernel today. The issue still exists with mkinitcpio 39.1-1

==> Building image from preset: /etc/mkinitcpio.d/linux66.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.6-x86_64 -g /boot/initramfs-6.6-x86_64.img
==> Starting build: '6.6.30-2-MANJARO'
  -> Running build hook: [autodetect]
  -> Running build hook: [systemd]
  -> Running build hook: [microcode]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [keyboard]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Decompressing zstd-compressed firmware files
  -> Fixing firmware file symlinks
==> Creating zstd-compressed initcpio image: '/boot/initramfs-6.6-x86_64.img'
  -> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux68.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.8-x86_64 -g /boot/initramfs-6.8-x86_64.img
==> Starting build: '6.8.9-3-MANJARO'
  -> Running build hook: [autodetect]
  -> Running build hook: [systemd]
  -> Running build hook: [microcode]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [keyboard]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Decompressing zstd-compressed firmware files
  -> Fixing firmware file symlinks
==> Creating zstd-compressed initcpio image: '/boot/initramfs-6.8-x86_64.img'
  -> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux69.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz- -g /boot/initramfs-.img
==> Starting build: '6.9.0-1-MANJARO'
  -> Running build hook: [autodetect]
  -> Running build hook: [systemd]
  -> Running build hook: [microcode]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [keyboard]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Decompressing zstd-compressed firmware files
  -> Fixing firmware file symlinks
==> Creating zstd-compressed initcpio image: '/boot/initramfs-.img'
  -> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
amd-ucode.img
efi
grub
initramfs-6.6-x86_64.img
initramfs-6.8-x86_64.img
initramfs-.img
linux66-x86_64.kver
linux68-x86_64.kver
linux69-x86_64.kver
memtest86+
vmlinuz-
vmlinuz-6.6-x86_64
vmlinuz-6.8-x86_64
Name            : mkinitcpio
Version         : 39.1-1

xfce Unstable, not a VM. I don’t have fallback.img (my choice)

1 Like

I didn’t say that. I was only wondering if what I quoted from the changelog would help.

I can’t even boot into linux69 after installing it. My AMD laptop:

ls -1 /boot/
amd-ucode.img
efi
grub
initramfs-6.1-x86_64-fallback.img
initramfs-6.1-x86_64.img
initramfs-6.6-x86_64-fallback.img
initramfs-6.6-x86_64.img
initramfs-6.8-x86_64-fallback.img
initramfs-6.8-x86_64.img
initramfs--fallback.img
initramfs-.img
linux61-x86_64.kver
linux66-x86_64.kver
linux68-x86_64.kver
linux69-x86_64.kver
memdisk
memtest86+
vmlinuz-
vmlinuz-6.1-x86_64
vmlinuz-6.6-x86_64
vmlinuz-6.8-x86_64
cat /etc/mkinitcpio.d/linux69.preset
# mkinitcpio preset file for the '' package

#ALL_config="/etc/mkinitcpio.conf"
ALL_kver="/boot/vmlinuz-"

PRESETS=('default' 'fallback')

#default_config="/etc/mkinitcpio.conf"
default_image="/boot/initramfs-.img"
#default_uki="/efi/EFI/Linux/manjaro-.efi"
#default_options="--splash /usr/share/systemd/bootctl/splash-manjaro.bmp"

#fallback_config="/etc/mkinitcpio.conf"
fallback_image="/boot/initramfs--fallback.img"
#fallback_uki="/efi/EFI/Linux/manjaro--fallback.efi"
fallback_options="-S autodetect"

I’m at a loss here. I’ve pinged @philm, so when he’s available hopefully he will be able to find the issue.

1 Like

Well OK then here I go for the plunge. :diving_mask:

Or … not. I can see it did the thing already.

Summary
(5/5) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux69.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz- -g /boot/initramfs-.img
==> Using drop-in configuration file: 'mine.conf'
==> Starting build: '6.9.0-1-MANJARO'
  -> Running build hook: [autodetect]
  -> Running build hook: [systemd]
  -> Running build hook: [microcode]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
  -> Running build hook: [keyboard]
  -> Running build hook: [block]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating lzop-compressed initcpio image: '/boot/initramfs-.img'
  -> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux69.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz- -g /boot/initramfs--fallback.img -S autodetect
==> Using drop-in configuration file: 'mine.conf'
==> Starting build: '6.9.0-1-MANJARO'
  -> Running build hook: [systemd]
  -> Running build hook: [microcode]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
==> WARNING: Possibly missing firmware for module: 'ast'
  -> Running build hook: [keyboard]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'wd719x'
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'aic94xx'
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating lzop-compressed initcpio image: '/boot/initramfs--fallback.img'
  -> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful

installing mkinitpcio 39.1-2 fixes the issue … thank you !

2 Likes

Will check afternoon!

Yes, now it works good! :+1:

No, since Arch doesn’t even add any versions to initramfses or kernels.

All is fine now with mkinitcpio only the grub menu seams incorrect (on unstable)
grafik

You may have some stray leftovers in /boot/, maybe? Normally fallback images do not appear in the main GRUB menu. I recommend removing linux69 and the /etc/mkinitcpio.d/linux69.conf.pacsave, then reinstall linux69.

1 Like

After running the latest update this morning and going to mkinitcpio 39.1, I have correctly named kernels again. Thanks!

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.