Error file /boot/vmlinuz-5.12-x86_64 not found

Hey everybody ! I had a couple of week a big update on Manjaro and there was an issue. I thought I could see what was wrong the next day but when I started the computer this is what I had:
error: file ‘/boot/vmlinuz-5.12-x86_64’ not found
error: you need to load the kernel first.

I tried what I saw on others topics like this with a USB boot:

[manjaro manjaro]# pacman -Syy 
:: Synchronizing package databases...
error: failed retrieving file 'core.db' from mirror.philpot.de : Could not resolve host: mirror.philpot.de
 core                                                                                  165.3 KiB  96.5 KiB/s 00:02 [####################################################################] 100%
error: failed retrieving file 'extra.db' from mirror.philpot.de : Could not resolve host: mirror.philpot.de
 extra                                                                                1913.2 KiB   411 KiB/s 00:05 [####################################################################] 100%
error: failed retrieving file 'community.db' from mirror.philpot.de : Could not resolve host: mirror.philpot.de
 community                                                                               6.5 MiB  2.22 MiB/s 00:03 [####################################################################] 100%
error: failed retrieving file 'multilib.db' from mirror.philpot.de : Could not resolve host: mirror.philpot.de
 multilib                                                                              178.1 KiB  43.5 MiB/s 00:00 [####################################################################] 100%

And some others but until now none of them worked…

If somebody know what to do I’m listening haha

Thank !

PS: I hope you understand because I’m not that good in english

  1. pacman-mirrors -f5
  2. Can you try installing kernel 5.10 ?

The mirror mirror.philpot.de does not exist.

You should change the mirrorlist.

Manjaro Linux default mirrorlist

Generated on 2019-02-20 18:04

Please use ‘pacman-mirrors -f [NUMBER] [NUMBER]’ to modify mirrorlist

(Use 0 for all mirrors)

Country : Germany

Server = https://manjaro.moson.org/stable/$repo/$arch

Country : Germany

Server = https://manjaro.moson.eu/stable/$repo/$arch

Country : Germany

Server = https://mirror.netzspielplatz.de/manjaro/packages/stable/$repo/$arch

Country : Germany

Server = https://mirror.alpix.eu/manjaro/stable/$repo/$arch

Country : Germany

Server = https://manjaro.re/stable/$repo/$arch

This is what I have when I write this:

manjaro]# pacman-mirrors -f5
    ::INFO Downloading mirrors from repo.manjaro.org
    ::INFO Using default mirror file
    ::INFO Querying mirrors - This may take some time
      0.398 Bulgaria       : https://mirrors.netix.net/manjaro/
      0.317 Germany        : http://ftp.tu-chemnitz.de/pub/linux/manjaro/
      0.587 Germany        : ftp://ftp.tu-chemnitz.de/pub/linux/manjaro/
      0.394 Russia         : https://mirror.yandex.ru/mirrors/manjaro/
      1.133 Russia         : https://mirror.truenetwork.ru/manjaro/
      0.869 Russia         : http://mirror.truenetwork.ru/manjaro/
      0.477 Bulgaria       : https://mirror.telepoint.bg/manjaro/
      0.275 Bulgaria       : http://mirror.telepoint.bg/manjaro/
      ..... Bulgaria       : ftps://mirror.telepoint.bg/manjaro/

    ::ERROR unknown url type: ftps 'ftps://mirror.telepoint.bg/manjaro/'

    ::INFO Writing mirror list
    ::Bulgaria        : https://mirror.telepoint.bg/manjaro/stable
    ::Russia          : https://mirror.yandex.ru/mirrors/manjaro/stable
    ::Bulgaria        : https://mirrors.netix.net/manjaro/stable
    ::Germany         : http://ftp.tu-chemnitz.de/pub/linux/manjaro/stable
    ::Russia          : https://mirror.truenetwork.ru/manjaro/stable
    ::INFO Mirror list generated and saved to: /etc/pacman.d/mirrorlist

I tried several time to install linux510 but there was always something wrong at the end. Now I have this:

[manjaro manjaro]# manjaro-chroot -a
grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map.
==> Detected systems:
 --> 0) ManjaroLinux
==> Select system to mount [0-0] : 
1
==> Mounting (ManjaroLinux) [/dev/sda4]
 --> mount: [/mnt]
mhwd-kernel -i linux510
mount: /mnt: can't read superblock on /dev/sda4.
Can't open /mnt/etc/fstab: No such file or directory.
mount: /mnt/proc: mount point does not exist.
mount: /mnt/etc/resolv.conf: mount point does not exist.
chroot: failed to run command '/bin/bash': No such file or directory
 --> umount: []
umount: bad usage
Try 'umount --help' for more information.
[manjaro manjaro]# mhwd-kernel -i linux510
warning: database file for 'core' does not exist (use '-Sy' to download)
warning: database file for 'extra' does not exist (use '-Sy' to download)
warning: database file for 'community' does not exist (use '-Sy' to download)
warning: database file for 'multilib' does not exist (use '-Sy' to download)
warning: database file for 'core' does not exist (use '-Sy' to download)
warning: database file for 'extra' does not exist (use '-Sy' to download)
warning: database file for 'community' does not exist (use '-Sy' to download)
warning: database file for 'multilib' does not exist (use '-Sy' to download)
warning: database file for 'core' does not exist (use '-Sy' to download)
warning: database file for 'extra' does not exist (use '-Sy' to download)
warning: database file for 'community' does not exist (use '-Sy' to download)
warning: database file for 'multilib' does not exist (use '-Sy' to download)
Error: Please make sure if the given kernel(s) exist(s).
available kernels:

I don’t know… Maybe even my USB boot has a problem ?

Thank to try to help me ! :slight_smile:

Edit: ok it seems to work again:

mhwd-kernel -i linux510
:: Synchronizing package databases...
 core                                                                                  165.3 KiB  2.18 MiB/s 00:00 [####################################################################] 100%
 extra                                                                                1932.8 KiB  18.3 MiB/s 00:00 [####################################################################] 100%
 community                                                                               6.5 MiB  32.0 MiB/s 00:00 [####################################################################] 100%
 multilib                                                                              178.1 KiB  0.00   B/s 00:00 [####################################################################] 100%
The following packages are out of date, please update your system first: accountsservice acl acpid adobe-source-code-pro-fonts adwaita-icon-theme alsa-firmware alsa-lib alsa-topology-conf alsa-ucm-conf alsa-utils amd-ucode android-tools android-udev aom apparmor appstream-glib apr-util archlinux-appstream-data at-spi2-atk at-spi2-core atkmm attica attr audacious audacious-plugins audit autoconf automake avahi babl bash bash-completion bashrc-manjaro binutils bison blas blueman bluez bluez-libs boost-libs brotli btrfs-progs bubblewrap bzip2 ca-certificates ca-certificates-mozilla ca-certificates-utils cairo calamares cantarell-fonts catfish ceph-libs chromaprint cifs-utils clonezilla colord colord-sane confuse cpupower crda cronie cryptsetup cups cups-filters cups-pdf curl dav1d dbus-glib dbus-x11 dconf desktop-file-utils device-mapper dhcpcd dialog dmidecode dmraid dnsmasq dnssec-anchors dosfstools e2fsprogs ecryptfs-utils efibootmgr elfutils enchant engrampa exfat-utils exiv2 exo expat f2fs-tools faad2 fakeroot ffmpeg fftw file filesystem findutils firefox flac flatpak fluidsynth fontconfig foomatic-db foomatic-db-gutenprint-ppds freetype2 fribidi fuse-common fuse3 fzf galculator-gtk2 game-devices-udev garcon gcc gcc-libs gcolor2 gcr gd gdbm gdk-pixbuf2 gegl geoclue gettext ghostscript gimp git glib-networking glib2 glibc glibmm glslang gmp gnome-desktop gnome-icon-theme gnome-keyring gnupg gnutls gobject-introspection-runtime gparted gpgme gpm gptfdisk graphene grep groff grub grub-theme-live-common grub-theme-live-manjaro grub-theme-manjaro gsettings-desktop-schemas gsfonts gsmartcontrol gssdp gssproxy gst-libav gst-plugins-bad gst-plugins-bad-libs gst-plugins-base gst-plugins-base-libs gst-plugins-good gst-plugins-ugly gstreamer gtk-update-icon-cache gtk2 gtk3 gtkhash gtkhash-thunar gtkmm3 gufw guile gupnp gupnp-igd gutenprint gvfs gvfs-afc gvfs-gphoto2 gvfs-mtp gvfs-nfs gvfs-smb harfbuzz harfbuzz-icu haveged hdparm hexchat hplip htop hwids hwinfo hwloc iana-etc icu imagemagick imlib2 inetutils iniparser intel-ucode intltool inxi iproute2 iptables iputils iso-codes iw jasper jbig2dec jdk8-openjdk jre8-openjdk jre8-openjdk-headless json-c json-glib kactivities karchive kauth kbd kbookmarks kcodecs kcompletion kconfig kconfigwidgets kcoreaddons kcrash kdbusaddons kdeclarative kded keyutils kglobalaccel kguiaddons ki18n kiconthemes kio kirigami2 kitemmodels kitemviews kjobwidgets kmod knotifications kpackage kpmcore krb5 kservice ktextwidgets kvantum-qt5 kwallet kwayland kwidgetsaddons kwindowsystem kxmlgui lapack lcms2 ldb lensfun less lib32-alsa-lib lib32-attr lib32-dbus lib32-expat lib32-fluidsynth lib32-gcc-libs lib32-glib2 lib32-glibc lib32-gstreamer lib32-icu lib32-libcap lib32-libdrm lib32-libelf lib32-libgcrypt lib32-libglvnd lib32-libgpg-error lib32-libinstpatch lib32-libpulse lib32-libsndfile lib32-libtasn1 lib32-libunwind lib32-libva lib32-libva-intel-driver lib32-libva-mesa-driver lib32-libvorbis lib32-libx11 lib32-libxml2 lib32-libxt lib32-llvm-libs lib32-lm_sensors lib32-lz4 lib32-mesa lib32-mesa-vdpau lib32-nspr lib32-nss lib32-openal lib32-p11-kit lib32-portaudio lib32-readline lib32-sdl2 lib32-sqlite lib32-systemd lib32-tdb lib32-util-linux lib32-vulkan-icd-loader lib32-vulkan-intel lib32-vulkan-radeon lib32-wayland lib32-xz lib32-zlib lib32-zstd libarchive libass libassuan libblockdev libbluray libburn libbytesize libcaca libcap libcap-ng libcups libdatrie libde265 libdrm libdvdcss libdvdnav libdvdread libebml libedit libelf libepoxy libevdev libevent libexif libfdk-aac libffi libfontenc libftdi libgcrypt libgee libgexiv2 libglvnd libgpg-error libgphoto2 libgudev libgusb libheif libibus libical libidn libieee1284 libimagequant libimobiledevice libinput libinstpatch libisofs libjpeg-turbo libksba libldap liblouis liblrdf libmatroska libmbim libmfx libmicrohttpd libmm-glib libmpc libmtp libmypaint libnewt libnfs libnftnl libnghttp2 libnice libnm libnma libnsl libopenraw libp11-kit libpcap libpgm libpipeline libplacebo libplist libpng libproxy libpsl libpulse libpurple libpwquality libqmi libraqm libraw librsvg libsamplerate libseccomp libsecret libshout libsidplayfp libsigc++ libsndfile libsodium libsoup libspiro libssh libssh2 libsynctex libteam libtiff libtirpc libtool libunistring libunwind libupnp libusb libusbmuxd libutf8proc libva libva-mesa-driver libva-vdpau-driver libvorbis libvpx libwacom libwebp libwnck3 libwpe libx11 libxaw libxfce4ui libxfce4util libxkbcommon libxkbcommon-x11 libxml2 libxres libxslt libxt libyaml light-locker lightdm lightdm-gtk-greeter lightdm-gtk-greeter-settings lilv linux-api-headers linux-firmware lirc llvm-libs lm_sensors lmdb logrotate lrzip lsof lua lvm2 lz4 mailcap man-db man-pages manjaro-alsa manjaro-application-utility manjaro-architect manjaro-architect-launcher manjaro-browser-settings manjaro-hello manjaro-live-base manjaro-live-skel manjaro-live-systemd manjaro-pulse manjaro-release manjaro-settings-manager manjaro-settings-manager-notifier manjaro-tools-base manjaro-xfce-settings matcha-gtk-theme md4c menulibre mesa mesa-vdpau metis mhwd-nvidia-390xx mjpegtools mkinitcpio mkinitcpio-busybox mkinitcpio-nfs-utils mlocate mobile-broadband-provider-info modemmanager mousepad mpfr mpg123 mtpfs mugshot nano nbd ncurses ndctl neon net-snmp nettle network-manager-applet networkmanager networkmanager-openconnect networkmanager-openvpn networkmanager-pptp nfs-utils nfsidmap nm-connection-editor noto-fonts noto-fonts-cjk npth nspr nss ntfs-3g ntp oath-toolkit openal opencore-amr openexr openjpeg2 openmpi openresolv openssh openssl openvpn orc os-prober ostree p11-kit p7zip pacman pacman-mirrors pam pamac-cli pamac-common pamac-flatpak-plugin pamac-gtk pamac-snap-plugin pambase pango pangomm papirus-icon-theme papirus-maia-icon-theme partclone parted patchutils pbzip2 pciutils pcre2 pcsclite perl perl-alien-build perl-alien-libxml2 perl-capture-tiny perl-clone perl-dbi perl-encode-locale perl-error perl-ffi-checklib perl-file-basedir perl-file-chdir perl-file-desktopentry perl-file-listing perl-file-mimeinfo perl-file-which perl-html-parser perl-html-tagset perl-http-cookies perl-http-daemon perl-http-date perl-http-message perl-http-negotiate perl-io-html perl-ipc-system-simple perl-libwww perl-lwp-mediatypes perl-mailtools perl-net-http perl-parse-yapp perl-path-tiny perl-timedate perl-try-tiny perl-uri perl-www-robotrules perl-xml-libxml perl-xml-parser perl-xml-writer pidgin pigz pinentry pipewire pixz pkcs11-helper pkgconf plasma-framework polkit polkit-gnome poppler poppler-data poppler-glib poppler-qt5 popt portaudio powertop ppp procps-ng protobuf protobuf-c psmisc pulseaudio pulseaudio-bluetooth pulseaudio-equalizer pulseaudio-jack pulseaudio-lirc pulseaudio-zeroconf python python-appdirs python-cachecontrol python-cairo python-chardet python-colorama python-contextlib2 python-distlib python-distro python-distutils-extra python-docopt python-gobject python-html5lib python-idna python-keyutils python-msgpack python-npyscreen python-ordered-set python-packaging python-pep517 python-pexpect python-pillow python-pip python-progress python-psutil python-ptyprocess python-pyparsing python-pyqt5 python-pyqt5-sip python-pysmbc python-pytoml python-pyxdg python-reportlab python-requests python-retrying python-setuptools python-six python-toml python-urllib3 python-webencodings python-yaml qca qpdf qpdfview qrencode qt5-base qt5-declarative qt5-graphicaleffects qt5-multimedia qt5-quickcontrols qt5-quickcontrols2 qt5-speech qt5-styleplugins qt5-svg qt5-wayland qt5-x11extras qt5-xmlpatterns qt5ct raptor readline rsync run-parts s-nail samba sane sbc screen sdl2 serd shaderc shadow shared-mime-info smartmontools smbclient snapd snappy solid sonnet sord soundtouch spandsp spectre-meltdown-checker spirv-tools splix sqlite squashfs-tools sratom srt sshfs steam-manjaro subversion sudo suitesparse sysfsutils systemd systemd-libs systemd-sysvcompat taglib talloc tar tcl tdb terminus-font tevent thin-provisioning-tools thunar thunar-volman thunderbird timeshift tslib ttf-bitstream-vera ttf-droid ttf-inconsolata ttf-indic-otf ttf-liberation tumbler tzdata udiskie udisks2 ufw unrar upower usb_modeswitch usbmuxd usbutils util-linux v4l-utils vi viewnior vlc vmaf volume_key vpnc vte-common vte3 vulkan-icd-loader vulkan-intel vulkan-radeon wavpack wayland wayland-protocols webkit2gtk wget wildmidi wireless-regdb wpa_supplicant wpebackend-fdo x264 x265 xcape xcb-proto xcursor-simpleandsoft xdg-desktop-portal xdg-desktop-portal-gtk xf86-input-libinput xf86-video-intel xf86-video-nouveau xfce4-appfinder xfce4-battery-plugin xfce4-clipman-plugin xfce4-cpufreq-plugin xfce4-cpugraph-plugin xfce4-dict xfce4-diskperf-plugin xfce4-fsguard-plugin xfce4-genmon-plugin xfce4-mailwatch-plugin xfce4-mount-plugin xfce4-netload-plugin xfce4-notes-plugin xfce4-notifyd xfce4-panel xfce4-power-manager xfce4-screenshooter xfce4-sensors-plugin xfce4-session xfce4-settings xfce4-smartbookmark-plugin xfce4-systemload-plugin xfce4-taskmanager xfce4-terminal xfce4-time-out-plugin xfce4-timer-plugin xfce4-verve-plugin xfce4-wavelan-plugin xfce4-weather-plugin xfce4-whiskermenu-plugin xfce4-xkb-plugin xfconf xfdesktop xfsprogs xfwm4 xkeyboard-config xmlsec xorg-server xorg-server-common xorg-twm xorg-xinit xorg-xkbcomp xorg-xprop xorgproto yelp yelp-xsl zbar zenity zensu zeromq zfs-utils zita-resampler zstd 
Do you want to continue anyway? [y/N] y
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing zfs-utils (2.0.4-1) breaks dependency 'zfs-utils=0.8.4' required by linux56-zfs

Edit 2: If it helps:

[manjaro manjaro]# mhwd-kernel -li
Currently running: 5.6.15-1-MANJARO (linux56)
The following kernels are installed in your system:
   * linux56

I tried once to delete linux56 after installing linux510 but I had something like “You can’t delete your current linux”

  1. Can you post fdisk -l and blkid ?
  2. You can repair the superblock on sda4 by copying the backup superblock.

Please begin with 1. and 2.

There seems much damage on your system.

You should install kernel 5.10 and another backup kernel. Like kernel 5.4.

With fdisk -l

[manjaro manjaro]# fdisk -l
Disk /dev/sda: 931.53 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: TOSHIBA MQ01ABD1
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 667F5FDF-9B4F-4615-9A56-1609CD920197

Device          Start        End    Sectors   Size Type
/dev/sda1        2048    1050623    1048576   512M EFI System
/dev/sda2     1050624    1083391      32768    16M Microsoft reserved
/dev/sda3     1083392 1502962391 1501879000 716.2G Microsoft basic data
/dev/sda4  1502962392 1953525134  450562743 214.9G Linux filesystem


Disk /dev/loop0: 73.92 MiB, 77492224 bytes, 151352 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop1: 564.28 MiB, 591679488 bytes, 1155624 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop2: 1.39 GiB, 1477513216 bytes, 2885768 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop3: 596.48 MiB, 625446912 bytes, 1221576 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes



Disk /dev/sdb: 14.56 GiB, 15623782400 bytes, 30515200 sectors
Disk model: STORE N GO      
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xb96857d2

Device     Boot   Start     End Sectors  Size Id Type
/dev/sdb1  *         64 5544423 5544360  2.7G  0 Empty
/dev/sdb2       5544424 5552615    8192    4M ef EFI (FAT-12/16/32)

With blkid

[manjaro manjaro]# blkid
/dev/sda1: LABEL_FATBOOT="ESP" LABEL="ESP" UUID="806D-1D3C" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="5fd96261-ac0d-4da8-af2e-23be05adae20"
/dev/sda2: UUID="4f6a2a28-726d-4181-af60-b788d1df0e6f" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="Microsoft reserved partition" PARTUUID="d9a76e6f-9bb5-43b7-9574-d6c1371bcee2"
/dev/sda3: BLOCK_SIZE="512" UUID="0C0C449D0C448424" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="593d79ed-3d46-473c-b0cc-7a5d4de938d1"
/dev/sda4: UUID="b2d70d35-f2ca-404f-8063-c9e47d9f1a7b" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="99bfcad6-ffee-254e-9dee-80fb140972e4"
/dev/loop0: TYPE="squashfs"
/dev/loop1: TYPE="squashfs"
/dev/loop2: TYPE="squashfs"
/dev/loop3: TYPE="squashfs"
/dev/sdb1: BLOCK_SIZE="2048" UUID="2020-06-06-07-11-25-00" LABEL="MANJARO_XFCE_2003" TYPE="iso9660" PARTUUID="b96857d2-01"
/dev/sdb2: SEC_TYPE="msdos" LABEL_FATBOOT="MISO_EFI" LABEL="MISO_EFI" UUID="08E4-9928" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="b96857d2-02"

Let me get some time I don’t even know what a superblock is I’m gonna check to find out :sweat_smile:

Read this here:

https://unix.stackexchange.com/questions/33284/recovering-ext4-superblocks