From da433facd949a2bc61683a525a845c9606bb8407 Mon Sep 17 00:00:00 2001 From: sharpenedblade Date: Fri, 24 Nov 2023 13:43:20 -0800 Subject: [PATCH 1/4] Update fedora instructions --- docs/distributions/fedora/faq.md | 14 +++++++++++++- docs/distributions/fedora/installation.md | 23 +++++++++++++---------- docs/roadmap.md | 2 +- 3 files changed, 27 insertions(+), 12 deletions(-) diff --git a/docs/distributions/fedora/faq.md b/docs/distributions/fedora/faq.md index 04f4b14e..399abd67 100644 --- a/docs/distributions/fedora/faq.md +++ b/docs/distributions/fedora/faq.md @@ -20,4 +20,16 @@ Download the latest ISO, then try again. Make sure you are using the T2 Fedora i # My Wi-Fi stops working after suspending -Try running `sudo modprobe -r brcmfmac && sudo modprobe brcmfmac` in a terminal. +Add this to `/etc/systemd/system-sleep/unload-wifi.sh`: + +```bash +#!/usr/bin/env bash +if [ "${1}" = "pre" ]; then + systemctl stop NetworkManager + modprobe -r brcmfmac_wcc + modprobe -r brcmfmac +elif [ "${1}" = "post" ]; then + modprobe brcmfmac + systemctl start NetworkManager +fi +``` diff --git a/docs/distributions/fedora/installation.md b/docs/distributions/fedora/installation.md index 450c263d..2f33643c 100644 --- a/docs/distributions/fedora/installation.md +++ b/docs/distributions/fedora/installation.md @@ -10,14 +10,17 @@ If you need a more updated kernel, use the iso from [sharpenedblade](https://git # Install Procedure -(These instructions are re-used from the Manjaro installation guide) - 1. Follow the [Pre-Install](https://wiki.t2linux.org/guides/preinstall) guide. -2. Once booted into Fedora, follow the [Wi-Fi guide](https://wiki.t2linux.org/guides/wifi-bluetooth/). -3. Use the installer like normal until you get to the partitioning step. -4. When you get to partitioning, click on the manual partitioning option. Find the partition you made before by following the pre-install guide. **MAKE SURE TO SELECT THE RIGHT PARTITION OR ELSE YOUR DATA WILL BE LOST**. Delete it to make free space. -5. Click on the automatically create mount points option. -6. Continue with the rest of the installation. -7. Once it's finished, you can reboot without your installation media. Hold down Option (⌥) while booting, then select EFI Boot and press enter. -8. Welcome to Fedora! :) -9. Once you're booted and in your desktop, set up [Wi-Fi](https://wiki.t2linux.org/guides/wifi-bluetooth/) to finish the installation. +2. Use the installer like normal until you get to the partitioning step. +3. Click on automatic partitioning, then click *create free space* +4. Delete the partition you created on macos. +5. Continue with the rest of the installation. +6. Once it's finished, you can reboot without your installation media. Hold down Option (⌥) while booting, then select EFI Boot and press enter. +7. Welcome to Fedora! :) +8. Once you're booted and in your desktop, set up [Wi-Fi](https://wiki.t2linux.org/guides/wifi-bluetooth/) to finish the installation. + +## Installing unsupported spins + +1. Follow the installation instructions above, but use your custom (vanilla) ISO. You need an external keyboard and mouse. +2. Add our DNF repo: `sudo dnf copr enable sharpenedblade/t2linux` +3. Install our packages: `sudo dnf install t2linux-config && sudo dnf upgrade kernel` diff --git a/docs/roadmap.md b/docs/roadmap.md index 230dbf0d..20582183 100644 --- a/docs/roadmap.md +++ b/docs/roadmap.md @@ -44,7 +44,7 @@ EndeavourOS is an Arch based Linux distribution with a graphical installer. This Ubuntu also has a graphical installer. Additionally, less post configuration work is required as some kernel modules are getting installed automatically. -Fedora also has a prebuilt ISO and a graphical installer. Most things work out of the box, though audio and WiFi generally need to be set up as in the guides below. Then they should work flawlessly. +Fedora also has a prebuilt ISO and a graphical installer. Most things work out of the box, but you need to follow the wifi guide. NixOS has both prebuilt graphical and command line installers. Support for T2 devices is provided in the form of a `nixos-hardware` module. Importing the module is the only thing you have to do to get your configuration working on your Mac. From 99c65839fc43a513940e9d2b066ef77c2c31b2db Mon Sep 17 00:00:00 2001 From: sharpenedblade Date: Sat, 16 Dec 2023 23:01:38 -0800 Subject: [PATCH 2/4] Add tiny-dfr instructions for fedora --- docs/guides/postinstall.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/guides/postinstall.md b/docs/guides/postinstall.md index e105c80c..eb37dccd 100644 --- a/docs/guides/postinstall.md +++ b/docs/guides/postinstall.md @@ -104,6 +104,11 @@ If you are using Arch Linux or EndeavourOS: 1. Install `tiny-dfr` by running `sudo pacman -Syu tiny-dfr`. 2. Restart your Mac. +If you are using Fedora: + + 1. Install tiny-dfr with `sudo dnf install rust-tiny-dfr`. + 2. Restart your mac + For other distros: - Compile [`tiny-dfr`](https://github.com/kekrby/tiny-dfr) yourself if your distro don't have that packaged yet. From de5295f768447f54123b8368c1dc555631125b1b Mon Sep 17 00:00:00 2001 From: sharpenedblade Date: Fri, 12 Jan 2024 22:15:36 -0800 Subject: [PATCH 3/4] Fix requested changes --- docs/distributions/fedora/installation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/distributions/fedora/installation.md b/docs/distributions/fedora/installation.md index 2f33643c..9805d3c1 100644 --- a/docs/distributions/fedora/installation.md +++ b/docs/distributions/fedora/installation.md @@ -13,7 +13,7 @@ If you need a more updated kernel, use the iso from [sharpenedblade](https://git 1. Follow the [Pre-Install](https://wiki.t2linux.org/guides/preinstall) guide. 2. Use the installer like normal until you get to the partitioning step. 3. Click on automatic partitioning, then click *create free space* -4. Delete the partition you created on macos. +4. Delete the partition you created using macos for linux. 5. Continue with the rest of the installation. 6. Once it's finished, you can reboot without your installation media. Hold down Option (⌥) while booting, then select EFI Boot and press enter. 7. Welcome to Fedora! :) From f56d13ccb66cbfd75b531adff4e12c8e4ae5219a Mon Sep 17 00:00:00 2001 From: Aditya Garg <85610623+AdityaGarg8@users.noreply.github.com> Date: Sat, 13 Jan 2024 11:47:23 +0530 Subject: [PATCH 4/4] Fix grammar --- docs/distributions/fedora/installation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/distributions/fedora/installation.md b/docs/distributions/fedora/installation.md index 9805d3c1..c836a2b6 100644 --- a/docs/distributions/fedora/installation.md +++ b/docs/distributions/fedora/installation.md @@ -13,7 +13,7 @@ If you need a more updated kernel, use the iso from [sharpenedblade](https://git 1. Follow the [Pre-Install](https://wiki.t2linux.org/guides/preinstall) guide. 2. Use the installer like normal until you get to the partitioning step. 3. Click on automatic partitioning, then click *create free space* -4. Delete the partition you created using macos for linux. +4. Delete the partition you created using macOS for Linux. 5. Continue with the rest of the installation. 6. Once it's finished, you can reboot without your installation media. Hold down Option (⌥) while booting, then select EFI Boot and press enter. 7. Welcome to Fedora! :)