You are not logged in.

#1 2023-04-01 11:46:05

Epp
Member
Registered: 2022-07-11
Posts: 98

[SOLVED] Normal boot gives error: invalid cluster 0. press any key...

Hi,

Most likely after an update by "sudo pacman -Syu" my computer is no longer booting the normal way.
End point for me comes fast and is (no keys work):

Loading Linux Linux ...
Loading initial ramdisk ...
error: invalid cluster 0.
Press any key to continue ...

If I don't boot the "normal" way and boot via:
Advanced options for Arch Linux > Ach Linux, with linux (fallback initrams) my system starts without any rarities.

Advice is welcome. It scares me a little because to me it a bit comes from nowhere (how to prevent?)
And what if the fallback no longer works?

My pacman.log for today:

[2023-04-01T09:45:55+0200] [PACMAN] Running 'pacman -Syu'
[2023-04-01T09:45:55+0200] [PACMAN] synchronizing package lists
[2023-04-01T09:45:56+0200] [PACMAN] starting full system upgrade
[2023-04-01T09:46:23+0200] [ALPM] transaction started
[2023-04-01T09:46:23+0200] [ALPM] upgraded tzdata (2023b-1 -> 2023c-1)
[2023-04-01T09:46:23+0200] [ALPM] upgraded libcap (2.67-1 -> 2.68-1)
[2023-04-01T09:46:23+0200] [ALPM] upgraded systemd-libs (253.1-3 -> 253.2-1)
[2023-04-01T09:46:23+0200] [ALPM] upgraded attr (2.5.1-2 -> 2.5.1-3)
[2023-04-01T09:46:23+0200] [ALPM] upgraded systemd (253.1-3 -> 253.2-1)
[2023-04-01T09:46:25+0200] [ALPM] upgraded accountsservice (22.08.8-4 -> 23.13.9-1)
[2023-04-01T09:46:25+0200] [ALPM] upgraded libnsl (2.0.0-2 -> 2.0.0-3)
[2023-04-01T09:46:25+0200] [ALPM] upgraded cmake (3.26.1-1 -> 3.26.2-1)
[2023-04-01T09:46:25+0200] [ALPM] upgraded libassuan (2.5.5-1 -> 2.5.5-2)
[2023-04-01T09:46:25+0200] [ALPM] upgraded npth (1.6-3 -> 1.6-4)
[2023-04-01T09:46:25+0200] [ALPM] upgraded fwupd (1.8.12-1 -> 1.8.14-1)
[2023-04-01T09:46:25+0200] [ALPM] upgraded openexr (3.1.6-1 -> 3.1.7-1)
[2023-04-01T09:46:25+0200] [ALPM] upgraded vulkan-icd-loader (1.3.240-1 -> 1.3.245-1)
[2023-04-01T09:46:25+0200] [ALPM] upgraded xorg-server-common (21.1.7-1 -> 21.1.8-1)
[2023-04-01T09:46:25+0200] [ALPM] upgraded libinput (1.22.1-1 -> 1.23.0-1)
[2023-04-01T09:46:25+0200] [ALPM] upgraded xorg-server (21.1.7-1 -> 21.1.8-1)
[2023-04-01T09:46:25+0200] [ALPM] upgraded gettext (0.21.1-2 -> 0.21.1-4)
[2023-04-01T09:46:25+0200] [ALPM] upgraded gegl (0.4.42-3 -> 0.4.44-1)
[2023-04-01T09:46:25+0200] [ALPM] upgraded libheif (1.15.1-1 -> 1.15.2-1)
[2023-04-01T09:46:25+0200] [ALPM] upgraded libgit2 (1:1.5.1-2 -> 1:1.6.3-1)
[2023-04-01T09:46:25+0200] [ALPM] upgraded graphviz (7.1.0-1 -> 8.0.1-1)
[2023-04-01T09:46:25+0200] [ALPM] upgraded ldb (2:2.7.1-1 -> 2:2.7.2-1)
[2023-04-01T09:46:25+0200] [ALPM] upgraded libaio (0.3.113-1 -> 0.3.113-2)
[2023-04-01T09:46:25+0200] [ALPM] upgraded libibus (1.5.28-2 -> 1.5.28-3)
[2023-04-01T09:46:25+0200] [ALPM] upgraded libtraceevent (1:1.7.1-1 -> 1:1.7.2-1)
[2023-04-01T09:46:25+0200] [ALPM] upgraded libva (2.17.0-1 -> 2.18.0-1)
[2023-04-01T09:46:25+0200] [ALPM] upgraded libwbclient (4.18.0-2 -> 4.18.1-1)
[2023-04-01T09:46:25+0200] [ALPM] upgraded smbclient (4.18.0-2 -> 4.18.1-1)
[2023-04-01T09:46:25+0200] [ALPM] upgraded systemd-sysvcompat (253.1-3 -> 253.2-1)
[2023-04-01T09:46:25+0200] [ALPM] upgraded wpebackend-fdo (1.14.1-1 -> 1.14.2-1)
[2023-04-01T09:46:25+0200] [ALPM] upgraded xorg-server-devel (21.1.7-1 -> 21.1.8-1)
[2023-04-01T09:46:25+0200] [ALPM] upgraded xorg-server-xephyr (21.1.7-1 -> 21.1.8-1)
[2023-04-01T09:46:25+0200] [ALPM] upgraded xorg-server-xnest (21.1.7-1 -> 21.1.8-1)
[2023-04-01T09:46:25+0200] [ALPM] upgraded xorg-server-xvfb (21.1.7-1 -> 21.1.8-1)
[2023-04-01T09:46:25+0200] [ALPM] upgraded xorg-xwayland (23.1.0-1 -> 23.1.1-1)
[2023-04-01T09:46:26+0200] [ALPM] transaction completed
[2023-04-01T09:46:26+0200] [ALPM] running '20-systemd-sysusers.hook'...
[2023-04-01T09:46:26+0200] [ALPM] running '30-systemd-catalog.hook'...
[2023-04-01T09:46:26+0200] [ALPM] running '30-systemd-daemon-reload.hook'...
[2023-04-01T09:46:26+0200] [ALPM] running '30-systemd-hwdb.hook'...
[2023-04-01T09:46:26+0200] [ALPM] running '30-systemd-sysctl.hook'...
[2023-04-01T09:46:26+0200] [ALPM] running '30-systemd-tmpfiles.hook'...
[2023-04-01T09:46:26+0200] [ALPM] running '30-systemd-udev-reload.hook'...
[2023-04-01T09:46:26+0200] [ALPM] running '30-systemd-update.hook'...
[2023-04-01T09:46:26+0200] [ALPM] running '30-update-mime-database.hook'...
[2023-04-01T09:46:27+0200] [ALPM] running '90-mkinitcpio-install.hook'...
[2023-04-01T09:46:27+0200] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
[2023-04-01T09:46:27+0200] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
[2023-04-01T09:46:27+0200] [ALPM-SCRIPTLET] ==> Starting build: '6.2.8-arch1-1'
[2023-04-01T09:46:27+0200] [ALPM-SCRIPTLET]   -> Running build hook: [base]
[2023-04-01T09:46:27+0200] [ALPM-SCRIPTLET]   -> Running build hook: [udev]
[2023-04-01T09:46:27+0200] [ALPM-SCRIPTLET]   -> Running build hook: [autodetect]
[2023-04-01T09:46:27+0200] [ALPM-SCRIPTLET]   -> Running build hook: [modconf]
[2023-04-01T09:46:27+0200] [ALPM-SCRIPTLET]   -> Running build hook: [kms]
[2023-04-01T09:46:28+0200] [ALPM-SCRIPTLET]   -> Running build hook: [keyboard]
[2023-04-01T09:46:28+0200] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'xhci_pci'
[2023-04-01T09:46:28+0200] [ALPM-SCRIPTLET]   -> Running build hook: [keymap]
[2023-04-01T09:46:28+0200] [ALPM-SCRIPTLET]   -> Running build hook: [consolefont]
[2023-04-01T09:46:28+0200] [ALPM-SCRIPTLET] ==> WARNING: consolefont: no font found in configuration
[2023-04-01T09:46:28+0200] [ALPM-SCRIPTLET]   -> Running build hook: [block]
[2023-04-01T09:46:28+0200] [ALPM-SCRIPTLET]   -> Running build hook: [filesystems]
[2023-04-01T09:46:28+0200] [ALPM-SCRIPTLET]   -> Running build hook: [fsck]
[2023-04-01T09:46:29+0200] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2023-04-01T09:46:29+0200] [ALPM-SCRIPTLET] ==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux.img'
[2023-04-01T09:46:29+0200] [ALPM-SCRIPTLET] ==> Image generation successful
[2023-04-01T09:46:29+0200] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
[2023-04-01T09:46:29+0200] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
[2023-04-01T09:46:29+0200] [ALPM-SCRIPTLET] ==> Starting build: '6.2.8-arch1-1'
[2023-04-01T09:46:29+0200] [ALPM-SCRIPTLET]   -> Running build hook: [base]
[2023-04-01T09:46:29+0200] [ALPM-SCRIPTLET]   -> Running build hook: [udev]
[2023-04-01T09:46:29+0200] [ALPM-SCRIPTLET]   -> Running build hook: [modconf]
[2023-04-01T09:46:29+0200] [ALPM-SCRIPTLET]   -> Running build hook: [kms]
[2023-04-01T09:46:30+0200] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'ast'
[2023-04-01T09:46:33+0200] [ALPM-SCRIPTLET]   -> Running build hook: [keyboard]
[2023-04-01T09:46:33+0200] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'xhci_pci'
[2023-04-01T09:46:34+0200] [ALPM-SCRIPTLET]   -> Running build hook: [keymap]
[2023-04-01T09:46:34+0200] [ALPM-SCRIPTLET]   -> Running build hook: [consolefont]
[2023-04-01T09:46:34+0200] [ALPM-SCRIPTLET] ==> WARNING: consolefont: no font found in configuration
[2023-04-01T09:46:34+0200] [ALPM-SCRIPTLET]   -> Running build hook: [block]
[2023-04-01T09:46:34+0200] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'aic94xx'
[2023-04-01T09:46:34+0200] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'bfa'
[2023-04-01T09:46:34+0200] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'qed'
[2023-04-01T09:46:34+0200] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'qla1280'
[2023-04-01T09:46:35+0200] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'qla2xxx'
[2023-04-01T09:46:35+0200] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'wd719x'
[2023-04-01T09:46:35+0200] [ALPM-SCRIPTLET]   -> Running build hook: [filesystems]
[2023-04-01T09:46:36+0200] [ALPM-SCRIPTLET]   -> Running build hook: [fsck]
[2023-04-01T09:46:37+0200] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2023-04-01T09:46:37+0200] [ALPM-SCRIPTLET] ==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux-fallback.img'
[2023-04-01T09:46:38+0200] [ALPM-SCRIPTLET] ==> Image generation successful
[2023-04-01T09:46:38+0200] [ALPM] running 'dbus-reload.hook'...
[2023-04-01T09:46:38+0200] [ALPM] running 'detect-old-perl-modules.hook'...
[2023-04-01T09:46:38+0200] [ALPM] running 'gdk-pixbuf-query-loaders.hook'...
[2023-04-01T09:46:38+0200] [ALPM] running 'gtk-update-icon-cache.hook'...
[2023-04-01T09:46:38+0200] [ALPM] running 'texinfo-install.hook'...
[2023-04-01T09:46:38+0200] [ALPM] running 'update-desktop-database.hook'...
[2023-04-01T09:46:42+0200] [PACMAN] Running 'pacman -S picom'
[2023-04-01T09:46:46+0200] [ALPM] transaction started
[2023-04-01T09:46:46+0200] [ALPM] installed libconfig (1.7.3-2)
[2023-04-01T09:46:46+0200] [ALPM] installed libev (4.33-2)
[2023-04-01T09:46:46+0200] [ALPM] installed picom (10.2-1)
[2023-04-01T09:46:46+0200] [ALPM] transaction completed
[2023-04-01T09:46:46+0200] [ALPM] running '30-systemd-update.hook'...
[2023-04-01T09:46:46+0200] [ALPM] running 'gtk-update-icon-cache.hook'...
[2023-04-01T09:46:46+0200] [ALPM] running 'texinfo-install.hook'...
[2023-04-01T09:46:46+0200] [ALPM] running 'update-desktop-database.hook'...
[2023-04-01T12:29:58+0200] [PACMAN] Running 'pacman -Syu'
[2023-04-01T12:29:58+0200] [PACMAN] synchronizing package lists
[2023-04-01T12:29:58+0200] [PACMAN] starting full system upgrade
[2023-04-01T12:38:52+0200] [PACMAN] Running 'pacman -Syu'
[2023-04-01T12:38:52+0200] [PACMAN] synchronizing package lists
[2023-04-01T12:38:52+0200] [PACMAN] starting full system upgrade

