LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 09-03-2013, 01:34 PM   #1
AlleyTrotter
Member
 
Registered: Jun 2002
Location: Coal Township PA
Distribution: Slackware64-14.1 (3.14.0) UEFI enabled
Posts: 344

Rep: Reputation: 71
Noteworthy For dual booters on UEFI


To those who still dual boot windows this may be of use. It describes setting up a secure boot kernel.
http://www.linuxfoundation.org/news-...d-linux-kernel

Hope this is of help to some.
John
 
Old 09-03-2013, 02:22 PM   #2
edorig
Member
 
Registered: Apr 2013
Location: France
Distribution: Slackware; Scientific Linux
Posts: 105

Rep: Reputation: Disabled
I have seen that post. But the author writes:
Quote:
As no bootloader is going to be involved in the boot process, you need
to ensure that the kernel knows where the root partition is, what init
is going to be run, and anything else that the bootloader normally
passes to the kernel image.
So it is only a post-install process, where one compiles a specially tailored kernel
to allow Secure Boot in Linux.It also requires to have a boot partition in FAT mode
to store the kernel.
 
Old 09-03-2013, 02:56 PM   #3
AlleyTrotter
Member
 
Registered: Jun 2002
Location: Coal Township PA
Distribution: Slackware64-14.1 (3.14.0) UEFI enabled
Posts: 344

Original Poster
Rep: Reputation: 71
That is correct it describes how to create a secure boot kernel which can be used to dual boot with Windows without disabling secure boot. To UEFI boot you must have a EFI partition with a fat filesystem no matter the OS used.
If its no help to you it may be help to others.
No bootloader is needed because the kernel acts as its own bootloader.
Personally I haven't used windows in quite some time, however I do use UEFI boot with slackware.
John
 
1 members found this post helpful.
Old 09-06-2013, 05:51 AM   #4
xj25vm
Member
 
Registered: Jun 2008
Posts: 261

Rep: Reputation: 16
Last time I tried EFI stub booting with Linux kernel it was just freezing on a completely blank screen after handing over control to the kernel. I really hope they have improved a bit on the verbosity of the kernel when things go wrong - at the time I had nothing to go on to troubleshoot further.
 
Old 09-06-2013, 02:47 PM   #5
AlleyTrotter
Member
 
Registered: Jun 2002
Location: Coal Township PA
Distribution: Slackware64-14.1 (3.14.0) UEFI enabled
Posts: 344

Original Poster
Rep: Reputation: 71
When kernel stub booting you must do 1 of 2 things
1. Configure your kernel with a built-in command line defining /'s location
CONFIG_CMDLINE_BOOL=y and CONFIG_CMDLINE= "your root location"
2. boot from the efi shell and tell the stub kernel where / is
The second way seems easier to me
John
 
1 members found this post helpful.
Old 09-06-2013, 04:06 PM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 11,820

Rep: Reputation: 924Reputation: 924Reputation: 924Reputation: 924Reputation: 924Reputation: 924Reputation: 924Reputation: 924
A while back when the retailers were (effectively) tossing out SSD Win7 ultra-books so they could screw people over for Win8 units, I grabbed a couple of the Win7. Good units, cheap, and avoided all the (initial) grief of safe boot for us Linux users.

Figured I could then wait until it all got sorted out before having to worry about it. Hopefully that is starting to happen.
 
Old 09-06-2013, 04:46 PM   #7
AlleyTrotter
Member
 
Registered: Jun 2002
Location: Coal Township PA
Distribution: Slackware64-14.1 (3.14.0) UEFI enabled
Posts: 344

Original Poster
Rep: Reputation: 71
Yes we are seeing some progress in UEFI boot.
I have been doing it for nearly a year now and am very confident in my methods. I would try to write a how-to, but my mastery of written communication is to be blunt HORRIBLE!
I have given advice which was interpreted exactly the opposite of what I wanted to say more often than I wish to admit.
John
 
Old 09-07-2013, 03:05 AM   #8
xj25vm
Member
 
Registered: Jun 2008
Posts: 261

Rep: Reputation: 16
Quote:
Originally Posted by AlleyTrotter View Post
I would try to write a how-to, but my mastery of written communication is to be blunt HORRIBLE!
Hmm - judging by your post, there isn't much evidence of that :-)
 
Old 09-08-2013, 10:48 AM   #9
jtsn
Member
 
Registered: Sep 2011
Location: Europe
Distribution: Slackware
Posts: 695

Rep: Reputation: 277Reputation: 277Reputation: 277
Quote:
Originally Posted by AlleyTrotter View Post
To those who still dual boot windows this may be of use. It describes setting up a secure boot kernel.
http://www.linuxfoundation.org/news-...d-linux-kernel
These instructions don't mention dual-boot at all. Actually by removing all keys as described, you may not be able to boot Windows again.
 
Old 09-08-2013, 05:34 PM   #10
AlleyTrotter
Member
 
Registered: Jun 2002
Location: Coal Township PA
Distribution: Slackware64-14.1 (3.14.0) UEFI enabled
Posts: 344

Original Poster
Rep: Reputation: 71
Well like I said I don't boot windows. I thought the post would help someone who wanted to create keys to secure boot alongside windows. I believe the software used can not just erase a secure boot key but can also add a new one to secure boot linux along with windows.
I realize the GH is not going to give instructions to dual boot, but it seems to me that one could use the given explanation with some simple modifications to create a windows/linux secure boot option in the efi partition.
Sorry if you don't see it that way, my bad
John

Last edited by AlleyTrotter; 09-08-2013 at 05:35 PM.
 
1 members found this post helpful.
Old 09-20-2013, 08:40 AM   #11
dr.s
Member
 
Registered: Feb 2010
Distribution: Slackware64
Posts: 126

Rep: Reputation: 19
Quote:
Originally Posted by AlleyTrotter View Post
That is correct it describes how to create a secure boot kernel which can be used to dual boot with Windows without disabling secure boot. To UEFI boot you must have a EFI partition with a fat filesystem no matter the OS used.
If its no help to you it may be help to others.
No bootloader is needed because the kernel acts as its own bootloader.
Personally I haven't used windows in quite some time, however I do use UEFI boot with slackware.
John
Thanks for the link, I tried this on a new laptop here (didn't want to remove the ugly windows 8 yet) and managed to dual boot, I didn't bother messing with the keys and the secure part though.
 
Old 09-20-2013, 10:32 AM   #12
Skaperen
Senior Member
 
Registered: May 2009
Location: WV, USA
Distribution: Slackware, CentOS, Ubuntu, Fedora, Timesys, Linux From Scratch
Posts: 1,777
Blog Entries: 20

Rep: Reputation: 115Reputation: 115
Last time I bought a computer with Windows on it, I took the hard drive out first, and made a raw image copy of it using another computer (unfortunately too many people do not have "another computer" or the skills/knowledge to do all this stuff). That way, I could later restore the exact image that was on there and claim I never agreed to any EULA. But I could also erase that disk (and did) so Windows was never in the way of making things work, and yet still be able to put Windows back if I needed to.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual Booters out there -- What do you still run on Windows 1kyle General 879 12-27-2009 05:54 PM
Question for dual booters psyklops Linux - General 7 10-10-2009 09:09 AM
Excellent Reference For Those Dual Booters Infatuas Linux - Software 1 10-28-2006 12:35 AM
Dual-booters: What's a decent partition size for RH Pcghost Linux - General 5 06-28-2006 08:15 PM
M8 + win98 dual booters, I feel your pain! frazz Linux - Software 4 09-06-2001 03:07 PM


All times are GMT -5. The time now is 08:48 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration