bedHedd’s descent into fedora upgrade hell

I can post my personal notes I wrote down for myself back when I had to scour the old fedora forums before they were purged.

Otherwise the current fedora documentation is extensive.

To put it simply: just install fedora to a spare flash drive
(we’ll call this slave drive for its purposes) with the regular fedora installer using the manual partitioning option. Then you want to manually partition your target drive you want Fedora on, exactly like you partitioned your slave drive using the command line or gparted. Either works fine.

Then you want to create mount points (directories) on the live session for the /root on both the target drive and slave drive, then mount them at each mount point.

From here you can rsync between both mounted partitions. Obviously you want to rsync the slave drive root partition you mounted earlier to the target drive root. Rinse and repeat for the /boot partition (important to copy over when upgrading whole distro), and /home if you need it.

Unmount each partition when finished, then lastly you want to chroot in to your target drive and change the /etc/fstab and /etc/crypttab (if you used encryption) as well as update grub with the UUID of your EFI partition on your target drive if you copied over the new /boot partition from the slave drive, at /boot/efi/EFI/Fedora/grub.cfg (per fedora documentation).

When finished you want to rebuild the grub.cfg using a command I can’t remember off the top of my head right now before exiting chroot (if you exit chroot by accident its no big deal you can just chroot back in without having to remount everything)

chroot doesn’t unmount partitions on fedora properly at this point so just systemctl reboot and let the system unmount everything.

At that point your system should boot up if you set the proper fstab, crypttab and grub.cfg uuid’s and and rebuilt the grub.cfg at /boot/efi/EFI/Fedora/grub.cfg while chrooted in the target drive.

For your purposes you may already have the partition on your target drive so you can just use gparted to wipe it or mkfs.x [mount point] (x is your filesystem) to wipe the partition on your target drive before you rsync the slave drive contents.