Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update fedora instructions #476

Merged
merged 4 commits into from
Jan 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion docs/distributions/fedora/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
23 changes: 13 additions & 10 deletions docs/distributions/fedora/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 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! :)
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`
5 changes: 5 additions & 0 deletions docs/guides/postinstall.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion docs/roadmap.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Loading