I have a problem with my Arco install where I can't boot and get the error that the Kernel Images cannot be found. (I would guess this comes from a recent upgrade which failed because of a pre-transaction hook)
After first looking for the error on the internet I was pretty happy since it seemed you just had to chroot from a live image and reinstall the kernel with 'pacman -S(yu) linux'.
But I just couldn't get it fixed that way. I actually am not able to get the 'vmlinuz-linux' file or I am just to dumb to find it.
Here is what I have done:
- Got into a live environment
- mounted '/dev/nvme0n1p2' (root) to '/mnt' and '/dev/nvme0n1p1' (boot/efi) to '/mnt/boot/efi'
- 'sudo arch-chroot /mnt'
- I didn't find 'vmlinuz-linux' anywhere in the /boot/ folder hierarchy which in general seemed weirdly empty
- I tried 'pacman -S(yu) linux' but nothing changed at all
- I also tried many other things which where noted in pretty much all posts about this topic I was able to find but none of them were addressing the problem of the kernel file just completely missing
Now I am at the point where I would just do a big reinstall but to be honest I am just not in the mood for setting up everything all over again right now.
Some help would be really appreciated since I just can't seem to find anything on this exact issue.
Thanks in advance.
Here are some things that may be helpful:
- fdisk -l
Code: Select all
Disk /dev/nvme0n1: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: CT1000P1SSD8
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: 93F98097-990E-4C94-A79B-20B2FDB04FB2
Device Start End Sectors Size Type
/dev/nvme0n1p1 4096 618495 614400 300M EFI System
/dev/nvme0n1p2 618496 1918840328 1918221833 914.7G Linux filesystem
/dev/nvme0n1p3 1918840329 1953520064 34679736 16.5G Linux swap
The backup GPT table is not on the end of the device.
Disk /dev/sda: 3.64 GiB, 3904897024 bytes, 7626752 sectors
Disk model: Storage Device
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: 7E6D080D-05C4-4F12-A8F2-A2BDDB4A6DDF
Device Start End Sectors Size Type
/dev/sda1 2048 7624587 7622540 3.6G Microsoft basic data
/dev/sda2 7624588 7626635 2048 1M Microsoft basic data
Disk /dev/loop0: 2.71 GiB, 2907348992 bytes, 5678416 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
Code: Select all
/boot/
├── efi
│ ├── EFI
│ │ └── arcolinux
│ │ └── grubx64.efi
│ └── grub
├── grub
│ ├── fonts
│ │ ...................
│ ├── grub.cfg
│ ├── grubenv
│ ├── locale
│ │ ....................
│ ├── themes
│ │ .....................
│ └── x86_64-efi
│ .......................
└── memtest86+
├── memtest.bin
└── memtest.efi
Code: Select all
- pacman -S linux
warning: linux-6.9.5.arch1-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Package (1) Old Version New Version Net Change
core/linux 6.9.5.arch1-1 6.9.5.arch1-1 0.00 MiB
Total Installed Size: 134.14 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%
(1/1) checking available disk space [--------------------------------------------] 100%
:: Processing package changes...
(1/1) reinstalling linux [--------------------------------------------] 100%
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) #### Important Linux packages have changed. Reboot is recommended. ####