You are not logged in.

#1 2025-08-29 13:30:52

swer21
Member
Registered: 2022-12-03
Posts: 2

Updateing kernel creates a grub.cfg without entrys for Arch Linux

I Noticed that when ever pacman is updating the kernel a grub.cfg without any entry to start Arch Linux is created.
If I run sudo grub-mkconfig -o /boot/grub/grub.cfg  manually the file is crated as exacted. But when checking the output of pacman it looks identical to when I run  grub-mkconfig manually.       

sudo pacman -Suy                                                                                                                                             ✔ ▓▒░
[sudo] Passwort für sebastian: 
:: Paketdatenbanken werden synchronisiert …
 core                                                                       122,1 KiB   452 KiB/s 00:00 [#############################################################] 100%
 extra                                                                        7,9 MiB  4,49 MiB/s 00:02 [#############################################################] 100%
 multilib                                                                   131,8 KiB   507 KiB/s 00:00 [#############################################################] 100%
:: Vollständige Systemaktualisierung wird gestartet …
Abhängigkeiten werden aufgelöst …
Nach in Konflikt stehenden Paketen wird gesucht …

Pakete (7) acpi_call-1.2.2-300  fwupd-2.0.14-1  lib32-pcre2-10.46-1  libei-1.5.0-1  linux-6.16.4.arch1-1  linux-headers-6.16.4.arch1-1  pcre2-10.46-1

Gesamtgröße des Downloads:             202,33 MiB
Gesamtgröße der installierten Pakete:  409,19 MiB
Größendifferenz der Aktualisierung:      0,09 MiB

:: Installation fortsetzen? [J/n] J
:: Pakete werden empfangen …
 lib32-pcre2-10.46-1-x86_64                                                 504,6 KiB  1067 KiB/s 00:00 [#############################################################] 100%
 libei-1.5.0-1-x86_64                                                       104,4 KiB  1289 KiB/s 00:00 [#############################################################] 100%
 acpi_call-1.2.2-300-x86_64                                                  14,0 KiB   380 KiB/s 00:00 [#############################################################] 100%
 pcre2-10.46-1-x86_64                                                      1605,1 KiB  1793 KiB/s 00:01 [#############################################################] 100%
 fwupd-2.0.14-1-x86_64                                                        5,2 MiB  3,07 MiB/s 00:02 [#############################################################] 100%
 linux-headers-6.16.4.arch1-1-x86_64                                         52,5 MiB  2,72 MiB/s 00:19 [#############################################################] 100%
 linux-6.16.4.arch1-1-x86_64                                                142,4 MiB  3,58 MiB/s 00:40 [#############################################################] 100%
 Gesamt (7/7)                                                               202,3 MiB  5,08 MiB/s 00:40 [#############################################################] 100%
(7/7) Schlüssel im Schlüsselbund werden geprüft                                                         [#############################################################] 100%
(7/7) Paket-Integrität wird überprüft                                                                   [#############################################################] 100%
(7/7) Paket-Dateien werden geladen                                                                      [#############################################################] 100%
(7/7) Auf Dateikonflikte wird geprüft                                                                   [#############################################################] 100%
(7/7) Verfügbarer Festplattenspeicher wird ermittelt                                                    [#############################################################] 100%
:: Pre-transaction-Hooks werden gestartet …
(1/3) Creating Timeshift snapshot before upgrade...
First run mode (config file not found)
Selected default snapshot type: BTRFS
Using system disk as snapshot device for creating snapshots in BTRFS mode
Mounted '/dev/nvme0n1p2' (subvolid=0) at '/run/timeshift/109062/backup'
btrfs: Quotas are not enabled
Creating new backup...(BTRFS)
Saving to device: /dev/nvme0n1p2, mounted at path: /run/timeshift/109062/backup
Created directory: /run/timeshift/109062/backup/timeshift-btrfs/snapshots/2025-08-29_15-09-10
Created subvolume snapshot: /run/timeshift/109062/backup/timeshift-btrfs/snapshots/2025-08-29_15-09-10/@
Created control file: /run/timeshift/109062/backup/timeshift-btrfs/snapshots/2025-08-29_15-09-10/info.json
BTRFS Snapshot saved successfully (0s)
Tagged snapshot '2025-08-29_15-09-10': ondemand
------------------------------------------------------------------------------
First run mode (config file not found)
Selected default snapshot type: BTRFS
Mounted '/dev/nvme0n1p2' (subvolid=0) at '/run/timeshift/109190/backup'
btrfs: Quotas are not enabled
Selected default snapshot device: /dev/nvme0n1p2
------------------------------------------------------------------------------
Removing snapshot: 2025-08-14_11-07-54
Deleting subvolume: @ (Id:308)
Deleted subvolume: @ (Id:308)

Deleted directory: /run/timeshift/109190/backup/timeshift-btrfs/snapshots/2025-08-14_11-07-54
Deleted directory: /run/timeshift/109190/backup/timeshift-btrfs/snapshots/2025-08-14_11-07-54
Removed snapshot: 2025-08-14_11-07-54
------------------------------------------------------------------------------
GRUB-Konfigurationsdatei wird erstellt …
Linux-Abbild gefunden: /boot/vmlinuz-linux
Initrd-Abbild gefunden: /boot/amd-ucode.img /boot/initramfs-linux.img
Found fallback initrd image(s) in /boot:  amd-ucode.img initramfs-linux-fallback.img
Warnung: Zur Erkennung anderer bootfähiger Partitionen wird os-prober nicht ausgeführt.
Die darauf befindlichen Systeme werden nicht zur GRUB-Bootkonfiguration hinzugefügt.
Schauen Sie in den Dokumentationseintrag GRUB_DISABLE_OS_PROBER.
Bootmenü-Eintrag für UEFI-Firmware-Einstellungen wird hinzugefügt …
Detecting snapshots ...
Found snapshot: 2025-08-29 15:09:10 | timeshift-btrfs/snapshots/2025-08-29_15-09-10/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2025-08-28 21:20:59 | timeshift-btrfs/snapshots/2025-08-28_21-20-59/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2025-08-27 22:58:55 | timeshift-btrfs/snapshots/2025-08-27_22-58-55/@ | boot     | N/A                                           |
Found snapshot: 2025-08-27 22:33:31 | timeshift-btrfs/snapshots/2025-08-27_22-33-31/@ | boot     | N/A                                           |
Found snapshot: 2025-08-27 22:26:47 | timeshift-btrfs/snapshots/2025-08-27_22-26-47/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2025-08-27 22:14:40 | timeshift-btrfs/snapshots/2025-08-27_22-14-40/@ | boot     | N/A                                           |
Found snapshot: 2025-08-27 21:45:12 | timeshift-btrfs/snapshots/2025-08-27_21-45-12/@ | boot     | N/A                                           |
Found snapshot: 2025-08-27 21:29:18 | timeshift-btrfs/snapshots/2025-08-27_21-29-18/@ | boot     | N/A                                           |
Found snapshot: 2025-08-27 20:25:40 | timeshift-btrfs/snapshots/2025-08-27_20-25-40/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2025-08-21 17:01:11 | timeshift-btrfs/snapshots/2025-08-21_17-01-11/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2025-08-17 22:33:24 | timeshift-btrfs/snapshots/2025-08-17_22-33-24/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2025-08-17 22:11:28 | timeshift-btrfs/snapshots/2025-08-17_22-11-28/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2025-08-17 20:00:03 | timeshift-btrfs/snapshots/2025-08-17_20-00-03/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2025-08-17 19:58:39 | timeshift-btrfs/snapshots/2025-08-17_19-58-39/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2025-08-17 19:45:48 | timeshift-btrfs/snapshots/2025-08-17_19-45-48/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found 15 snapshot(s)
Unmount /tmp/grub-btrfs.IAXDHPUsUG .. Success
abgeschlossen
(2/3) Removing linux initcpios...
(3/3) Remove DKMS modules
==> dkms remove --no-depmod vboxhost/7.2.0_OSE -k 6.16.3-arch1-1
==> depmod 6.16.3-arch1-1
:: Paketänderungen werden verarbeitet …
(1/7) Aktualisiert wird pcre2                                                                           [#############################################################] 100%
(2/7) Aktualisiert wird linux                                                                           [#############################################################] 100%
(3/7) Aktualisiert wird acpi_call                                                                       [#############################################################] 100%
(4/7) Aktualisiert wird fwupd                                                                           [#############################################################] 100%
(5/7) Aktualisiert wird lib32-pcre2                                                                     [#############################################################] 100%
(6/7) Aktualisiert wird libei                                                                           [#############################################################] 100%
(7/7) Aktualisiert wird linux-headers                                                                   [#############################################################] 100%
:: Post-transaction-Hooks werden gestartet …
(1/9) Creating system user accounts...
(2/9) Reloading system manager configuration...
(3/9) Restarting marked services...
(4/9) Arming ConditionNeedsUpdate...
(5/9) Updating module dependencies...
(6/9) Install DKMS modules
==> dkms install --no-depmod vboxhost/7.2.0_OSE -k 6.16.4-arch1-1
==> depmod 6.16.4-arch1-1
(7/9) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-linux -g /boot/initramfs-linux.img
==> Starting build: '6.16.4-arch1-1'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [microcode]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [block]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux.img'
  -> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-linux -g /boot/initramfs-linux-fallback.img -S autodetect
==> Starting build: '6.16.4-arch1-1'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [microcode]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
==> WARNING: Possibly missing firmware for module: 'ast'
  -> Running build hook: [keyboard]
==> WARNING: Possibly missing firmware for module: 'xhci_pci_renesas'
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'aic94xx'
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'wd719x'
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux-fallback.img'
  -> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
(8/9) Reloading system bus configuration...
(9/9) Updating icon theme caches...
░▒▓ ~  grep linux /boot/grub/grub.backup                                                                                                                          1 ✘ ▓▒░
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-43ff75e0-a84b-4210-b2cc-c758717a1fc1' {
        echo    'Linux linux wird geladen …'
        linux   /vmlinuz-linux root=UUID=43ff75e0-a84b-4210-b2cc-c758717a1fc1 rw rootflags=subvol=@ zswap.enabled=0 rootfstype=btrfs loglevel=3 quiet
        initrd  /amd-ucode.img /initramfs-linux.img
submenu 'Erweiterte Optionen für Arch Linux' $menuentry_id_option 'gnulinux-advanced-43ff75e0-a84b-4210-b2cc-c758717a1fc1' {
        menuentry 'Arch Linux, mit Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-43ff75e0-a84b-4210-b2cc-c758717a1fc1' {
                echo    'Linux linux wird geladen …'
                linux   /vmlinuz-linux root=UUID=43ff75e0-a84b-4210-b2cc-c758717a1fc1 rw rootflags=subvol=@ zswap.enabled=0 rootfstype=btrfs loglevel=3 quiet
                initrd  /amd-ucode.img /initramfs-linux.img
        menuentry 'Arch Linux, with Linux linux (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-43ff75e0-a84b-4210-b2cc-c758717a1fc1' {
                echo    'Linux linux wird geladen …'
                linux   /vmlinuz-linux root=UUID=43ff75e0-a84b-4210-b2cc-c758717a1fc1 rw rootflags=subvol=@ zswap.enabled=0 rootfstype=btrfs loglevel=3 quiet
                initrd  /amd-ucode.img /initramfs-linux-fallback.img
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
░▒▓ ~  grep linux /boot/grub/grub.cfg                                                                                                                               ✔ ▓▒░
### BEGIN /etc/grub.d/10_linux ###
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
sudo grub-mkconfig -o /boot/grub/grub.cfg                                                                                                                INT ✘ ▓▒░
[sudo] Passwort für sebastian: 
Das hat nicht funktioniert, bitte nochmal probieren.
[sudo] Passwort für sebastian: 
GRUB-Konfigurationsdatei wird erstellt …
Linux-Abbild gefunden: /boot/vmlinuz-linux
Initrd-Abbild gefunden: /boot/amd-ucode.img /boot/initramfs-linux.img
Found fallback initrd image(s) in /boot:  amd-ucode.img initramfs-linux-fallback.img
Warnung: Zur Erkennung anderer bootfähiger Partitionen wird os-prober nicht ausgeführt.
Die darauf befindlichen Systeme werden nicht zur GRUB-Bootkonfiguration hinzugefügt.
Schauen Sie in den Dokumentationseintrag GRUB_DISABLE_OS_PROBER.
Bootmenü-Eintrag für UEFI-Firmware-Einstellungen wird hinzugefügt …
Detecting snapshots ...
Found snapshot: 2025-08-29 15:09:10 | timeshift-btrfs/snapshots/2025-08-29_15-09-10/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2025-08-28 21:20:59 | timeshift-btrfs/snapshots/2025-08-28_21-20-59/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2025-08-27 22:58:55 | timeshift-btrfs/snapshots/2025-08-27_22-58-55/@ | boot     | N/A                                           |
Found snapshot: 2025-08-27 22:33:31 | timeshift-btrfs/snapshots/2025-08-27_22-33-31/@ | boot     | N/A                                           |
Found snapshot: 2025-08-27 22:26:47 | timeshift-btrfs/snapshots/2025-08-27_22-26-47/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2025-08-27 22:14:40 | timeshift-btrfs/snapshots/2025-08-27_22-14-40/@ | boot     | N/A                                           |
Found snapshot: 2025-08-27 21:45:12 | timeshift-btrfs/snapshots/2025-08-27_21-45-12/@ | boot     | N/A                                           |
Found snapshot: 2025-08-27 21:29:18 | timeshift-btrfs/snapshots/2025-08-27_21-29-18/@ | boot     | N/A                                           |
Found snapshot: 2025-08-27 20:25:40 | timeshift-btrfs/snapshots/2025-08-27_20-25-40/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2025-08-21 17:01:11 | timeshift-btrfs/snapshots/2025-08-21_17-01-11/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2025-08-17 22:33:24 | timeshift-btrfs/snapshots/2025-08-17_22-33-24/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2025-08-17 22:11:28 | timeshift-btrfs/snapshots/2025-08-17_22-11-28/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2025-08-17 20:00:03 | timeshift-btrfs/snapshots/2025-08-17_20-00-03/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2025-08-17 19:58:39 | timeshift-btrfs/snapshots/2025-08-17_19-58-39/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2025-08-17 19:45:48 | timeshift-btrfs/snapshots/2025-08-17_19-45-48/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found 15 snapshot(s)
Unmount /tmp/grub-btrfs.vedzntnb8s .. Success
abgeschlossen

Offline

#2 2025-08-30 12:13:11

ankabo
Member
Registered: 2025-07-14
Posts: 13

Re: Updateing kernel creates a grub.cfg without entrys for Arch Linux

Offline

Board footer

Powered by FluxBB