You are not logged in.
I am getting "Loading Linux linux ...
error: Premature end of file /boot/vmlinuz-linux
Loading initial ramdisk ...
error: you need to load the kernel first"
I arch-chroot-ed into my partition from usb. Ran mkinitcpio -P
tried pacman -Syyu linux mkinitcpio systemd and still end up getting the above error.
Is there anything else that I need to try to get my system up and running again?
Solution: What happened was for some reason the linux image didn't get updated in the /boot.
mounted my arch partition to /mnt and boot to /mnt/boot
and then ran mkinitcpio -P, reboot and it worked.
Last edited by abhixec (2020-06-11 18:37:48)
Offline
Is your boot partition full? Did you see any errors when the kernel was copied to the boot partition? (I suppose I should also ask if you have a seperate boot partition first).
From the chroot, check that /usr/lib/modules/5.6.15-arch1-1/vmlinuz and /boot/vmlinuz-linux are identical (e.g., compare md5sums).
edit: obviously this needs to be changed the current kernel.
Last edited by Trilby (2020-06-11 18:45:13)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Is your boot partition full? Did you see any errors when the kernel was copied to the boot partition? (I suppose I should also ask if you have a seperate boot partition first).
From the chroot, check that /usr/lib/modules/5.6.15-arch1-1/vmlinuz and /boot/vmlinuz-linux are identical (e.g., compare md5sums).
No I don't have separate boot partition. Since boot isn't in a separate partition and i checked the ssd that arch is on is at 50% capacity (so not full)
Checked md5sum they are the same
boot was in different partition(my bad for thinking that it was in the same one
I mounted that to boot in arch-chroot, ran the mkinitcpio since like you said the md5sums were different
rebooted and it worked thanks for your help!
Much appreciated.
Last edited by abhixec (2020-06-11 18:35:54)
Offline
Please remember to mark your thread [SOLVED] (edit the title of your first post).
Offline