Fedora 34 install Updated: 2021-0429 ========================================================================================================================= Below example uses the Fedora Live Workstation 64-bit ISO image. Install FedoraMediaWriter tool: Fedora Media Writer Use the FedoraMediaWriter tool to install Fedora Live Workstation to a spare external USB key drive. Other Notes: Another option to write an ISO image file to a USB stick drive (only needed if you do NOT use the FedoraMediaWriter tool): Rawrite Windows write iso image to USB flash drive. BIOS notes: Disable uefi USB boot in bios to ensure use legacy USB boot only from USB install. (otherwise, re-partitioning Linux partitions during install will error out.) Disable "Secure Boot" in BIOS, if dual booting Windows 10 and Fedora Assumptions: Secure Boot is disabled in BIOS You are booting Fedora from a USB key drive you created using the FedoraMediaWriter Your existing PC is a Dual Boot system setup as such: Example (was dual boot Windows 10 and Fedora 22): sda1 ntfs = Windows 10 boot device 194.87 GB sda2 ntfs = Windows 10 backup partition 450 MB sda3 ext4 = Linux /boot boot device 500 MB fedora-root ext4 = Linux root file system using LVM 38.35 GB fedora-swap swap = Linux swap file system using LVM 4.32 GB Reboot into bios and select boot from USB key drive to boot off your USB DVD Fedora image. KNOWN ISSUE: If Corsair Strafe RGB MX Silent keyboard does not function at login prompt after boot. TEMPORARY FIX: unplug both keyboard connections and then plug in and check again, and redo until it works. FIX: Connect "keyboard" marked keyboard cable ONLY from keyboard to computer USB 3.0 port (leave other usb cable unplugged). NOTE: Issue happens when connecting both Corsair Strafe RGB MX Silent keyboard usb cables to two USB 2.0 ports on Asus motherboard. KNOWN ISSUE: Monitor is not enabled to be used: Dell UltraSharp 3007WFP 30" Flat Panel Widescreen LCD 2560x1600 (dual link DVI) FIX: Unknown. Partial fix is use NVidia driver, but monitor is still limited to lower resolutions (choose a 16x10 resolution option). Click start live install Select "Install to Hard Drive" Select your language Select your "System" "Installation Destination" Example: Check the box that you want to free up space and remove old Linux partitions by selecting them to be deleted. Leave the ntfs Windows 10 file systems alone to persist. Select the automatic setup of Fedora. You should now have partitions setup something similar to the following: Example, dual boot Windows and Fedora: New Fedora Installation: / fedora-root 37.84 GB /boot sda3 1024 MB swap fedora-swap 4.32 GB Unknown ntfs sda1 Windows 10 boot 194.87 GB ntfs sda2 450 MB When Fedora is finished being installed, select power off option on top right power icon. When system is powered off, remove Fedora install boot USB key drive from your PC. Power the system back on and boot Fedora Login as your normal user Configure Fedora: ========================================================================================================================= Add "Terminal" in "Utilities" folder to Favorites (left Activities Favorites option) Settings - Set mouse speed to maximum Settings - Adjust monitor layout orientation if multimonitor Setup sudo wheel NOPASSWORD configuration, if desired: sudo vi /etc/sudoers Set hostname: sudo vi /etc/hostname Install all updates: -------------------- sudo su - dnf check-update dnf upgrade Set Windows to be default boot on a dual boot system (Windows 10 and Fedora) (See also: Grub 2) ----------------------------------------------------------------------------------------------- Find Windows menuentry: grep Windows /boot/grub2/grub.cfg or grep ^menuentry /boot/grub2/grub.cfg -- Note: Verify your Windows 10 is /dev/sda1 or change the /dev/sda1 entry below if it is some other partition. Set Windows to be default: Example (This assumes your Windows 10 is /dev/sda1): echo "if [ -f /etc/grub.d/30_os-prober ] ; then" > /root/grub2fix echo " mv /etc/grub.d/30_os-prober /etc/grub.d/05_os-prober" >> /root/grub2fix echo "fi" >> /root/grub2fix echo "grub2-mkconfig -o /boot/grub2/grub.cfg" >> /root/grub2fix echo 'grub2-set-default "Windows 10 (on /dev/sda1)"' >> /root/grub2fix chmod 744 /root/grub2fix Now run /root/grub2fix after each kernel update: ./grub2fix Reboot to test Windows boot: ---------------------------- reboot NVidia Driver - Option 2 - Option 3 Example: GeForce GeForce 900 Series GeForce GTX 980 Linux 64-bit English (US) All Search NVidia Driver install for Fedora 32 - I chose "Install Nvidia Driver manually" (Alternate NVidia driver manual install: Fedora 32/31/30 nVidia Drivers Install Guide by "If Not True Then False") -- lspci -vnn | grep VGA Download NVidia driver: NVidia Driver - Option 2 - Option 3 Install prerequisites: dnf groupinstall "Development Tools" dnf install libglvnd-devel Disable nouveau driver: grub2-editenv - set "$(grub2-editenv - list | grep kernelopts) nouveau.modeset=0" reboot Switch to text mode: systemctl isolate multi-user.target Run installer: bash NVIDIA-Linux-x86_64-* Yes for 32-bit compatibility, yes to update X config reboot Change settings: nvidia-settings TODO: ========================================================================================================================= Download Fedora Workstation x86_64 DVD ISO image (64-bit): https://getfedora.org/en/workstation/download/ - (General download page: https://getfedora.org/) Verify your downloaded ISO image file: Verify (Install options include: Workstation or Server or Network Install (or 32-bit version for older computers) or PXE network install) Add /data file system to /etc/fstab, mkdir /data, and mount /data ----------------------------------------------------------------- Example: Get UUID of 750GB file systems: ls -l /dev/disk/by-uuid Add file system to /etc/fstab to be mounted on boot: vi /etc/fstab UUID=3b13011-2343-2323-2323-123414141 /data ntfs-3g defaults 0 0 mkdir /data mount /data Enable default /etc/hosts file. ------------------------------- cp /etc/hosts /root cp /data/backup/hosts/hosts /etc Terminal: --------- Applications - System Tools - Terminal Edit - Profile Preferences - Scrolling - UnCheck "Limit scrollback to: 8192" - Close Default view for File Browser: ------------------------------ Run Files file manager application With Files selected as the active window, at top of screen, right click on Files and select Preferences View new folders using: List View Check Sort folders before files Check Show hidden and backup files List Columns - check Group,Owner,Permissions and Move Up to after Size Script for install and configuration of "default" additional applications: -------------------------------------------------------------------------- defaults-host-f22 Application changes: ------------------------------------------------------------------------------------------------------------------------- Set GNOME MPlayer to be default video player Audacious: Right click an mp3 file in File Browser and select Properties - Open With - Audacious - Close Double click an mp3 file in the File Browser to play it with Audacious To add right-click "Add to Audacious playlist" mp3 files option to File Browser: # yum install nautilus-actions yum install https://kojipkgs.fedoraproject.org//packages/nautilus-actions/3.2.4/1.fc21/x86_64/nautilus-actions-3.2.4-1.fc21.x86_64.rpm Click Show Applications - Nautilus Actions Configuration-Tool Click File - New action Context label : Add to Audacious playlist Tooltip: Add to Audacious playlist Icon: Applications - Audacious (or Icons by path - /usr/share/audacious/images/audacious.png) - Apply - OK Command: Label : Add to Audacious playlist Path: /usr/bin/audacious Parameters: -e %F Click File - Save Click File - Quit Logout as the current user and relogin to have the change take affect ------------------------------------------------------------------------------------------------------------------------- ------------------------------------------------------------------------------------------------------------------------- Notes: firewalld replaces iptables. See also https://fedoraproject.org/wiki/FirewallD?rd=FirewallD/ Optional: ------------------------------------------------------------------------------------------------------------------------- Dell laptop fan heat control: See linux_i8k.txt /etc/fstab: UUID=(UUID here) /cdrive ntfs-3g defaults 0 0 ln -s /cdrive/data /data cd /data ln -s /data/jeff/docs/scripts/lrsync-i7-4790k-to-p1 Static IP address: Configure static IP address networking. SSHD service: Enable remote ssh in to system: systemctl enable sshd.service systemctl start sshd.service Enable Logout option ALWAYS in Fedora 18: Install dconf-editor yum install dconf-editor Run dconf-editor from Show Applications Navigate to org - gnome - shell Check the "always-show-log-out" option and then close dconf-editor A reboot is required for option to activate Show timezone data: timedatectl status Alternate Method: On a dual boot system (Windows 7 and Fedora), setup Windows to boot first: ----- create new /etc/grub.d file containing the specific menu for Windows cd /etc/grub.d cp 40_custom 07_windows cat /boot/grub2/grub.cfg (copy Windows 7 section to 07_windows) vi 07_windows cat /boot/grub2/grubenv grub2-set-default 0 cd echo "chmod -x /etc/grub.d/30_os-prober" > /root/grub2fix echo "grub2-mkconfig -o /boot/grub2/grub.cfg" >> /root/grub2fix chmod 744 /root/grub2fix ./grub2fix ----- Example2 (old, doesn't seem to work on Fedora 21): echo "grub2-mkconfig -o /boot/grub2/grub.cfg" > /root/grub2fix echo 'grub2-set-default "Windows 7 (loader) (on /dev/sda1)"' >> /root/grub2fix chmod 744 /root/grub2fix ./grub2fix Troubleshooting: ------------------------------------------------------------------------------------------------------------------------- NVidia or other video card issues during boot: If you boot from USB image, then you click "Start Fedora-Workstation-Live", and then your screen appears to eventually shutoff and your system appears to freeze: Reboot your system, but this time at the Fedora boot options, choose "Troubleshooting" option and then "Start Fedora-Workstation-Live in basic graphics mode" Out of date, not needed anymore? ------------------------------------------------------------------------------------------------------------------------- If you get to grub menu, but then after that the display seems to have no signal from PC, then you may have to add the "nomodeset" to the boot options. (This is common with modern Nvidia graphics card). Just boot again to grub menu, press "e" to edit, then add "nomodeset" to end of line with "quiet" on same line.) More info about nomodeset here: http://ubuntuforums.org/showthread.php?t=1613132 http://askubuntu.com/questions/697389/blank-screen-ubuntu-15-04-update-with-nvidia-driver-nomodeset-does-not-work nomodeset options: https://wiki.archlinux.org/index.php/kernel_mode_setting disable KMS add nomodeset as a kernel parameter. Intel graphics card you need to add i915.modeset=0 Nvidia graphics card you need to add nouveau.modeset=0 lspci -k | grep -EA2 'VGA|3D' At Fedora boot menu, select "Start Fedora-Workstation-Live" to attempt to boot Fedora live image for installation. If everything looks good, click "Done" on top left then verify the changes look correct and "Accept Changes" At this point, my "Installation Destination" showed an error. I did the following to fix this: Click on "Installation Destination" again Select your boot disk again, and make sure it is check marked, if not, click on it again. Select Custom partition and verify your partitioning is setup correctly again. If everything looks good, click "Done" on top left then verify the changes look correct and "Accept Changes" Setup your root password on the top left option Setup your own user account login on top right option and check administrator option. When installation finishes, click "Quit" on bottom right. Verify Windows 10 boots. If OK, then reboot and try to boot Fedora. Verify Fedora boots If dual booting Windows, then you will want to turn off "System clock uses UTC" by running this as root: system-config-date Then click on "Time Zone" and then: Uncheck "System clock uses UTC" and click "OK" if you dual boot both Linux and Windows. Check "System clock uses UTC" if you are only booting Linux. New, now to show timezone data: timedatectl status