LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 10-25-2016, 06:10 AM   #16
laprjns
Member
 
Registered: Oct 2005
Location: Connecticut USA
Distribution: SalixOS
Posts: 206

Rep: Reputation: 108Reputation: 108

Did you select the boot loader file, refind_x64.efi.
/boot/efi/EFI/refind/refind_x64.efi or /boot/EFI/refind/refind_x64.efi depending on where your ESP is mounted.
 
Old 10-25-2016, 06:11 AM   #17
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,065

Original Poster
Rep: Reputation: 146Reputation: 146
Quote:
Originally Posted by laprjns View Post
Did you select the boot loader file, refind_x64.efi.
/boot/efi/EFI/refind/refind_x64.efi or /boot/EFI/refind/refind_x64.efi depending on where your ESP is mounted.
I said I selected the file. It's copied to /boot/efi/EFI/BOOT/bootx64.efi . That was necessary to complete rEFInd's installation. Clearly, after that, naming it, selecting ‘add,’ Guefi didn't add it... nor did it have any of the 16 other (duplicate) entries except Slackware ( /boot/efi/EFI/Slackware/elilo.efi .) I also have /boot/efi/EFI/FreeBSD/boot1.efi

Last edited by dchmelik; 10-25-2016 at 06:16 AM.
 
Old 10-25-2016, 06:16 AM   #18
laprjns
Member
 
Registered: Oct 2005
Location: Connecticut USA
Distribution: SalixOS
Posts: 206

Rep: Reputation: 108Reputation: 108
when adding a boot menu entry, you need to point to the boot loader found in the refind directory, not the Boot directory

here's what mine looks like

rich[Downloads]$ tree -L 2 /boot/efi
Code:
/boot/efi
├── EFI
│** ├── Boot
│** ├── Microsoft
│** ├── Salix
│** ├── Salix-Xfce-14.2
│** ├── Slackware
│** ├── refind
│** └── tools
Each one of the directories under EFI/ has a boot loader. A boot entry for each needs to point to the boot loader in the director of the OS your ar trying to load.

Last edited by laprjns; 10-25-2016 at 06:21 AM.
 
Old 10-25-2016, 06:25 AM   #19
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,065

Original Poster
Rep: Reputation: 146Reputation: 146
Quote:
Originally Posted by laprjns View Post
when adding a boot menu entry, you need to point to the boot loader found in the refind directory, not the Boot directory
The directory is there; I just don't use it, and don't have an .efi in it. When I installed it, it said it wasn't successful and you may need to copy or move it to EFI/BOOT/bootx64.efi (already said I did this) which worked. It's clear I have stuff in the EFI partition and got rEFInd to work for Slackware and FreeBSD; details of where rEFInd and those are (though I also already stated their .efis) or what my own tree is like, has nothing to do with why efibootmgr isn't doing more detailed output or why guefi doesn't list my other entries and can't add any. The problem isn't that I was trying to add bootx64.efi; Guefi also won't add the FreeBSD .efi--only Slackware's ELILO one.

If you want to know, here's my tree; just ignore ‘refind;’ it really is only in BOOT. I moved it instead of copying it, because after having it in two places, that looked like it was causing the duplicate boot entries to keep being added until I had 20+. It hadn't necessarily happened the first time I only kept one rEFInd .efi on there, though it did happen this time. I had to zero /dev/sda each time, not just the EFI partition, before I could get rid of the increasing list, start over, and try to prevent that.

Code:
root@cosmos:~# tree -L 2 /boot/efi
/boot/efi
`-- EFI
    |-- BOOT
    |-- FreeBSD
    |-- Slackware
    |-- refind
    `-- tools
Probably none of this will be fixed until programmers find out what is going on with Gigabyte's buggy recent BIOSs, like for this GA-Z170XP-SLI.

Last edited by dchmelik; 10-25-2016 at 06:42 AM.
 
Old 10-26-2016, 05:08 AM   #20
laprjns
Member
 
Registered: Oct 2005
Location: Connecticut USA
Distribution: SalixOS
Posts: 206

Rep: Reputation: 108Reputation: 108
My apologies, I was in a rush yesterday and indeed did not completely read your posts. I had some time to go through all your post and did some googling on Gigabyte uefi firmware and now understand your problem with the buggy firmware. guefi, being a graphical front end to efibootmgr will not work if efibootmgr doesn't work itself. The only thing i can suggest now if there is a way to get refind to boot, then you should be able to multiboot from there assuming that all the os directories are setup on the ESP partition correctly. refind detects boot loaders on its own and does not depend on the boot entries in the EFi firmware NVRAM, so you don't really need to add boot entries to the uefi NVRAM.

Last edited by laprjns; 10-26-2016 at 05:22 AM.
 
Old 09-06-2017, 09:56 PM   #21
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,065

Original Poster
Rep: Reputation: 146Reputation: 146
I ended up reporting the bug to Gigabyte, sometime after which someone said I could upgrade my BIOS, but not whether this is actually fixed well or at all.

I could retry now, but will be retrying with NetBSD and Slackware, but have to wait until NetBSD supports skylake GPU.
 
Old 09-06-2017, 10:24 PM   #22
RadicalDreamer
Senior Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 1,816

Rep: Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981
You have to install rEFInd if you haven't. cd /usr/share/refind* ./refind-install
 
1 members found this post helpful.
  


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] Slackware 14.2 , UEFI, Dual Booting swider Slackware 11 11-27-2017 08:11 AM
Dual Booting Problem with UEFI disabled, Legacy enabled LasVegasUser Linux - Newbie 11 05-28-2017 09:32 PM
Dual Boot Slackware 13 with FreeBSD, but Issue Dual Booting PC-BSD Photon Blizzard *BSD 2 11-09-2009 11:55 AM
Dual Boot Slackware 13 with FreeBSD, but Issue Dual Booting PC-BSD Photon Blizzard Linux - Newbie 1 10-22-2009 10:07 PM
Help with dual booting PC-BSD, and Debian Crushing Belial *BSD 13 12-03-2005 01:31 PM

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

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