|
|
|
|
|
by bean-weevil
542 days ago
|
|
> This was caused by installing Debian, then restoring a full backup from the old laptop, which didn't use EFI yet, over the root filesystem. This really isn't guaranteed to work. I'm surprised nothing else broke! This is why my laptop migration process looks something more like this: 1. Restore home directory 2. Restore /etc (taking care not to overwrite anything hardware-specific) 3. Install the same list of packages that were installed on old machine |
|
I'd add /opt to that list, where I install non-apt software .e.g. Jetbrains, Joplin, eclipse, ...
Some stuff under $HOME breaks even if it shouldn't. firefox got an upgrade from LTS to mozilla, and refused to pickup or even import its profile and passwords. libreoffice never got past the splash screen . The corporate VPN tool just completely broke for no apparant reason. Deleting and rewriting all their .config 'fixed' it. Also, .cache was not copied over.
I started maintaining an ansible script to manage my laptop, but that was more to learn ansible. Even so, it did well rebuilding /etc. I have a copy but don't seem to need it..
I look at utmp to book my work hours, so I had to guestimate failover day. A next upgrade will copy it too.
Renaming the home directory due to sssd broke a lot of paths that really should have been relative to ~. I made a symlink from my old home as lazy workaround.
All in all, I was back running fast, but mainly because everything was scripted or in a decent location. My days of perfectly tuning every nook and cranny are long past.