Hi,
system won’t boot because the kernel is missing.
Currently running via a liveusb.
How do i get it fixed.
Thanks in advanced.
Hi,
system won’t boot because the kernel is missing.
Currently running via a liveusb.
How do i get it fixed.
Thanks in advanced.
Welcome to the purple forums. Are you sure it’s the missing kernel, not grub?
Welcome welcome! Have you deselect something when installing? Also I don’t think that the kernel is selectable during install
Pretty sure.
That’s what the error message says.
Not during install.
This was a working setup, I may have boorled through aborting an upgrade.
Some more info:
Luks partition on sda2. Running through uefi I think.
Have tried chrooting into the install with no luck.
That is what you need to.
When you say you tried with no luck, please provide specifics and exact error messages
This is the main error:
I’ve tried a few different things in a live usb which i have restarted so the things i have done have been wiped from history and memory.
one of the issues with chroot was that i got an error
OK, you need to try again. If it fails again, then share the exact steps you are taking to create the chroot. Without this information there is no way we can tell you what is wrong.
This is what you want for the last part
sudo mount /dev/mapper/mydata /mnt
Then mount your efi partition if you have one.
Then you can arch-chroot
[root@EndeavourOS liveuser]# mount /dev/sda2 /mnt
mount: /mnt: unknown filesystem type 'crypto_LUKS'.
[root@EndeavourOS liveuser]# cryptsetup luksOpen /dev/sda2 /mnt
Enter passphrase for /dev/sda2:
Device mnt not found
Cannot use device /mnt, name is invalid or still in use.
[root@EndeavourOS liveuser]# cryptsetup luksOpen /dev/sda2 mydata
Enter passphrase for /dev/sda2:
[root@EndeavourOS liveuser]# mount /dev/sda2 /mnt
mount: /mnt: unknown filesystem type 'crypto_LUKS'.
[root@EndeavourOS liveuser]# mount /dev/sda2 /mydata
mount: /mydata: mount point does not exist.
[root@EndeavourOS liveuser]# mount /dev/mapper/mydata /mydata
mount: /mydata: mount point does not exist.
[root@EndeavourOS liveuser]# mkdir /mnt/mydata
[root@EndeavourOS liveuser]# mount /dev/mapper/mydata /mydata
mount: /mydata: mount point does not exist.
[root@EndeavourOS liveuser]# mount /dev/mapper/mydata /mnt/mydata
[root@EndeavourOS liveuser]# mount /dev/sda1 /mnt/boot/
mount: /mnt/boot/: mount point does not exist.
[root@EndeavourOS liveuser]# arch-chroot
==> ERROR: No chroot directory specified
[root@EndeavourOS liveuser]# mount /dev/mapper/mydata /mnt
[root@EndeavourOS liveuser]# arch-chroot
==> ERROR: No chroot directory specified
[root@EndeavourOS liveuser]#
Device Start End Sectors Size Type
/dev/sda1 4096 618495 614400 300M EFI System
/dev/sda2 618496 488392064 487773569 232.6G Linux filesystem
GPT PMBR size mismatch (4035411 != 15364415) will be corrected by write.
The backup GPT table is not on the end of the device.
You can’t just type random commands. Are you following a guide?
This is what you need next
sudo mount /dev/sda1 /mnt/boot/efi
sudo arch-chroot /mnt
okay.
Just ran
sudo pacman -Syyu
and
rror: failed to commit transaction (conflicting files)
welcome: /etc/xdg/autostart/wallpaper-once.desktop exists in filesystem
welcome: /etc/xdg/autostart/welcome.desktop exists in filesystem
welcome: /usr/bin/eos-install-mode-run-calamares exists in filesystem
welcome: /usr/bin/eos-kill-yad-zombies exists in filesystem
welcome: /usr/bin/eos-welcome exists in filesystem
welcome: /usr/bin/welcome-dnd exists in filesystem
welcome: /usr/share/applications/welcome.desktop exists in filesystem
welcome: /usr/share/endeavouros/scripts/wallpaper-once exists in filesystem
welcome: /usr/share/endeavouros/scripts/welcome exists in filesystem
Errors occurred, no packages were upgraded.
Is that the full output?
[root@EndeavourOS /]# sudo pacman -Syyu
:: Synchronizing package databases...
core 136.2 KiB 908 KiB/s 00:00 [--------------------------------] 100%
extra 1587.3 KiB 6.92 MiB/s 00:00 [--------------------------------] 100%
community 5.8 MiB 7.25 MiB/s 00:01 [--------------------------------] 100%
multilib 149.3 KiB 4.86 MiB/s 00:00 [--------------------------------] 100%
endeavouros 21.2 KiB 98.2 KiB/s 00:00 [--------------------------------] 100%
:: Starting full system upgrade...
:: Replace jack with extra/jack2? [Y/n] y
resolving dependencies...
looking for conflicting packages...
Packages (94) attica-5.86.0-1 baloo-5.86.0-1 bluez-qt-5.86.0-1 breeze-icons-5.86.0-1
celt-0.11.3-4 eos-bash-shared-1.10.1-1 eos-hooks-1.4.11-1
frameworkintegration-5.86.0-1 gd-2.3.3-1 gdbm-1.21-1 ghostscript-9.54.0-3
go-2:1.17.1-1 jack-0.125.0-9 [removal] jack2-1.9.19-2 kactivities-5.86.0-1
kactivities-stats-5.86.0-1 karchive-5.86.0-1 kauth-5.86.0-1 kbookmarks-5.86.0-1
kcalendarcore-5.86.0-1 kcmutils-5.86.0-1 kcodecs-5.86.0-1 kcompletion-5.86.0-1
kconfig-5.86.0-1 kconfigwidgets-5.86.0-1 kcontacts-1:5.86.0-1 kcoreaddons-5.86.0-1
kcrash-5.86.0-1 kdav-1:5.86.0-1 kdbusaddons-5.86.0-1 kdeclarative-5.86.0-1
kded-5.86.0-1 kdelibs4support-5.86.0-1 kdesu-5.86.0-1 kdnssd-5.86.0-1
kdoctools-5.86.0-1 kemoticons-5.86.0-1 kfilemetadata-5.86.0-1
kglobalaccel-5.86.0-1 kguiaddons-5.86.0-1 kholidays-1:5.86.0-1 khtml-5.86.0-1
ki18n-5.86.0-1 kiconthemes-5.86.0-1 kidletime-5.86.0-1 kinit-5.86.0-1
kio-5.86.0-1 kirigami2-5.86.0-1 kitemmodels-5.86.0-1 kitemviews-5.86.0-1
kjobwidgets-5.86.0-1 kjs-5.86.0-1 knewstuff-5.86.0-1 knotifications-5.86.0-1
knotifyconfig-5.86.0-1 kpackage-5.86.0-1 kparts-5.86.0-1 kpeople-5.86.0-1
kplotting-5.86.0-1 kpty-5.86.0-1 kquickcharts-5.86.0-1 kross-5.86.0-1
krunner-5.86.0-1 kservice-5.86.0-1 ktexteditor-5.86.0-1 ktextwidgets-5.86.0-1
kunitconversion-5.86.0-1 kwallet-5.86.0-1 kwayland-5.86.0-1
kwidgetsaddons-5.86.0-1 kwindowsystem-5.86.0-1 kxmlgui-5.86.0-1 libcap-2.56-1
libmm-glib-1.18.0-1 libxkbcommon-1.3.1-1 libxkbcommon-x11-1.3.1-1
mjpegtools-2.2.1-1 modemmanager-1.18.0-1 modemmanager-qt-5.86.0-1 netctl-1.26-1
networkmanager-qt-5.86.0-1 pango-1:1.48.10-1 plasma-framework-5.86.0-1
prison-5.86.0-1 purpose-5.86.0-1 python-pillow-8.3.2-1 qqc2-desktop-style-5.86.0-1
solid-5.86.0-1 sonnet-5.86.0-1 syndication-5.86.0-1 syntax-highlighting-5.86.0-1
threadweaver-5.86.0-1 thunar-4.16.9-1 welcome-3.15-1
Total Download Size: 193.05 MiB
Total Installed Size: 807.12 MiB
Net Upgrade Size: 3.18 MiB
:: Proceed with installation? [Y/n] y
:: Retrieving packages...
go-2:1.17.1-1-x86_64 90.8 MiB 7.31 MiB/s 00:12 [--------------------------------] 100%
ghostscript-9.54.0-3-x86_64 17.6 MiB 7.17 MiB/s 00:02 [--------------------------------] 100%
kio-5.86.0-1-x86_64 7.7 MiB 6.92 MiB/s 00:01 [--------------------------------] 100%
breeze-icons-5.86.0-1-any 6.6 MiB 7.31 MiB/s 00:01 [--------------------------------] 100%
kwidgetsaddons-5.86.0-1-x86_64 5.2 MiB 7.27 MiB/s 00:01 [--------------------------------] 100%
plasma-framework-5.86.0-1-... 4.0 MiB 7.21 MiB/s 00:01 [--------------------------------] 100%
ktexteditor-5.86.0-1-x86_64 3.5 MiB 7.20 MiB/s 00:00 [--------------------------------] 100%
kdelibs4support-5.86.0-1-x... 3.5 MiB 7.19 MiB/s 00:00 [--------------------------------] 100%
kwayland-5.86.0-1-x86_64 3.0 MiB 7.20 MiB/s 00:00 [--------------------------------] 100%
khtml-5.86.0-1-x86_64 2.8 MiB 7.19 MiB/s 00:00 [--------------------------------] 100%
knewstuff-5.86.0-1-x86_64 1950.1 KiB 7.05 MiB/s 00:00 [--------------------------------] 100%
kemoticons-5.86.0-1-x86_64 1860.8 KiB 7.07 MiB/s 00:00 [--------------------------------] 100%
networkmanager-qt-5.86.0-1... 1804.0 KiB 7.05 MiB/s 00:00 [--------------------------------] 100%
kxmlgui-5.86.0-1-x86_64 1716.4 KiB 6.98 MiB/s 00:00 [--------------------------------] 100%
frameworkintegration-5.86.... 1587.6 KiB 7.05 MiB/s 00:00 [--------------------------------] 100%
ki18n-5.86.0-1-x86_64 1557.4 KiB 7.04 MiB/s 00:00 [--------------------------------] 100%
kcoreaddons-5.86.0-1-x86_64 1447.1 KiB 6.60 MiB/s 00:00 [--------------------------------] 100%
kcalendarcore-5.86.0-1-x86_64 1402.4 KiB 6.95 MiB/s 00:00 [--------------------------------] 100%
syntax-highlighting-5.86.0... 1361.7 KiB 7.00 MiB/s 00:00 [--------------------------------] 100%
modemmanager-1.18.0-1-x86_64 1349.8 KiB 7.05 MiB/s 00:00 [--------------------------------] 100%
kconfigwidgets-5.86.0-1-x86_64 1251.6 KiB 6.91 MiB/s 00:00 [--------------------------------] 100%
thunar-4.16.9-1-x86_64 1237.8 KiB 6.99 MiB/s 00:00 [--------------------------------] 100%
kconfig-5.86.0-1-x86_64 1131.4 KiB 6.91 MiB/s 00:00 [--------------------------------] 100%
kunitconversion-5.86.0-1-x... 1048.1 KiB 6.82 MiB/s 00:00 [--------------------------------] 100%
kparts-5.86.0-1-x86_64 1042.9 KiB 6.98 MiB/s 00:00 [--------------------------------] 100%
syndication-5.86.0-1-x86_64 1025.8 KiB 6.81 MiB/s 00:00 [--------------------------------] 100%
kcontacts-1:5.86.0-1-x86_64 1001.7 KiB 6.79 MiB/s 00:00 [--------------------------------] 100%
bluez-qt-5.86.0-1-x86_64 927.7 KiB 6.81 MiB/s 00:00 [--------------------------------] 100%
ktextwidgets-5.86.0-1-x86_64 869.5 KiB 6.69 MiB/s 00:00 [--------------------------------] 100%
solid-5.86.0-1-x86_64 857.7 KiB 6.65 MiB/s 00:00 [--------------------------------] 100%
kwindowsystem-5.86.0-1-x86_64 781.5 KiB 6.52 MiB/s 00:00 [--------------------------------] 100%
kservice-5.86.0-1-x86_64 739.2 KiB 6.56 MiB/s 00:00 [--------------------------------] 100%
mjpegtools-2.2.1-1-x86_64 733.2 KiB 6.51 MiB/s 00:00 [--------------------------------] 100%
kcompletion-5.86.0-1-x86_64 715.4 KiB 6.59 MiB/s 00:00 [--------------------------------] 100%
kitemmodels-5.86.0-1-x86_64 711.8 KiB 6.50 MiB/s 00:00 [--------------------------------] 100%
libmm-glib-1.18.0-1-x86_64 700.0 KiB 6.64 MiB/s 00:00 [--------------------------------] 100%
sonnet-5.86.0-1-x86_64 655.2 KiB 6.67 MiB/s 00:00 [--------------------------------] 100%
kcmutils-5.86.0-1-x86_64 653.5 KiB 6.58 MiB/s 00:00 [--------------------------------] 100%
python-pillow-8.3.2-1-x86_64 644.7 KiB 6.49 MiB/s 00:00 [--------------------------------] 100%
kitemviews-5.86.0-1-x86_64 616.8 KiB 6.27 MiB/s 00:00 [--------------------------------] 100%
kbookmarks-5.86.0-1-x86_64 603.0 KiB 6.54 MiB/s 00:00 [--------------------------------] 100%
kdoctools-5.86.0-1-x86_64 596.5 KiB 6.47 MiB/s 00:00 [--------------------------------] 100%
jack2-1.9.19-2-x86_64 588.0 KiB 6.68 MiB/s 00:00 [--------------------------------] 100%
baloo-5.86.0-1-x86_64 580.1 KiB 6.29 MiB/s 00:00 [--------------------------------] 100%
modemmanager-qt-5.86.0-1-x... 576.8 KiB 6.47 MiB/s 00:00 [--------------------------------] 100%
kirigami2-5.86.0-1-x86_64 553.8 KiB 6.44 MiB/s 00:00 [--------------------------------] 100%
attica-5.86.0-1-x86_64 553.7 KiB 3.68 MiB/s 00:00 [--------------------------------] 100%
kdeclarative-5.86.0-1-x86_64 521.8 KiB 6.37 MiB/s 00:00 [--------------------------------] 100%
kwallet-5.86.0-1-x86_64 517.0 KiB 6.31 MiB/s 00:00 [--------------------------------] 100%
kiconthemes-5.86.0-1-x86_64 507.3 KiB 6.43 MiB/s 00:00 [--------------------------------] 100%
knotifications-5.86.0-1-x86_64 464.5 KiB 6.48 MiB/s 00:00 [--------------------------------] 100%
threadweaver-5.86.0-1-x86_64 452.2 KiB 6.31 MiB/s 00:00 [--------------------------------] 100%
kdav-1:5.86.0-1-x86_64 430.3 KiB 6.00 MiB/s 00:00 [--------------------------------] 100%
kpeople-5.86.0-1-x86_64 403.7 KiB 6.16 MiB/s 00:00 [--------------------------------] 100%
kjs-5.86.0-1-x86_64 403.3 KiB 6.25 MiB/s 00:00 [--------------------------------] 100%
kholidays-1:5.86.0-1-x86_64 394.5 KiB 6.02 MiB/s 00:00 [--------------------------------] 100%
krunner-5.86.0-1-x86_64 389.2 KiB 6.33 MiB/s 00:00 [--------------------------------] 100%
kfilemetadata-5.86.0-1-x86_64 383.6 KiB 6.24 MiB/s 00:00 [--------------------------------] 100%
kross-5.86.0-1-x86_64 382.5 KiB 5.84 MiB/s 00:00 [--------------------------------] 100%
karchive-5.86.0-1-x86_64 381.3 KiB 6.21 MiB/s 00:00 [--------------------------------] 100%
kcodecs-5.86.0-1-x86_64 368.4 KiB 6.00 MiB/s 00:00 [--------------------------------] 100%
kjobwidgets-5.86.0-1-x86_64 356.1 KiB 5.80 MiB/s 00:00 [--------------------------------] 100%
pango-1:1.48.10-1-x86_64 352.0 KiB 6.03 MiB/s 00:00 [--------------------------------] 100%
kpackage-5.86.0-1-x86_64 341.7 KiB 6.30 MiB/s 00:00 [--------------------------------] 100%
kauth-5.86.0-1-x86_64 332.7 KiB 6.13 MiB/s 00:00 [--------------------------------] 100%
kactivities-5.86.0-1-x86_64 326.4 KiB 5.90 MiB/s 00:00 [--------------------------------] 100%
purpose-5.86.0-1-x86_64 324.2 KiB 5.65 MiB/s 00:00 [--------------------------------] 100%
kdnssd-5.86.0-1-x86_64 317.1 KiB 5.73 MiB/s 00:00 [--------------------------------] 100%
kguiaddons-5.86.0-1-x86_64 313.0 KiB 5.77 MiB/s 00:00 [--------------------------------] 100%
kactivities-stats-5.86.0-1... 294.8 KiB 5.76 MiB/s 00:00 [--------------------------------] 100%
kglobalaccel-5.86.0-1-x86_64 249.6 KiB 5.19 MiB/s 00:00 [--------------------------------] 100%
kdesu-5.86.0-1-x86_64 236.5 KiB 5.37 MiB/s 00:00 [--------------------------------] 100%
kplotting-5.86.0-1-x86_64 233.5 KiB 5.70 MiB/s 00:00 [--------------------------------] 100%
kdbusaddons-5.86.0-1-x86_64 228.5 KiB 5.07 MiB/s 00:00 [--------------------------------] 100%
gdbm-1.21-1-x86_64 227.6 KiB 5.56 MiB/s 00:00 [--------------------------------] 100%
knotifyconfig-5.86.0-1-x86_64 206.7 KiB 5.05 MiB/s 00:00 [--------------------------------] 100%
kpty-5.86.0-1-x86_64 204.2 KiB 4.99 MiB/s 00:00 [--------------------------------] 100%
libxkbcommon-1.3.1-1-x86_64 202.0 KiB 5.33 MiB/s 00:00 [--------------------------------] 100%
prison-5.86.0-1-x86_64 161.9 KiB 4.79 MiB/s 00:00 [--------------------------------] 100%
gd-2.3.3-1-x86_64 156.6 KiB 4.63 MiB/s 00:00 [--------------------------------] 100%
kinit-5.86.0-1-x86_64 137.6 KiB 5.17 MiB/s 00:00 [--------------------------------] 100%
kidletime-5.86.0-1-x86_64 137.2 KiB 5.15 MiB/s 00:00 [--------------------------------] 100%
kcrash-5.86.0-1-x86_64 126.1 KiB 4.74 MiB/s 00:00 [--------------------------------] 100%
kquickcharts-5.86.0-1-x86_64 122.9 KiB 4.45 MiB/s 00:00 [--------------------------------] 100%
libcap-2.56-1-x86_64 78.1 KiB 3.31 MiB/s 00:00 [--------------------------------] 100%
qqc2-desktop-style-5.86.0-... 77.9 KiB 3.17 MiB/s 00:00 [--------------------------------] 100%
celt-0.11.3-4-x86_64 73.7 KiB 3.60 MiB/s 00:00 [--------------------------------] 100%
kded-5.86.0-1-x86_64 56.3 KiB 2.75 MiB/s 00:00 [--------------------------------] 100%
netctl-1.26-1-any 41.4 KiB 2.52 MiB/s 00:00 [--------------------------------] 100%
eos-bash-shared-1.10.1-1-any 38.9 KiB 648 KiB/s 00:00 [--------------------------------] 100%
welcome-3.15-1-any 31.1 KiB 914 KiB/s 00:00 [--------------------------------] 100%
libxkbcommon-x11-1.3.1-1-x... 22.3 KiB 1396 KiB/s 00:00 [--------------------------------] 100%
eos-hooks-1.4.11-1-any 16.1 KiB 537 KiB/s 00:00 [--------------------------------] 100%
Total (93/93) 193.0 MiB 6.73 MiB/s 00:29 [--------------------------------] 100%
(93/93) checking keys in keyring [--------------------------------] 100%
(93/93) checking package integrity [--------------------------------] 100%
(93/93) loading package files [--------------------------------] 100%
(93/93) checking for file conflicts [--------------------------------] 100%
error: failed to commit transaction (conflicting files)
welcome: /etc/xdg/autostart/wallpaper-once.desktop exists in filesystem
welcome: /etc/xdg/autostart/welcome.desktop exists in filesystem
welcome: /usr/bin/eos-install-mode-run-calamares exists in filesystem
welcome: /usr/bin/eos-kill-yad-zombies exists in filesystem
welcome: /usr/bin/eos-welcome exists in filesystem
welcome: /usr/bin/welcome-dnd exists in filesystem
welcome: /usr/share/applications/welcome.desktop exists in filesystem
welcome: /usr/share/endeavouros/scripts/wallpaper-once exists in filesystem
welcome: /usr/share/endeavouros/scripts/welcome exists in filesystem
Errors occurred, no packages were upgraded.
[root@EndeavourOS /]#
pacman -Syu --overwrite /etc/xdg/autostart\*,/usr/bin/eos-welcome,/usr/bin/welcome-dnd,/usr/share/applications/welcome.desktop,/usr/share/endeavouros/scripts/w\*
welcome: /usr/bin/eos-install-mode-run-calamares exists in filesystem
welcome: /usr/bin/eos-kill-yad-zombies exists in filesystem
Errors occurred, no packages were upgraded.
fixed it
Just try this then:
pacman -R welcome
pacman -Syu linux,linux-headers
pacman -S welcome --overwrite \*
EDIT: If it is fixed, you don’t need to do this already.
Do make sure that you reinstall the kernel before rebooting.
pacman -S linux linux-headers