Error: file `/boot/vmlinuz-6.1-x86_64’ not found . Cannot boot into manjaro

[manjaro /]# lsblk -f
NAME         FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
loop0                                               
loop1                                               
loop2                                               
loop3                                               
sda                                                 
├─sda1                                511.2M     0% /boot/efi
├─sda2                                              
├─sda3                                              
├─sda4                                511.2M     0% /boot/efi
├─sda5                                              
│ └─myVolume                            8.6G    80% /
├─sda6                                              
└─sda7                                              
sdb                                                 
├─sdb1                                              
└─sdb2                                              
sr0
[manjaro /]# fdisk -l
Disk /dev/sda: 476.94 GiB, 512110190592 bytes, 1000215216 sectors
Disk model: Netac SSD 512GB 
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: gpt
Disk identifier: FB2A8586-771C-45C3-8184-F81EADB6FDE6

Device         Start        End   Sectors   Size Type
/dev/sda1       2048     206847    204800   100M EFI System
/dev/sda2     206848     239615     32768    16M Microsoft reserved
/dev/sda3     239616  856726156 856486541 408.4G Microsoft basic data
/dev/sda4  856726157  857776127   1049971 512.7M EFI System
/dev/sda5  857776128  984752127 126976000  60.5G Linux filesystem
/dev/sda6  999174144 1000212479   1038336   507M Windows recovery environment
/dev/sda7  984752128  999174143  14422016   6.9G Linux swap

Partition table entries are not in disk order.

You seem to have booted in bios mode. Can you check in the bios settings if csm or legacy is enabled, if yes, disable it. The alternative is you boot from usb that was created in bios mode and you will have to create a new one (when you disable csm it will not boot so you know).

Two separate partitions both mounted at /boot/efi? That can’t be right.

2 Likes

I am now having this error

Kindly assist as I cannot move past here

/usr/share/sddm/themes/breeze is provided by plasma-workspace.
If you are using KDE you should have this package.
If for some reason you do not … then install it.
As this may indicate you are missing any number of important core packages you may use the mapare script to print or install all default packages;

(add a P to the flags to only print)

the file is empty - the message says

the file should not be empty

the file
/usr/share/sddm/themes/breeze/Main.qml
belongs to/is contained in
the package:
plasma-workspace

@cscs was faster

here is the output

not sure what to do next

[manjaro manjaro]# manjaro-chroot /mnt
sh-5.2# bash <(curl -s https://gitlab.com/cscs/mapare/-/raw/main/mapare) -IAP

 Manjaro Package Restore

 Retrieve and reinstall package lists

 Please provide desktop environment (kde,xfce,gnome): kde

 Packages for installation:


e2fsprogs 1.47.0-2
coreutils 9.5-1
bzip2 1.0.8-6
device-mapper 2.03.23-3
cryptsetup 2.7.2-1
systemd 255.5-3
base 3-2
acpi 1.7-3
acpid 2.0.34-1
amd-ucode 20240409.1addd7dc-1.1
b43-fwcutter 019-4
btrfs-progs 6.8.1-1
cpupower 6.7-3
cronie 1.7.2-1
diffutils 3.10-1
dmraid 1.0.0.rc16.3-14
dnsmasq 2.90-1
dosfstools 4.2-3
ecryptfs-utils 111-8
efibootmgr 18-3
exfatprogs 1.2.2-1
f2fs-tools 1.16.0-2
glibc-locales 2.39-4
grub 2.12-4
inetutils 2.5-1
intel-ucode 20240312-1
jfsutils 1.1.15-9
less 1:643-2
logrotate 3.21.0-2
lvm2 2.03.23-3
perl 5.38.2-1
man-db 2.12.1-1
manjaro-release 24.0.0-1
manjaro-system 20230401-1
manjaro-zsh-config 0.26-1
man-pages 6.7-1
mdadm 4.3-2
memtest86+ 7.00-1
memtest86+-efi 7.00-1
mhwd-db 0.6.5-36
mhwd 0.6.5-36
mkinitcpio-openswap 0.1.0-3
nano 8.0-1
nano-syntax-highlighting 2020.10.10+10+g1aa64a8-2
mobile-broadband-provider-info 20240407-1
wpa_supplicant 2:2.10-8
networkmanager 1.46.0-2
nfs-utils 2.6.4-1
ntfs-3g 2022.10.3-1
os-prober 1.81-1
reiserfsprogs 3.6.27-4
rsync 3.3.0-2
s-nail 14.9.24-2
sof-firmware 2024.03-1
spectre-meltdown-checker 0.46+23+g0f2edb1-1
sudo 1.9.15.p5-1
sysfsutils 2.1.1-1
texinfo 7.1-2
update-grub 2.12-4
usbutils 017-1
vi 1:070224-6
wget 1.24.5-2
which 2.21-6
wireless-regdb 2024.01.23-1
xfsprogs 6.7.0-1
avahi 1:0.8+r194+g3f79789-2
xdg-utils 1.2.1-1
networkmanager-openconnect 1.2.10-1
networkmanager-openvpn 1.10.4-1
networkmanager-pptp 1.2.12-3
networkmanager-vpnc 1.2.8-3
networkmanager-l2tp 1.20.14-1
nss-mdns 0.15.1-1
ntp 4.2.8.p17-1
modemmanager 1.22.0-1
openresolv 3.13.2-2
openssh 9.7p1-2
samba 4.20.0-3
usb_modeswitch 2.6.1-3
alsa-firmware 1.2.4-3
alsa-utils 1.2.11-1
ffmpeg 2:6.1.1-7
gst-libav 1.24.3-1
gst-plugins-bad 1.24.3-1
gst-plugins-base 1.24.3-1
gst-plugins-good 1.24.3-1
gst-plugins-ugly 1.24.3-1
libcanberra 1:0.30+r2+gc0620e4-3
libdvdcss 1.4.3-1
manjaro-alsa 20221002-1
manjaro-gstreamer 20221002-1
pipewire-session-manager 1:1.0.5-1
gst-plugin-pipewire 1:1.0.5-1
alsa-card-profiles 1:1.0.5-1
libmysofa 1.3.2-1
pipewire-audio 1:1.0.5-1
pipewire-alsa 1:1.0.5-1
pipewire-pulse 1:1.0.5-1
manjaro-pipewire 20231009-1
phonon-qt6-vlc 0.12.0-2
grub-btrfs 4.13-1
udisks2 2.10.1-4
kamera 24.02.2-1
mtpfs 1.1-4
udiskie 2.5.2-2
ttf-dejavu 2.37+18+g9b5d1b2f-7
noto-fonts 1:24.5.1-1
adobe-source-sans-fonts 3.052-1
adobe-source-han-sans-jp-fonts 2.004-2
adobe-source-han-sans-kr-fonts 2.004-2
adobe-source-han-sans-cn-fonts 2.004-2
terminus-font 4.49.1-6
pamac-cli 11.6.0-4
pamac-gtk3 10.6.0-4
pamac-tray-icon-plasma 0.1.3-2
packagekit-qt6 1.1.1-1
xf86-input-libinput 1.4.0-1
xorg-server 21.1.13-1
sddm 0.21.0-4
sddm-kcm 6.0.4-1
audiocd-kio 24.02.2-1
bluedevil 1:6.0.4-1
kde-gtk-config 6.0.4-1
kscreenlocker 6.0.4-1
kwin 6.0.4.1-1
kio-extras 24.02.2-1
milou 6.0.4-1
qt6-virtualkeyboard 6.7.0-1
plasma-workspace 6.0.4-1.0
kdeplasma-addons 6.0.4-1
kgamma 6.0.4-1
dmidecode 3.5-1
mesa-utils 9.0.0-4
systemsettings 6.0.4-1
kinfocenter 6.0.4-1
kmenuedit 6.0.4-1
kscreen 6.0.4-1
ksshaskpass 6.0.4-1
kwallet-pam 6.0.4-1
kwayland-integration 6.0.4-1
kwrited 6.0.4-1
powerdevil 6.0.4-1
xdg-user-dirs 0.18-1
plasma-desktop 6.0.4-1
plasma-nm 6.0.4-1
plasma-pa 6.0.4-1
plasma-systemmonitor 6.0.4-1
plasma-browser-integration 6.0.4-1
xdg-desktop-portal-kde 6.0.4-1
plasma-thunderbolt 6.0.4-1
gnome-themes-extra 3.28+r6+g45b1d457-1
sddm-breath-theme 24.0.0-3
grub-theme-manjaro 20.2-16
breeze5 6.0.4-1
breeze-gtk 6.0.4.1-1
plymouth 22.02.122-18
plymouth-theme-manjaro 2.2-1
ark 24.02.2-1
dolphin 24.02.2-2
dolphin-plugins 24.02.2-1
kate 24.02.2-1
kcalc 24.02.2-1
kfind 24.02.2-1
kdeconnect 24.02.2-1
poppler-data 0.4.12-1
okular 24.02.2-1
kdenetwork-filesharing 24.02.2-1
khelpcenter 24.02.2-1
konsole 24.02.2-1
ksystemlog 24.02.2-1
kwalletmanager 24.02.2-1
gwenview 24.02.2-1
spectacle 24.02.2-1
p7zip 1:17.05-2
unarchiver 1.10.8-1
kdegraphics-thumbnailers 24.02.2-1
ffmpegthumbs 24.02.2-1
kimageformats 6.1.0-1
qt6-imageformats 6.7.0-1
sshfs 3.7.3-1
firefox 125.0.3-2
htop 3.3.0-2
inxi 3.3.34.1-1
kaccounts-providers 24.02.2-1
manjaro-hello 0.7.2-6
manjaro-application-utility 1.3.3-11
manjaro-settings-manager-kcm 0.5.7-21
manjaro-settings-manager-knotifier 0.5.7-21
powertop 2.15-1
neofetch 7.1.0-2
plymouth-kcm 6.0.4-1
yakuake 24.02.2-1
manjaro-kde-settings 20240501-1
manjaro-browser-settings 20231111-1
xf86-input-elographics 1.4.4-1
xf86-input-evdev 2.10.6-4
xf86-input-void 1.4.2-1
libva-intel-driver 2.4.1-2
libva-mesa-driver 1:24.0.6-1
numlockx 1.2-5
xorg-twm 1.0.12-1
xorg-xinit 1.4.2-1
xorg-xkill 1.0.6-1
xorg-mkfontscale 1.2.3-1
perl-file-mimeinfo 0.34-1
power-profiles-daemon 0.21-1

So you can see those are the packages it would install if you had not added the P.

The A is for all - meaning it includes packages for reinstall.

So to get a more accurate reading of what is missing you could use IP and see that.

But either with or without the A you can also drop the P, and it will install those packages.

(since you are having trouble I would probably leave the A on)

Thanks.
This is awesome.

It has updated. lemme try to boot

Still getting this even after changing the theme.

What should I do now?

This is a different error.
It is for ‘breath’, not ‘breeze’.

(breath sddm theme files are duplicated acrossed multiple different packages. But most basically it is from sddm-breath-theme)

But also the breath theme would have been included in the packages you just installed.

Please attempt to again set breeze global theme

plasma-apply-lookandfeel -a org.kde.breeze.desktop

@cscs Am still stuck

It is still showing breath as the theme and the problem.

I dont understand how this can happen from the correct sddm-breath-theme.

But I still suggest switching to breeze.

If the lookandfeel does not do it then edit the conf file, likely at /etc/sddm.conf.d/kde_settings.conf.

You will want to set the theme by replacing the associated lines, ex:

[Theme]
Current=breeze

This is what I have in the /sddm.conf.d/ dir

[manjaro /]# ls /etc/sddm.conf.d/
00_manjaro_settings.conf  virtualkeyboard.conf

should I edit the 00_manjaro_settings.conf ?

Only if it contains lines defining the theme.

The other location would be just /etc/sddm.conf

Done

[manjaro /]# cat /etc/sddm.conf
[Autologin]
Relogin=false
Session=plasma

[General]
HaltCommand=/usr/bin/systemctl poweroff
InputMethod=
Numlock=none
RebootCommand=/usr/bin/systemctl reboot

[Theme]
Current=breeze
CursorTheme=breeze_cursors
DisableAvatarsThreshold=7
EnableAvatars=true
FacesDir=/usr/share/sddm/faces
ThemeDir=/usr/share/sddm/themes

[Users]
DefaultPath=/usr/local/sbin:/usr/local/bin:/usr/bin
HideShells=
HideUsers=
MaximumUid=60000
MinimumUid=1000
RememberLastSession=true
RememberLastUser=true
ReuseSession=false

[Wayland]
EnableHiDPI=false
SessionCommand=/usr/share/sddm/scripts/wayland-session
SessionDir=/usr/share/wayland-sessions
SessionLogFile=.local/share/sddm/wayland-session.log

[X11]
DisplayCommand=/usr/share/sddm/scripts/Xsetup
DisplayStopCommand=/usr/share/sddm/scripts/Xstop
EnableHiDPI=false
MinimumVT=1
ServerArguments=-nolisten tcp
ServerPath=/usr/bin/X
SessionCommand=/usr/share/sddm/scripts/Xsession
SessionDir=/usr/share/xsessions
SessionLogFile=.local/share/sddm/xorg-session.log
UserAuthFile=.Xauthority
XauthPath=/usr/bin/xauth
XephyrPath=/usr/bin/Xephyr

and

[manjaro /]# cat /etc/sddm.conf.d/00_manjaro_settings.conf
[Theme]
Current=breeze

should be okay now I hope

I guess so.

So I just realized how this all makes sense.

That file is provided by one of these packages:

beelink-kde-settings
minisforum-kde-settings
slimbook-titan-settings

And all those packages are in a broken state, requiring and depending on plasma5 themes.

How you updated at all while keeping those does confuse me a bit.

( maybe your earlier update attempt used pamac or yay so it grabbed the plasma5 stuff from the AUR, then you used mapare and installed needed packages and updated? )

I also suggest checking your foreign packages.

pacman -Qm

here they are

[manjaro /]# pacman -Qm
anydesk-bin 6.3.2-1
google-chrome 124.0.6367.155-1
khotkeys 5.27.11-1
khtml 5.115.0-1
kjs 5.115.0-1
kpeoplevcard 0.1-2
kquickcharts5 5.115.0-1
krunner5 5.115.0-1
libsidplay 1.36.59-10
manjaro-hotfixes 2024.1-2
plasma-simplemenu 1.0.12-1
python-manjaro-sdk 1:0.1.1-1
python-shiboken2 5.15.12-1
r-mkl 4.4.0-1
rstudio-desktop-bin 2023.12.1.402-1
systemd-kcm 1.2.1-8
visual-studio-code-bin 1.89.1-1
web-installer-url-handler 2.3-1

A number are ‘super-aliens’ that dont exist in the repos or the AUR.

And some are those plasma5 things I figured.

sudo pacman -Rns khotkeys kquickcharts5 krunner5 manjaro-hotfixes plasma-simplemenu python-manjaro-sdk systemd-kcm web-installer-url-handler

Obviously thats not all the printed foreign packages but those can surely go.
Also remove any of the others you dont need/want.