Skip to content

Sonnet 4.5 Fedora Repair Plan: Manual Recovery Steps from Live USB #1

Description

@core-e

Sonnet 4.5 Fedora Repair Plan

Overview

A step-by-step guide for manually repairing a broken Fedora installation using the Fedora Live USB terminal. This recovers GRUB and boot files without reformatting /home or the root partition.


Step 1: Identify Your Drives

Run:

lsblk -f

Find your 990 Pro (usually /dev/nvme0n1 or /dev/nvme1n1). Note the partition numbers for EFI, boot, root, and home.


Step 2: Mount Fedora Installation

sudo mkdir -p /mnt/fedora/boot /mnt/fedora/boot/efi /mnt/fedora/home
sudo mount /dev/nvme0n1p4 /mnt/fedora   # Fedora root
sudo mount /dev/nvme0n1p2 /mnt/fedora/boot
sudo mount /dev/nvme0n1p1 /mnt/fedora/boot/efi
sudo mount /dev/nvme0n1p3 /mnt/fedora/home

Replace device names if needed (use lsblk -f to confirm).


Step 3: Check Fedora System

ls -la /mnt/fedora/etc/
ls -la /mnt/fedora/usr/
ls -la /mnt/fedora/home/

Make sure directories exist. If yes, Fedora install is intact.


Step 4: Chroot into Fedora

sudo mount --bind /dev /mnt/fedora/dev
sudo mount --bind /proc /mnt/fedora/proc
sudo mount --bind /sys /mnt/fedora/sys
sudo mount --bind /run /mnt/fedora/run
sudo chroot /mnt/fedora

Step 5: Reinstall GRUB & Kernel

grub2-install /dev/nvme0n1        # Or /dev/nvme1n1
grub2-mkconfig -o /boot/grub2/grub.cfg
dnf reinstall kernel -y
dracut --regenerate-all --force

Step 6: Fix fstab

blkid   # Get correct UUIDs
nano /etc/fstab

Update fstab entries for /, /boot, /boot/efi, and /home using actual UUIDs.


Step 7: Exit & Unmount

exit
sudo umount /mnt/fedora/run
sudo umount /mnt/fedora/sys
sudo umount /mnt/fedora/proc
sudo umount /mnt/fedora/dev
sudo umount /mnt/fedora/boot/efi
sudo umount /mnt/fedora/boot
sudo umount /mnt/fedora/home
sudo umount /mnt/fedora
sudo reboot

Step 8: Boot & Verify

  • Remove USB.
  • Boot into Fedora from GRUB.
  • Check files, run lsblk, verify /home and system files are present.

Step 9: Troubleshooting

  • If mounting fails, verify device names and run fsck.
  • If GRUB or kernel commands fail, use alternate commands (grub-install, grub-mkconfig).

This plan preserves all data on /home and existing Fedora system files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions