In July 2019, Buster became the stable release of Debian and the Bullseye became de facto the new testing distribution. After spending almost 2 years on Buster, I decided last week that it was time to migrate to Bullseye.
Backing up
I frequently backup my files (so far with a simple bash function that copies
them to my external hard drive). Plus, I also have a repository,
dotfiles, where I stored my configuration
files (the ones I can share). Before the migration, I created a separate backup
with my regular files and as many configuration files as possible (for instance
I backed up my .local
folder). For this migration, I was eager to learn how to
backup my GNOME keybindings as well as the GNOME terminal profiles I used.
Turned out I only needed one command: dconf
see this page on
developer.gnome.org
that I used as follows:
|
|
Note that in order to restore my keybindings and my profile, I need to call
load
instead of dump
, like so:
|
|
Creating a bootable USB stick
After I ensured that all I needed was safely stored in a external drive, I created a bootable USB stick. I first downloaded the last Debian testing image and as I opted for .iso image I unmounted the stick and copied this image to the stick (as explained on the official website):
|
|
Then I rebooted my machine and pressed F12 on startup (I own a Lenovo ThinkPad T470p) to display the list of devices and access the installation disk and I went through all the steps to complete the installation of Bullseye (which is relatively quick).
Setting up the set of software I frequently use
Once Debian Buster was installed, I first edited /etc/apt/sources.list
in super user mode (su
):
|
|
Then I went thought the following steps to install all the software I needed and then I copied my files.
Current system
Below is a description of my current system, i.e. what was installed during the process described above.
|
|