Ask Your Question

Can't boot with newly built Linux kernel

asked 2014-02-08 16:49:42 -0500

Kristin Lu gravatar image

updated 2014-02-09 02:25:48 -0500

FranciscoD_ gravatar image


I downloaded a Fedora 20 DVD (full version, 0x86_64) and install it on my laptop PC's hard drive. I have a Lenovo G510 with windows 8.1. I was able to boot the Fedora 20.

I downloaded a linux source tree 3.13.2 from and unpack it. I copied the config file which use to boot up the Fedora to my linux-3.13.2 tree, rename it .config (I tried to avoid to use ncurses which I need to install otherwise).

Then I did "make, make modules_install, make install".

I then reboot my pc. After boot up, I tried to boot the newly built linux kernel, but I saw the following message on the screen: error: /vmlinuz-3.13.2 has invalid signature error: you need to load the kernel first.

Anybody knows what could be the problem?

Do I need to do anything in the bootloader (grub) to have it boot the new image? If so, how?

And, should there a "config-3.13.2" file generated under /boot? I don't see it.



edit retag flag offensive close merge delete



Boot one of your older kernel options and use the instructions at to build your custom kernel. It would probably help to start with a newer src.rpm, like you'd find from

randomuser gravatar imagerandomuser ( 2014-02-08 19:15:13 -0500 )edit

Also, this could help about building and install an upstream kernel.

NickTux gravatar imageNickTux ( 2014-02-09 03:34:44 -0500 )edit

The above web link looks is what I trying to do. (get kernel from , instead of build from RPM). saw a web link mentioned we may get kernel source use git.

Anybody know the exact git command to get source from git:// for linux-3.13.y? git clone ....???

Kristin Lu gravatar imageKristin Lu ( 2014-02-09 11:24:53 -0500 )edit

git clone git://

NickTux gravatar imageNickTux ( 2014-02-09 11:31:37 -0500 )edit

What if I want to get a 3.13.y (or any perticular label) - will the above command does so?

Kristin Lu gravatar imageKristin Lu ( 2014-02-09 16:18:48 -0500 )edit

2 Answers

Sort by » oldest newest most voted

answered 2018-06-08 17:04:20 -0500

RobinHook gravatar image

Can't vote & rate. So, in UEFI system the Patrick Uiterwijk answer is correct, at least this works for me. To access UEFI setup software in secure mode active. You must boot under windows first, and press restart with shift key hold until a blue screen appears. From there you see an option and Voilà!

edit flag offensive delete link more

answered 2014-02-16 11:00:06 -0500

Your computer has probably secureboot turned on, as this is required for Window 8+ certification. As such, it will only run kernels signed by a Microsoft signed key.

To boot a custom kernel, you will need to get into your UEFI setup, and disable secureboot.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2014-02-08 16:49:42 -0500

Seen: 4,186 times

Last updated: Jun 08 '18