As an alternative to trying to figure out how to remove my dual-booted Windows from my system, would it be possible to backup the exact state of the system, re-install Bazzite as the only OS and then restore that backup? From my old, and sparse, linux knowledge, I know backing up my home directory would get my data. But, with these newfangled flatpaks and Brew installs (as well as appimages), I don’t know if those “apps”, their configurations and data would get backed up/restored that way. Heck, I’m not even sure that my home directory under Bazzite is the whole home directory.
Some remarks here:
Regarding brew and flatpak
You can create a ~/Brewfile by running brew bundle dump This takes care about quite some stuff, including brew stuff and flatpak installations.
Later on you can use the Brewfile to reinstall things.
Have a deeper look here: Homebrew Bundle, brew bundle and Brewfile — Homebrew Documentation
I should add that the user data of used flatpak apps is to be found in /.var/app
Checking Warehouse, it looks like all my flatpaks are in /var/home/[username]/.var/app. Other than those, I’ve used Homebrew to install java and I’ve got one appimage (WinBoat) that’s in /home/[username]/AppImages/. So, I’m thinking that I could back up all of /var/home and copy that all back after doing a re-install of Bazzite. Does that seem like it would work?
My first shot at the command to do that would be:
rsync -ahP --delete /var/home/ [location of removable drive]
But, since I don’t understand symlinks or hard links, I don’t know if I need any of the options for those:
–links, -l copy symlinks as symlinks
–copy-links, -L transform symlink into referent file/dir
–copy-unsafe-links only “unsafe” symlinks are transformed
–safe-links ignore symlinks that point outside the tree
–munge-links munge symlinks to make them safe & unusable
–copy-dirlinks, -k transform symlink to dir into referent dir
–keep-dirlinks, -K treat symlinked dir on receiver as dir
–hard-links, -H preserve hard links