Skip to content

Instantly share code, notes, and snippets.

@lizard-Szilard
Last active July 30, 2023 22:20
Show Gist options
  • Select an option

  • Save lizard-Szilard/633c2d3efa31102c492cecdae2bbe999 to your computer and use it in GitHub Desktop.

Select an option

Save lizard-Szilard/633c2d3efa31102c492cecdae2bbe999 to your computer and use it in GitHub Desktop.
Fedora 37 Nvidia + Secure Boot + Selinux + Zram

Fedora 37 Nvidia + Secure Boot + Selinux

This is not an article, but rather my personal notes.

If i don't know this https://www.linuxboot.org/ maybe i will not publish this.

$> hostnamectl 

   Static hostname: n/a                             
Transient hostname: fedora
         Icon name: computer-desktop
           Chassis: desktop 🖥️
        Machine ID: b9449c381f88444caed81bf89b23e7c8
           Boot ID: 06984ef11f364bbb82b865f2dc159655
  Operating System: Fedora Linux 37 (Xfce)          
       CPE OS Name: cpe:/o:fedoraproject:fedora:37
            Kernel: Linux 6.2.10-200.fc37.x86_64
      Architecture: x86-64
   Hardware Vendor: Gigabyte Technology Co., Ltd.
    Hardware Model: H110M-DS2
  Firmware Version: F27

Before proceeding, please read this article for background information on installing the NVIDIA driver on Fedora: https://rpmfusion.org/Howto/NVIDIA. Once you have reviewed the article, follow these instructions to install the driver with secure boot enabled:

At step 8, take note that you must follow the instructions provided and refer to the 'notes' section for information about your display manager. For additional resources on the script, you can check out this link: https://wiki.debian.org/NVIDIA%20Optimus.

> fastfetch 
             .',;::::;,'.                 kenta@fedora
         .';:cccccccccccc:;,.             ------------
      .;cccccccccccccccccccccc;.          OS: Fedora Linux 37 (Xfce) x86_64
    .:cccccccccccccccccccccccccc:.        Host: H110M-DS2
  .;ccccccccccccc;.:dddl:.;ccccccc;.      Kernel: 6.2.10-200.fc37.x86_64
 .:ccccccccccccc;OWMKOOXMWd;ccccccc:.     Uptime: 48 mins
.:ccccccccccccc;KMMc;cc;xMMc;ccccccc:.    Packages: 1816 (rpm)
,cccccccccccccc;MMM.;cc;;WW:;cccccccc,    Shell: bash 5.2.15
:cccccccccccccc;MMM.;cccccccccccccccc:    Display: 1920x1080 @ 60Hz
:ccccccc;oxOOOo;MMM000k.;cccccccccccc:    DE: Xfce4 4.16.1
cccccc;0MMKxdd:;MMMkddc.;cccccccccccc;    WM: Xfwm4 (X11)
ccccc;XMO';cccc;MMM.;cccccccccccccccc'    WM Theme: Kali-Purple-Dark
ccccc;MMo;ccccc;MMW.;ccccccccccccccc;     Theme: Kali-Dark [GTK2/3/4]
ccccc;0MNc.ccc.xMMd;ccccccccccccccc;      Icons: Adwaita+Flat-Remix-Blue [GTK2/3/4]
cccccc;dNMWXXXWM0:;cccccccccccccc:,       Font: Cantarell (11pt) [GTK2/3/4]
cccccccc;.:odl:.;cccccccccccccc:,.        Cursor: Adwaita
ccccccccccccccccccccccccccccc:'.          Terminal: xfce4-terminal 1.0.4
:ccccccccccccccccccccccc:;,..             Terminal Font: Fira Code Medium (12pt)
 ':cccccccccccccccc::;,.                  CPU: Intel(R) Core(TM) i5-6400 (4) @ 2.7 GHz
                                          GPU: NVIDIA GeForce GTX 970
                                          Memory: 2.88 GiB / 15.42 GiB (18%)
                                          Disk (/): 12.29 GiB / 110 GiB (11%)
                                          Locale: en_US.UTF-8

There are some problem produced by Selinux:

  • $ journalctl -t setroubleshoot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment