LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 11-07-2014, 10:44 PM   #76
jtsn
Member
 
Registered: Sep 2011
Posts: 922

Rep: Reputation: 480Reputation: 480Reputation: 480Reputation: 480Reputation: 480

Quote:
Originally Posted by gargamel View Post
Yes, seems so. In the meantime I was able to disable "secure boot", while leaving UEFI support untouched. However, with CSM disabled or set to "Auto" the system cannot boot from the DVD. Now I'd say that all pre-installation requirements are met, but still the Slackware installation DVD would not be booted in UEFI mode. I am running out of ideas...
So you can now put an unsigned EFI shell as \EFI\BOOT\BOOTX64.EFI onto an FAT USB drive and successfully boot it? If that works, you could launch your Slackware installation from there.
 
Old 11-08-2014, 07:55 AM   #77
AlleyTrotter
Member
 
Registered: Jun 2002
Location: Coal Township PA
Distribution: Slackware64-15.0
Posts: 783

Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
@AlleyTrotter. Thanks, but unfortunately I cannot do this. My UEFI firmware would allow me to start an EFI shell, if there was one installed in my EFI partition (or somewhere in a reachable partition). But as I am unable to boot my installation media in UEFI mode, the EFI partition never gets populated, and thus I have no EFI shell that I could invoke to follow the steps you recommend. Thanks, anyway!
[/QUOTE]

The 'Shellx64.efi' must be downloaded into to the root of your efi partition.
The shell has many commands which may help to understand your predicament.
After that there should be an option for it in UEFI screens which will allow you to boot the shell in UEFI mode.
John
 
1 members found this post helpful.
Old 11-08-2014, 08:53 AM   #78
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
I had problem with ASUS UEFI firmware too, it didn't see the HD EFI partition (ef00) after Slackware install.

Luckily, I did an USB boot key during install so I rebooted with the plugged key and it see the EFI software on the usb key, then it booted and I was able to add the HD EFI partition with efibootmgr. After that, no problem to boot with HD efi software

@gargamel Do you have an usb key?

Last edited by keefaz; 11-08-2014 at 08:54 AM.
 
Old 11-08-2014, 10:21 AM   #79
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, OpenSuSE
Posts: 1,839

Rep: Reputation: 242Reputation: 242Reputation: 242
Good news! Getting some sleep seemed to help.

I did:

Prepare a new USB installation medium
I used Rufus to transfer the Slackware64-14.1-install-dvd ISO image to the USB stick. The only settings in Rufus I changed were for the target file system, which I set to FAT32, and the source file, where I selected the ISO image. Everything else was left at default.

Prepare the computer: Set up UEFI, disable "Secure Boot", and power-off the system
Set up the UEFI firmware, so that UEFI is enabled, but "Secure Boot" is diabled. In the case of my ASUS firmware this requires only one modification, which is to "clear" the keys for "Secure Boot". This implicitly disables "Secure Boot", but the keys are still loaded. If you have a similar firmware, leave the OS setting at "Windows 8"; changing this to "Other OS" would disable UEFI. If you want to install and boot your Slackware system in "legacy/BIOS" mode, however, this would be just what you want, of course.
Not sure, if it is strictly necessary, but I decided not only to reboot, but to power-off and restart the machine "cold", in order to make sure that no keys or other traces of "Secure Boot" remain in the RAM.
BTW, with "Secure Boot" enabled, you will get a useful error message that some "unauthorized changes" have been recognised, when you try to boot your installation system from the USB stick. In that case just reboot and disable "Secure Boot". So if your installation medium is intact you have a chance to know, why UEFI boot doesn't work as expected.

Boot the installation system from your USB stick
Restart the machine, and if all goes well, you will be presented with a GRUB screen which allows you to select your installation system to boot with. This will bring you to the usual system prompt where you can log in as root, partition your hard disk(s) and run setup to begin your installation of Slackware on your machine.

So, BIG THANKS to you, guys: Dugan, Didier, Rob, jtsn, AlleyTrotter
Without your endless patience and readiness to delve into the nasty details of UEFI etc. I would never have managed to solve this --- you really saved my weekend!

gargamel

EDIT 9th November, 2014
P.S.: Later I ran into another small problem: The Slackware installer didn't "see" the USB stick as a proper DVD drive and could not use it as the source for Slackware packages. Of course, the easy fix was to insert the 'real' Slackware installation DVD and use that.
So the USB stick provided the installation system, and the packages were taken from the DVD.
I think it should normally work with just the USB stick, but I didn't have the nerves to do further research and tests on that.

Last edited by gargamel; 11-09-2014 at 08:56 AM.
 
Old 11-08-2014, 03:25 PM   #80
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Quote:
Originally Posted by gargamel View Post
In the case of my ASUS firmware this requires only one modification, which is to "clear" the keys for "Secure Boot". This implicitly disables "Secure Boot", but the keys are still loaded. If you have a similar firmware, leave the OS setting at "Windows 8"; changing this to "Other OS" would disable UEFI.
Just curious, what is your Asus motherboard?

In my Z87 plus, the Other OS settings let me boot in EFI mode
 
Old 11-08-2014, 05:54 PM   #81
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
On my ASUS board, "Other OS" still leaves "Secure Boot" enabled, and the "help" is pure gibberish. They apparently make no distinction between UEFI and Secure boot. It's a RIVE with bios 4804.

However, the way it's currently set I boot into Slackware just fine (apparently in UEFI mode, I run grubx64.efi) but can't boot an efi shell from the bios screen because a message pops up saying "Secure boot is enabled". ASUS is just plain weird.
 
Old 11-09-2014, 08:43 AM   #82
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, OpenSuSE
Posts: 1,839

Rep: Reputation: 242Reputation: 242Reputation: 242
Quote:
Originally Posted by keefaz View Post
Just curious, what is your Asus motherboard?

In my Z87 plus, the Other OS settings let me boot in EFI mode
B85M-G.

It seems they implement this stuff differently, which is weird, as standardising it would be more economically for them. #

For my B85M-G the following seems to be the case:

OS type
  • Choose Windows 8 for UEFI with or without Secure Boot
  • Choose Other OS for lecacy/BIOS mode

Keys
  • If loaded, Secure Boot is enabled
  • Clear to disable Secure Boot
When keys are cleared AND OS type is Windows 8, the system will try to boot in UEFI mode "insecurely".

Last edited by gargamel; 11-09-2014 at 08:50 AM.
 
Old 08-14-2015, 05:30 PM   #83
polaris96
Member
 
Registered: Jan 2015
Distribution: Slackware, LFS, OpenIndiana, debian wheezy
Posts: 55

Rep: Reputation: Disabled
This is really full of good stuff. Wish I had read it before I updated my MB, but, as I said, I was snoozing and completely missed the seriousuness of the BIOS/UEFI transition.

Sorry if I took any thunder, dugan. I meant my post to be more of a , "Hey everybody, check out rEFInd." plug. It just somehow morphed into a UEFI V BIOS thread.
 
  


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] Dual boot Windows 8 and ubuntu on UEFI system enrico_dvchp Ubuntu 3 02-18-2013 12:10 AM
Slackware on a former UEFI system garpu Slackware - Installation 2 11-23-2012 10:59 PM
[SOLVED] Need advice installing slackware to a GPT/UEFI system arubin Slackware 38 10-21-2012 11:31 AM
Help Creating UEFI A MENU For My Bootable (BIOS/UEFI) CDROM ssenuta Linux - Hardware 0 08-27-2012 09:11 PM
/ file system 81% from 50% over the weekend. AZDAVE Mandriva 6 05-12-2004 08:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:52 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