LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 07-30-2023, 12:15 PM   #1
zvivered
Member
 
Registered: Sep 2007
Posts: 294

Rep: Reputation: 23
5.4.249: Sign bzImage


Hello,

Using "make ARCH=x86_64 defconfig" + make, I created bzImage.
This image boots my PC when secure boot is disabled.
Grub 2.06 is used to boot bzImage

In order to boot when secure boot is enabled, can I use a signed bzImage ?
Or should I use another format ?

I tried to sign bzImage with sbsign and got:
error: bad shim signature
Of course - I enrolled the key created in the sign process.
I used the procedure described in:
https://ubuntu.com/blog/how-to-sign-...or-secure-boot

Thank you,
Zvika
 
Old 07-30-2023, 04:51 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,720

Rep: Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973
Quote:
Originally Posted by zvivered View Post
Hello,
Using "make ARCH=x86_64 defconfig" + make, I created bzImage. This image boots my PC when secure boot is disabled. Grub 2.06 is used to boot bzImage In order to boot when secure boot is enabled, can I use a signed bzImage ? Or should I use another format ?

I tried to sign bzImage with sbsign and got:
Code:
error: bad shim signature
Of course - I enrolled the key created in the sign process. I used the procedure described in:
https://ubuntu.com/blog/how-to-sign-...or-secure-boot
Again, you claim to be a kernel developer with 15 years experience; yet don't know such things??? Did you try putting something like, "how to create a signed bzimage" into Google ?? Or try to look up your error message??

http://www.kroah.com/log/blog/2013/0...-linux-kernel/
https://unix.stackexchange.com/quest...shim-signature

You *AGAIN* do not give any details, despite being asked many, MANY times. You don't say what you've done/tried so far to solve your problem either. Tried booting with secure boot off the first time?? And did you not ask this SAME QUESTION FOUR YEARS AGO????
https://askubuntu.com/questions/1187...non-efi-kernel

Last edited by TB0ne; 07-31-2023 at 08:21 AM.
 
1 members found this post helpful.
Old 08-01-2023, 12:41 PM   #3
zvivered
Member
 
Registered: Sep 2007
Posts: 294

Original Poster
Rep: Reputation: 23
Hi TBOne,

Thank you very much !

Best Regards,
Zvika
 
Old 08-01-2023, 05:56 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,720

Rep: Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973
Quote:
Originally Posted by zvivered View Post
Hi TBOne,

Thank you very much !
Again, you come back but don't bother posting your solution, or saying what worked for you. Was it something you got told four years ago, when you posted this same question?? Or was it something for another forum???
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] why my phpldapadmin there is no + sign only "?" that sign aryafedrik Linux - Newbie 2 11-07-2018 07:45 PM
Dell Ubuntu Netbook - $249. farslayer Linux - Laptop and Netbook 2 06-11-2009 03:27 PM
top command shows 249% usage pudhiyavan Linux - Server 7 02-27-2008 12:29 AM
sign on invisible in gaim - NOT invi after sign on saravkrish Linux - Software 7 09-12-2005 10:55 PM
MS linux only $249.99 Alinuxnoob General 6 04-06-2002 08:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 01:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration