You are not logged in.

#1 2020-09-12 19:49:22

pfdint
Member
Registered: 2013-11-18
Posts: 43

[Solved] Vmlinuz and initramfs-linux have size zero

Woke up today to find arch wouldn't boot, wouldn't even make an attempt at booting, not even a peep.
Used an arch install usb to investigate.
In /boot, initramfs-linux.img, initramfs-linux-fallback.img, and vmlinuz-linux all have size 0! They're all empty!
That doesn't sound healthy.
I chrooted into the broken system and reinstalled linux, but this only gave me a healthy vmlinuz-linux. The other 2 are still empty.
If course this still leaves me with a kernel panic 4 seconds into boot, but at least it's talking now.

So just remind me what I have to run or reinstall to generate the initramfs?

(There's also an intel-ucode.img here which is unaffected.)

Last edited by pfdint (2020-09-12 20:11:39)

Offline

#2 2020-09-12 19:57:10

loqs
Member
Registered: 2014-03-06
Posts: 17,321

Re: [Solved] Vmlinuz and initramfs-linux have size zero

If the system is using mkinitcpio to generate the initrd see Mkinitcpio#Manual_generation.

Offline

#3 2020-09-12 20:11:25

pfdint
Member
Registered: 2013-11-18
Posts: 43

Re: [Solved] Vmlinuz and initramfs-linux have size zero

/etc/mkinitcpio.d/linux.preset was also empty
I deleted that file and reinstalled linux
All is well now

No idea how any of this happened.

Offline

Board footer

Powered by FluxBB