Ask Your Question
1

Can't boot with newly built Linux kernel

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

Kristin Lu gravatar image

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

FranciscoD_ gravatar image

Hi,

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 kernel.org 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.

Thanks!

kristin.

edit retag flag offensive close merge delete

Comments

1

Boot one of your older kernel options and use the instructions at https://fedoraproject.org/wiki/Building_a_custom_kernel to build your custom kernel. It would probably help to start with a newer src.rpm, like you'd find from http://koji.fedoraproject.org/koji/packageinfo?packageID=8

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

Also, this could help about building and install an upstream kernel. https://fedoraproject.org/wiki/BuildingUpstreamKernel

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

The above web link https://fedoraproject.org/wiki/BuildingUpstreamKernel looks is what I trying to do. (get kernel from kernel.org , instead of build from RPM). saw a web link http://lwn.net/Articles/583075/ mentioned we may get kernel source use git.

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

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

git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git

NickTux gravatar imageNickTux ( 2014-02-09 11:31:37 -0600 )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 -0600 )edit

2 Answers

Sort by » oldest newest most voted
1

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

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
0

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

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

Stats

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

Seen: 4,179 times

Last updated: Jun 08 '18