Quote History Quoted:
I you have your Linux install in a separate partition then there shouldn't be any problems other than the bootloader (managing the bootloader is simple). If you install a new Windows OS and allow it to remove partitions and wipe the whole disk - don't choose that option.
I don't know if W10 is a clean install or an OS upgrade.
View Quote
That's not what I'm asking. I want to know how to back up my entire fedora installation and then restore it. Managing the bootloader SHOULD be simple, but it wasn't in my case. When I reinstalled grub it did not detect my fedora installation.. only the windows 7 was detected by the grub installer and os-prober.
mkdir /mnt/root
mount /dev/mapper/fedora_monolithnix-root /mnt/root
mount /dev/sda1 /mnt/root/boot/
mount -o bind /dev /mnt/root/dev
mount -o bind /proc /mnt/root/proc
mount -o bind /sys /mnt/root/sys
mount -o bind /run /mnt/root/run
chroot /mnt/root
grub2-install --no-floppy --recheck /dev/sda
grub2-mkconfig -o /boot/grub2/grub.cfg
exit
/sbin/shutdown -r now
[root@new-host-3 /] $ su -c 'grub2-mkconfig -o /boot/grub2/grub.cfg'
Generating grub configuration file ...
Found Windows 7 (loader) on /dev/sda1
done
[root@new-host-3 /] $ os-prober
/dev/sda1:Windows 7 (loader):Windows:chain
I didn't know what to do after that so I just backed up everything off my home folder and reinstalled just to get grub to work. That is simple enough, but I've already got this second install of fedora set up relatively like I want it to be and I don't want to have to re-download all of my packages and dependencies and all of the little tweaks I've done all over again.
I also tried repair-boot-disk (an live linux iso specifically for restoring the bootloader) which didn't work at all and told me to install the grub2 repository IN the fedora installation I was trying to fix.. which was impossible, since I couldn't boot into it.