You are not logged in.

#1 2021-03-05 14:56:44

yunuses
Member
Registered: 2021-02-11
Posts: 9

[SOLVED]Premature end of file /vmlinuz-linux

Loading Linux Linux ...
error:premature end of file /vmlinuz-linux
Loading initial ramdisk ...
error:you need to load the kernel first

I get this error when i try to boot. I tried booting into live iso and reinstalling kernel but did not have any effect. Any help?

Last edited by yunuses (2021-03-05 15:32:08)

Offline

#2 2021-03-05 15:01:27

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED]Premature end of file /vmlinuz-linux

Did you have your /boot partition mounted when you reinstalled the kernel?

Offline

#3 2021-03-05 15:14:58

yunuses
Member
Registered: 2021-02-11
Posts: 9

Re: [SOLVED]Premature end of file /vmlinuz-linux

Scimmia wrote:

Did you have your /boot partition mounted when you reinstalled the kernel?

Yes. Though I previously tried reinstalling linux and linux-firmware together. I tried linux only now, it seems to have worked however I have another problem.

initramfs: unpacking failed: invalid magic at start of compressed archive
 Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

Last edited by yunuses (2021-03-05 15:15:18)

Offline

#4 2021-03-05 15:30:07

yunuses
Member
Registered: 2021-02-11
Posts: 9

Re: [SOLVED]Premature end of file /vmlinuz-linux

Ok I reinstalled intel microcode and it's working now.

Offline

Board footer

Powered by FluxBB