mkinitcpio -P gives an error:

$ mkinitcpio -P

==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
  -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> ERROR: Unable to write to '/boot/initramfs-linux.img'
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
  -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
==> ERROR: Unable to write to '/boot/initramfs-linux-fallback.img'

mkinitcip does not give an error:

$ mkinitcpio

==> Starting dry run: '6.2.8-arch1-1'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
  -> Running build hook: [keyboard]
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> 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
==> Dry run complete, use -g IMAGE to generate a real image

My install is reasonably new, but dual boot with Windows through Grub is working very good till now.

Last edited by Epp (2023-04-01 13:14:53)

Offline

#2 2023-04-01 12:49:36

Morlock
Member
Registered: 2022-06-20
Posts: 14

Re: [SOLVED] Normal boot gives error: invalid cluster 0. press any key...

Hi,
you should read the wiki: mkinitcpio
hint: rights

Offline

#3 2023-04-01 13:14:27

Epp
Member
Registered: 2022-07-11
Posts: 98

Re: [SOLVED] Normal boot gives error: invalid cluster 0. press any key...

Opes, sorry people.
Reading the wiki would be much better than reading my own notes too literal in this case.
Great that it works now, but a bit weird that it suddenly did not.
sudo mkinitcpio -P
Thanks Morlock!

Offline

#4 2023-04-01 13:18:38

Morlock
Member
Registered: 2022-06-20
Posts: 14

Re: [SOLVED] Normal boot gives error: invalid cluster 0. press any key...

I'm glad that I was helpfull.

Offline

Board footer

Powered by FluxBB