You are not logged in.

#1 2019-04-22 15:28:53

miomio
Member
Registered: 2016-01-17
Posts: 167

[SOLVED] Loading vmlinuz-linux failed?

I updated a laptop (used for testing and scratch pad stuff) that hadn't seen a `pacman -Syu` for some months. It broke my system; I needed to copy over the efi64 files as described here https://wiki.archlinux.org/index.php/Sy … on_on_UEFI to get the Arch Linux boot menu to display again (after power on) which was progress from the "PXE boot over IPv(x)" I was getting before that. However, when I select Arch from the menu I'm getting:

Loading ../vmlinuz-linux... failed: I/O error

I've copied over the old syslinux.cfg file so the boot entries should be correctly configured to find vmlinuz-linux and intel-ucode. The root UUID is also correct.

Any ideas?

Last edited by miomio (2019-04-22 19:02:02)

Offline

#2 2019-04-22 16:55:40

mmdamin
Member
From: Iran
Registered: 2019-02-19
Posts: 205
Website

Re: [SOLVED] Loading vmlinuz-linux failed?

That's an I/O error,
May your Harddisk is broken, or just a filesystem problem.
Boot from archiso and check your harddisk health, then fsck your boot partition.
Try formatting your boot partition and installing bootloader again.

Offline

#3 2019-04-22 18:11:11

miomio
Member
Registered: 2016-01-17
Posts: 167

Re: [SOLVED] Loading vmlinuz-linux failed?

mmdamin wrote:

That's an I/O error,
May your Harddisk is broken, or just a filesystem problem.
Boot from archiso and check your harddisk health, then fsck your boot partition.
Try formatting your boot partition and installing bootloader again.

SMART test is a pass so the hard disk is fine, however fsck doesn't seem to run properly and reports a bad super-block, and the final line states "/dev/sda contains `DOS/MBR boot sector: partition 1 ....`"

EDIT:

fsck.ext4 on all partitions except for /boot (dev/sda1) are clean.

fsck.vfat /dev/sda1 reported a dirty bit, and an incorrect cluster number. I selected to correct both issues.

fsck /dev/sda1 still reports invalid superblock and "bad magic number in super-block". Still reports  "/dev/sda contains `DOS/MBR boot sector: partition 1 ....`", but fsck.vfat /dev/sda1 seems fine.

Last edited by miomio (2019-04-22 18:24:06)

Offline

#4 2019-04-22 18:49:12

mmdamin
Member
From: Iran
Registered: 2019-02-19
Posts: 205
Website

Re: [SOLVED] Loading vmlinuz-linux failed?

fsck is for filesystem and /dev/sda is a Harddisk.
did it fix your problem?
If not boot to Archiso mount your root and boot to /mnt and /mnt/boot then 'arch-chroot /mnt' and reinstall kernel 'pacman -S linux'
if still try another bootloader.

Offline

#5 2019-04-22 19:01:50

miomio
Member
Registered: 2016-01-17
Posts: 167

Re: [SOLVED] Loading vmlinuz-linux failed?

I've fixed it; I copied the backup vmlinuz-linux file I had before running `pacman -Syu` to /boot, then reinstalled linux,linux-headers, and once mkinitcpio finished, I copied /boot/vmlinuz-linux and /boot/initramfs* files from /boot to /boot/EFI/arch locations. Not sure where the cockup is but has solved the issue.

Offline

#6 2019-04-22 19:12:14

mmdamin
Member
From: Iran
Registered: 2019-02-19
Posts: 205
Website

Re: [SOLVED] Loading vmlinuz-linux failed?

It's better to setup your ESP as /boot; advantage is your bootloader automaticy will select latest kernel you've installed without need to copy it to /boot/EFI/arch.
Also you can done this by configuring your bootloader to set root your arch root and boot vmlinuz from /boot.

Offline

Board footer

Powered by FluxBB