Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

efibootmgr issues

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
bammbamm808
Guru
Guru
User avatar
Posts: 558
Joined: Sun Dec 08, 2002 7:09 am
Location: Hawaii

efibootmgr issues

  • Quote

Post by bammbamm808 » Mon Jan 10, 2022 5:33 am

So, I have managed to populate my /sys/firmware/efi/efivars by flipping my bios' nx bit back on. I can now see the variables both from the min install environment, outside of chroot, and inside. I then
'modprobe efivarfs'
'mount -o rw,remount /sys/firmware/efi/efivars'
and efibootmanager will show me correctly what my uefi boot entries are. I seem to be having issues getting my changes to stick. In the past, I only had to perform the above steps, less modprobing the efivarfs module to make the changes I wanted to my boot list. I have seen a ton of different examples online, regarding the efivars or efivarfs modules, bind mounting the efivars before, after, or both relative to chroot and have tried a variety of different things. Something has changed since my last usage of efibootmanager and I'm fishing for some suggestions to try next. Thanks.
MSI MAG B550 Tomahawk
Ryzen 3900x
32Gb Samsung B-die (16GB dual rank x2) DDR4 @ 3200MHz, cl14
Geforce RTX 4070S 8GB
Samsung m.2 NVME pcie-3.0
Etc....
Top
acidrums4
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 148
Joined: Thu Feb 05, 2009 11:22 pm
Location: Al otro lado del monitor

  • Quote

Post by acidrums4 » Tue Jan 11, 2022 12:33 am

What command are you issuing exactly?

I had some efibootmgr issues recently, also it didn't lasted for the next login, until I added the -d parameter
Top
bammbamm808
Guru
Guru
User avatar
Posts: 558
Joined: Sun Dec 08, 2002 7:09 am
Location: Hawaii

  • Quote

Post by bammbamm808 » Tue Jan 11, 2022 2:26 am

acidrums4 wrote:What command are you issuing exactly?

I had some efibootmgr issues recently, also it didn't lasted for the next login, until I added the -d parameter
Because my root=/= /dev/sda, I always have to use the -d parameter. That wasn't my issue.

Have found a method that works for my bios, anyway:
I modprobe either 'efivars' or 'efivarfs' before the chroot. After remount my efivars rw, I can then add, and presumably delete entries. I cannot, however change order by doing

'efibootmgr -o'

I must first nuke the order with

'efibootmgr -O'

Only then can I set an order that persist through a reboot.

I'm to the point of kernel panics and other problems which I must sort out now, but it's progres..
MSI MAG B550 Tomahawk
Ryzen 3900x
32Gb Samsung B-die (16GB dual rank x2) DDR4 @ 3200MHz, cl14
Geforce RTX 4070S 8GB
Samsung m.2 NVME pcie-3.0
Etc....
Top
Post Reply

3 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic