Fedora 28 was released this month. Here are my notes from moving into a new install. I make periodic backups on some external hard drives, so for $BACKUPDIRECTORY$ I’m using the path to my backups on the externals. The $DRIVER KEY DIRECTORY$ refers to where I store the key that I made for my UEFI system to self-sign my virtual box drivers.
Notes are offered, questions may be answered.
use ‘mediawriter’ (install from repos first) to make a bootable USB
when installing, delete sda8 & sda9. These are the /boot/efi && luks-encrypted root partition (Note – I’m using a guided install but not separating my Home folder from the root drive like Fedora does. Your sda8/9 will vary.)
use the guided partioning, then delete /home, and delete the partition size of /. Apply, so that /home is stored in /
Reboot to fresh os
copy dotfiles back from backup drive
run move-in.sh
pop a terminal run this:
time cp -r $BACKUPDIRECTORY$/Documents/ . > /dev/null && time cp -r $BACKUPDIRECTORY$/Music/ . > /dev/null && time cp -r $BACKUPDIRECTORY$/Pictures/ . > /dev/null && time cp -r $BACKUPDIRECTORY$/Downloads/ . > /dev/null
pop a new terminal and run this:
su -c “dnf install -y cura youtube-dl chromium firefox thunderbird wget pulseaudio-equalizer hexchat vlc geany geany-plugins-* gimp yakuake keepassx ImageMagick optipng php && dnf groupinstall -y ‘Development Tools’ && dnf -y update”
With firefox & thunderbird installed:
cp -r $BACKUPDIRECTORY$/.mozilla/ . && cp -r $BACKUPDIRECTORY$/.thunderbird/ . && cp -r $BACKUPDIRECTORY$/.config/chromium/ ./config/
Now at least you can get firefox & thunderbird back up
With thunderbird, you’ll need to do “Repair Folder” on your inboxes/folders/etc
Fixing themes:
Window Borders: Adapta
Icons: Breeze-dark
Controls: Adwaita-dark
Desktop: Adara-Dark
Install Virtual Box:
su -c “dnf install VirtualBox system-config-users VirtualBox akmod-VirtualBox kmod-VirtualBox -y”
add user to groups vboxsf & vboxusers
reloadvbox in .bashrc
And copy over all your old VirtualBox stuff:
cp -r $BACKUPDIRECTORY$/VirtualBox\ VMs/ . && cp -r $BACKUPDIRECTORY$/.config/VirtualBox/ .config/
Sign the drivers with:
su
/usr/src/kernels/$(uname -r)/scripts/sign-file sha256 $DRIVER KEY DIRECTORY$/driversigningkey.priv $DRIVER KEY DIRECTORY$/driversigningkey.der $(modinfo -n vboxdrv)
/usr/src/kernels/$(uname -r)/scripts/sign-file sha256 $DRIVER KEY DIRECTORY$/driversigningkey.priv $DRIVER KEY DIRECTORY$/driversigningkey.der $(modinfo -n vboxpci)
/usr/src/kernels/$(uname -r)/scripts/sign-file sha256 $DRIVER KEY DIRECTORY$/driversigningkey.priv $DRIVER KEY DIRECTORY$/driversigningkey.der $(modinfo -n vboxsf)
/usr/src/kernels/$(uname -r)/scripts/sign-file sha256 $DRIVER KEY DIRECTORY$/driversigningkey.priv $DRIVER KEY DIRECTORY$/driversigningkey.der $(modinfo -n vboxnetflt)
/usr/src/kernels/$(uname -r)/scripts/sign-file sha256 $DRIVER KEY DIRECTORY$/driversigningkey.priv $DRIVER KEY DIRECTORY$/driversigningkey.der $(modinfo -n vboxnetadp)
systemctl restart systemd-modules-load.service
exit
Thanks to https://gist.github.com/gabrieljcs/68939c7eeadfabfdbc6b40100130270d
Cura preferences – Cura does not like restoring from the backup.
Install your printer software again, HP Deskjet 2600 is still not supported:
su -c “dnf install hplip-libs hplip”
system-config-printer
Add with the system-config-printer wizard
Change the page size – right click the printer, properties, Printer Options, Page size
Chirp
system-config-users
Add user to tty group
will have to reboot to take effect, or you can su – $(whoami) && chirpw to get around it temporary like
Good time to make a waypoint in your backups
mv $BACKUPDIRECTORY$/ $BACKUPDIRECTORY$/$(date +”%Y%M%d”)