IIRC, while updating kernel, the screen froze for some reason so I restarted my device.
As per the guide, I’ve already the live usb (eos-2022.08.28) as I recently moved to EOS.
Boot up live iso
sudo fdisk -l
Disk /dev/sda: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: ST1000DM003-1SB1
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: dos
Disk identifier: 0xe776f49a
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 1935065126 1935063079 922.7G 83 Linux
/dev/sda2 1935065127 1953520064 18454938 8.8G 82 Linux swap / Solaris
Partition 2 does not start on physical sector boundary.
Disk /dev/sdb: 28.89 GiB, 31016878080 bytes, 60579840 sectors
Disk model: v236w
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: 0x6ec8b20d
Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 64 3579839 3579776 1.7G 0 Empty
/dev/sdb2 3579840 3794879 215040 105M ef EFI (FAT-12/16/32)
Disk /dev/loop0: 1.6 GiB, 1720696832 bytes, 3360736 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
Now what to do next, any help will be appreciated.
Thanks
1 Like
give also this:
lsblk -f
so we can see filesystem used,
the issue is simple to solve… if you are using ext4 as filesystem (or xfs) biút will not work if using BTRFS
once booted into the livesession open a terminal and run:
sudo mount /dev/sda1 /mnt
sudo arch-chroot /mnt
pacman -Syu linux
edit!
its a legacy Bios system i do not seen that before changed commands…
sudo lsblk -f
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
loop0
squash 4.0 0 100% /run/archiso/airootfs
sda
├─sda1
│ ext4 1.0 a4a584ae-cc48-408c-a2e9-81717e90b1e9
└─sda2
swap 1 swap 19edd7eb-4b7d-4cfe-9686-fcc62ca17771
sdb iso966 Jolie EOS_202208 2022-08-28-20-55-34-00
├─sdb1
│ iso966 Jolie EOS_202208 2022-08-28-20-55-34-00 0 100% /run/archiso/bootmnt
└─sdb2
vfat FAT16 ARCHISO_EFI
A2D6-6CDF
sr0
sr1 iso966 Jolie Lenovo_Suite
2017-02-17-15-25-52-00
(Lenovo one is android device connected to PC through USB to copy these results)
1 Like
sudo mount /dev/sda1 /mnt
sudo arch-chroot /mnt
pacman -Syu linux
:: Synchronizing package databases...
error: failed to synchronize all databases (unable to lock database)
Ooof can’t connect to internet through either WiFi or USB tethering because of Driver issues. I’ll try the guide I posted here few days back, but it involves Rebooting PC . Stil I’ll try to test if it works.
Connected through USB tethering but still show same error.
:: Synchronizing package databases...
error: failed to synchronize all databases (unable to lock database)
rm /var/lib/pacman/db.lck
inside the chrooted terminal
rm /var/lib/pacman/db.lck
pacman -Syu linux
:: Synchronizing package databases...
core.db failed to download
extra.db failed to download
community.db failed to download
multilib.db failed to download
endeavouros.db failed to download
error: failed retrieving file 'community.db' from mirror.sahil.world : Could not resolve host: mirror.sahil.world
warning: too many errors from mirror.sahil.world, skipping for the remainder of this transaction
error: failed retrieving file 'extra.db' from mirror.sahil.world : Could not resolve host: mirror.sahil.world
error: failed retrieving file 'core.db' from mirror.sahil.world : Could not resolve host: mirror.sahil.world
error: failed retrieving file 'multilib.db' from mirror.sahil.world : Could not resolve host: mirror.sahil.world
error: failed retrieving file 'endeavouros.db' from ca.gate.endeavouros.com : Could not resolve host: ca.gate.endeavouros.com
warning: too many errors from ca.gate.endeavouros.com, skipping for the remainder of this transaction
error: failed retrieving file 'community.db' from mirrors.abhy.me : Could not resolve host: mirrors.abhy.me
warning: too many errors from mirrors.abhy.me, skipping for the remainder of this transaction
error: failed retrieving file 'extra.db' from mirrors.abhy.me : Could not resolve host: mirrors.abhy.me
error: failed retrieving file 'core.db' from mirrors.abhy.me : Could not resolve host: mirrors.abhy.me
error: failed retrieving file 'multilib.db' from mirrors.abhy.me : Could not resolve host: mirrors.abhy.me
error: failed retrieving file 'endeavouros.db' from mirrors.tuna.tsinghua.edu.cn : Could not resolve host: mirrors.tuna.tsinghua.edu.cn
warning: too many errors from mirrors.tuna.tsinghua.edu.cn, skipping for the remainder of this transaction
error: failed retrieving file 'community.db' from mirrors.nxtgen.com : Could not resolve host: mirrors.nxtgen.com
warning: too many errors from mirrors.nxtgen.com, skipping for the remainder of this transaction
error: failed retrieving file 'core.db' from mirrors.nxtgen.com : Could not resolve host: mirrors.nxtgen.com
error: failed retrieving file 'extra.db' from mirrors.nxtgen.com : Could not resolve host: mirrors.nxtgen.com
error: failed retrieving file 'multilib.db' from mirrors.nxtgen.com : Could not resolve host: mirrors.nxtgen.com
error: failed retrieving file 'endeavouros.db' from mirror.alpix.eu : Could not resolve host: mirror.alpix.eu
warning: too many errors from mirror.alpix.eu, skipping for the remainder of this transaction
error: failed retrieving file 'community.db' from mirrors.piconets.webwerks.in : Could not resolve host: mirrors.piconets.webwerks.in
warning: too many errors from mirrors.piconets.webwerks.in, skipping for the remainder of this transaction
error: failed retrieving file 'extra.db' from mirrors.piconets.webwerks.in : Could not resolve host: mirrors.piconets.webwerks.in
error: failed retrieving file 'multilib.db' from mirrors.piconets.webwerks.in : Could not resolve host: mirrors.piconets.webwerks.in
error: failed retrieving file 'core.db' from mirrors.piconets.webwerks.in : Could not resolve host: mirrors.piconets.webwerks.in
error: failed retrieving file 'endeavouros.db' from de.freedif.org : Could not resolve host: de.freedif.org
warning: too many errors from de.freedif.org, skipping for the remainder of this transaction
error: failed retrieving file 'endeavouros.db' from mirror.moson.org : Could not resolve host: mirror.moson.org
warning: too many errors from mirror.moson.org, skipping for the remainder of this transaction
error: failed retrieving file 'endeavouros.db' from endeavour.remi.lu : Could not resolve host: endeavour.remi.lu
warning: too many errors from endeavour.remi.lu, skipping for the remainder of this transaction
error: failed retrieving file 'endeavouros.db' from mirror.jingk.ai : Could not resolve host: mirror.jingk.ai
warning: too many errors from mirror.jingk.ai, skipping for the remainder of this transaction
error: failed retrieving file 'endeavouros.db' from mirror.freedif.org : Could not resolve host: mirror.freedif.org
warning: too many errors from mirror.freedif.org, skipping for the remainder of this transaction
error: failed retrieving file 'endeavouros.db' from mirror.funami.tech : Could not resolve host: mirror.funami.tech
warning: too many errors from mirror.funami.tech, skipping for the remainder of this transaction
error: failed retrieving file 'endeavouros.db' from ftp.acc.umu.se : Could not resolve host: ftp.acc.umu.se
warning: too many errors from ftp.acc.umu.se, skipping for the remainder of this transaction
error: failed retrieving file 'endeavouros.db' from mirror.linux.pizza : Could not resolve host: mirror.linux.pizza
warning: too many errors from mirror.linux.pizza, skipping for the remainder of this transaction
error: failed retrieving file 'endeavouros.db' from mirror.archlinux.tw : Could not resolve host: mirror.archlinux.tw
warning: too many errors from mirror.archlinux.tw, skipping for the remainder of this transaction
error: failed retrieving file 'endeavouros.db' from fastmirror.pp.ua : Could not resolve host: fastmirror.pp.ua
warning: too many errors from fastmirror.pp.ua, skipping for the remainder of this transaction
error: failed retrieving file 'endeavouros.db' from mirrors.42tm.tech : Could not resolve host: mirrors.42tm.tech
warning: too many errors from mirrors.42tm.tech, skipping for the remainder of this transaction
error: failed to synchronize all databases (invalid url for server)
(internet works fine, checked with Firefox)
you can check if kernel package is in cache …
ls /var/cache/pacman/pkg/linux-5.19.7.arch1-1-x86_64.pkg.tar.zst
and install it without downloading…
pacman -U /var/cache/pacman/pkg/linux-5.19.7.arch1-1-x86_64.pkg.tar.zst
this would make you able to real boot back into the system… where you can check to do full update again…
ls /var/cache/pacman/pkg/linux-5.19.7.arch1-1-x86_64.pkg.tar.zst
/var/cache/pacman/pkg/linux-5.19.7.arch1-1-x86_64.pkg.tar.zst
pacman -U /var/cache/pacman/pkg/linux-5.19.7.arch1-1-x86_64.pkg.tar.zst
loading packages...
warning: linux-5.19.7.arch1-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Package (1) Old Version New Version Net Change
linux 5.19.7.arch1-1 5.19.7.arch1-1 0.00 MiB
Total Installed Size: 178.61 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n] Y
(1/1) checking keys in keyring [--------------------------------] 100%
(1/1) checking package integrity [--------------------------------] 100%
(1/1) loading package files [--------------------------------] 100%
(1/1) checking for file conflicts [--------------------------------] 100%
:: Processing package changes...
(1/1) reinstalling linux [--------------------------------] 100%
:: Running post-transaction hooks...
(1/5) Arming ConditionNeedsUpdate...
(2/5) Updating module dependencies...
depmod: ERROR: failed to load symbols from /lib/modules/5.19.7-arch1-1/updates/dkms/8192eu.ko.zst: Invalid argument
(3/5) Updating linux initcpios...
==> WARNING: Preset file `/etc/mkinitcpio.d/linux.preset' is empty or does not contain any presets.
(4/5) Check if user should be informed about rebooting after certain system package upgrades.
==> INFO: Reboot is recommended due to the upgrade of core system package(s).
(5/5) Checking which packages need to be rebuilt
I think everything is okay now & I’m safe to reboot to system.
does not look like it has build kernel images… it fails…
try rerun mkinitcpio…
mkinitcpio -P
But make sure you are chrooted into your system:
ls /home
should give you the username used there…
Rebooted before your comment & it stuck on this screen
try rerun mkinitcpio
Let me try all over again.
But make sure you are chrooted into your system
Ok
and check also this is present:
ls /etc/mkinitcpio.d/linux.preset
mkinitcpio -P
==> WARNING: Preset file `/etc/mkinitcpio.d/linux.preset' is empty or does not contain any presets.
ls /etc/mkinitcpio.d/linux.preset
/etc/mkinitcpio.d/linux.preset
(ls /home
yes it does show my username so I’m chrooted. I’m on [root@EndeavourOS /]# while the liveuser one is [liveuser@eos-2022.08.28 ~]$)
sry was shopping for lunch
but somhow there is something wrong…
waht is inside the preset?
cat /etc/mkinitcpio.d/linux.preset
you can also try reinstalling mkinicpio in the chroot in the same way as the kernel…
pacman -U /var/cache/pacman/pkg/mkinitcpio-31-3-any.pkg.tar.zst
and try again…
cat /etc/mkinitcpio.d/linux.preset
no output/results
pacman -U /var/cache/pacman/pkg/mkinitcpio-31-3-any.pkg.tar.zst
loading packages...
error: '/var/cache/pacman/pkg/mkinitcpio-31-3-any.pkg.tar.zst': could not find or read package
was shopping for lunch
Not in hurry. I can wait, I’m not going back to Manjaro again, thought about restalling EOS, but I’ll lose files that way.
hmm waht is installed …
pacman -Qs mkinitcpio
looks like a mismatch …