- install Debian 11 with xfce4 desktop
sudo ./install.sh
sudo ./configure.sh
The following resources are a great starting point for installing Debian for the first time
- Laptop: Gigabyte Aero 15 (2017)
- Distro: Debian 11 Bullseye
- Desktop: xfce4
Mostly follow Average Linux User's guide to installation
- Go into the BIOS menu (reboot and spam F2)
- Go to the Security Tab and Deactivate SecureBoot
- 30GB root
- 16GB swap
- the rest is for home
This makes it easy to reinstall Linux. You can easily figure out what is root and what is home, since home has all the space. The main drawback is that you may run out of space to install programs in the root file system and will have to install in home, but this seems to be fairly common practice anyway. To reformat:
- double click each partition
- Use as: Ext4 journaling file system
- Mount point: / or home
- Currently, Debian 11 seems to work out of the box
- In the past, installing xfce4 along with the operating system would break on Aero 15. You can try installing just the standard system utilities and then install desktop later
sudo ./install.sh
- includes contrib and non-free to
/etc/apt/sources.list
- update and upgrades existing software
- adds 32-bit architecture
- install linux headers
- install firmware drivers and intel microcode firmware
- install xfce4 desktop, if not already installed
sudo ./configure.sh
Configures xfce, network manager, firewall, grub2, and mousepad.
nouveau drivers appear to work well, for the time being. Battery life is approximately 10 hours, and suspending appears to work.
I tried to use bbswitch to turn off the graphics card, but this no longer appears stable. You can turn the graphics card off with bbswitch, but when you try to turn it on again, the kernel throws an error: can't change power state from D3cold to D0 (config space inaccessible)
.
Installing nvidia drivers no longer completely breaks the installation. The nvidia driver did not always load after restarting. May be worth revisiting.
If neither the nouveau drivers nor the nvidia drivers work, the best way to improve your battery life is to turn off the graphics card. This is done by installing bbswitch or bumblebee. I wasn't able to get bumblebee to work consistently, so I prefer to just use bbswitch and configure it by hand.
To have bbswitch run automatically on boot, you need to create three files
/etc/modprobe.d/nouveau_blacklist.conf
/etc/modprobe.d/bbswitch.conf
/etc/modules-load.d/bbswitch.conf
See the source code for details. Do not create /etc/modules
.
If you are presented with a black screen after screensaver, suspending, or hibernating,
try TTY7 (Ctrl+Alt+F7) and then TTY8 (Ctrl+Alt+F8).
This issue has been documented before.
Some places suggest editing /usr/bin/xflock4
.
In the past, hibernate seems to work more reliably than suspend. Suspend will sometimes freeze system. This issue has also been documented before.
As long as you don't reformat home, all preferences should be preserved. backup.sh will backup key configuration files in the root file system which would be deleted upon reinstallation.
- Have not tried to use graphics card
- Most Fn buttons not detected