You are not logged in.
Pages: 1
Hello, it appears that my /boot/vmlinuz-linux image has been corrupted, as when I try to run
pacman -S linuxI get an error along the lines of
ERROR: invalid kernel specified: '/boot/vmlinuz-linux'It also appear that I am unable to regenerate the image with
mkinitcpio -p linuxas the preset for linux references its own image.
[desktop boot]# mkinitcpio -p linux
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
-> -k /boot/vmlinuz-linux -g /boot/initramfs-linux.img --microcode /boot/amd-ucode.img
==> ERROR: invalid kernel specified: '/boot/vmlinuz-linux'
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
-> -k /boot/vmlinuz-linux -g /boot/initramfs-linux-fallback.img -S autodetect --microcode /boot/amd-ucode.img
==> ERROR: invalid kernel specified: '/boot/vmlinuz-linux'How do I regenerate this image?
Offline
ls -lR /boot
df -h
file /boot/vmlinuz-linuxOffline
Pages: 1