Fedora Setup
Windows boot missing after installing linux
- Boot to windows 11 installation media
- Shift F10
| diskpart | |
| list disk | |
| list vol | |
| select vol X | select FAT32 linux boot partition |
| assign letter=S | |
| exit | |
| dir S:\EFI | verify |
| dir C:\Windows | verify |
| bcdboot C:\Windows /s S: /f UEFI | create boot files |
| dir S:\EFI | verify |
| sudo grub2-mkconfig -o /boot/grub2/grub.cfg | generate grub config file |
|
grep menuentry /boot/grub2/grub.cfg
|
verify (windows should be present) |
| sudo nano /etc/default/grub GRUB_TIMEOUT=10
GRUB_TIMEOUT_STYLE=menu
|
|
| sudo grub2-mkconfig -o /boot/grub2/grub.cfg |
regenerate grub config file |
| bootctl status |
verify |
|
sudo nano /etc/fstab
monty.nas:/mnt/storage/media /mnt/media nfs4 _netdev,nofail,x-systemd.automount 0 0 |
mount NFS shares persistently |
Youtube in VLC
|
grep -r codeready /etc/ |
confirm the name for the next command "codeready-builder-for-rhel-10-x86_64-rpms" |
|
subscription-manager repos --enable codeready-builder-for-rhel-10-x86_64-rpms |
enable codeready linux builder repository |
|
dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-10.noarch.rpm |
|
|
dnf install vlc -y |
try installing a package |
|
dnf install python3-pip -y |
install python |
|
python3 -m pip install --user yt-dlp |
install pip via python (not yet ported from EPEL 9) |
|
python3 -m yt_dlp https://www.youtube.com/watch?v=l7tjgm_6LLk |
download youtube video via yt-dlp |
|
python3 -m yt_dlp "https://www.youtube.com/watch?v=l7tjgm_6LLk" -o - | vlc - |
play via vlc |
|
sudo dnf install --nogpgcheck https://mirrors.rpmfusion.org/free/el/rpmfusion-free-release-$(rpm -E %rhel).noarch.rpm https://mirrors.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-$(rpm -E %rhel).noarch.rpm |
|
|
sudo dnf install -y --allowerasing ffmpeg ffmpeg-libs |
install ffmpeg |
Fedora AMDGPU driver and Mesa are built into the kernel
Multimedia codecs: rpmfusion.org/Howto/Multimedia?highlight=(\bCategoryHowto\b)
XFCE
| sudo nano /etc/X11/xorg.conf.d/99-tearfree.conf section "OutputClass" Identifier "AMD Graphics" MatchDriver "amdgpu" Driver "amdgpu" Option "TearFree" "true" Option "AsyncFlipSecondaries" "true" Option "VariableRefresh" "true" EndSection |
Enable vrr, adaptive sync, and disable tearing |
| xfconf-query -c xfwm4 -p /general/use_compositing -s false | Disable Mutter Compositor |
| Enable RPM Fusion | |
| sudo dnf upgrade --refresh | Update |
| sudo dnf install steam | |
| sudo dnf install gamemode | |
| sudo dnf install mangohud | |
Steam game launch option: |
|
| xrandr --props |
verify display settings adaptive sync tearing |
| sudo dnf groupupdate multimedia | install multimedia codecs |
| sudo dnf swap ffmpeg-free ffmpeg --allowerasing | swap Fedora's trimmed-down FFmpeg with the full version |
Disable display compositor via Window Manager Tweaks (may introduce input lag)
Enable Resizable BAR (SAM) On your motherboard BIOS:
Above 4G Decoding → Enabled
Re-Size BAR Support → Enabled