Saturday, April 19, 2025

Part 1: Installing dual boot Debian 12 on HP 15-AF109AX

Shrink your hard disk, make 48 GB space. 40 GB for / parition
and 8 GB for swap.

I  use DVD net install amd64 Debian 12.0 for installation.

Shift restart, select DVD/CD, and follow instruction during installation. Note: write down your root password and user with password.

After finish and restarting, login and connect your ethernet cable into HP 15-AF109AX.

Edit /etc/apt/sources.list

#deb cdrom:[Debian GNU/Linux 12.0.0 _Bookworm_ - Official amd64 NETINST with firmware 20230610-10:21]/ bookworm main non-free-firmware

#main
deb https://deb.debian.org/debian bookworm main contrib non-free-firmware non-free

#security
deb https://security.debian.org/debian-security bookworm-security main contrib non-free-firmware non-free

#update
deb https://deb.debian.org/debian bookworm-updates main contrib non-free-firmware non-free

#backport
deb http://deb.debian.org/debian bookworm-backports main

Run dhcp client

# dhclient -v

Try to ping internet e.q

# ping 1.1.1.1 -c 4

Update your debian

# apt-get update && apt-get upgrade -y

Edit /etc/default/grub

....
GRUB_DEFAULT=2
....
GRUB_DISABLE_OS_PROBER=false
....

Run update grub

# update-grub

Edit /etc/lightdm/lightdm.conf

....
greeter-hide-users=false
....

Install light Xfce4

# apt-get install xfce4 xfce4-goodies network-manager aptitude

Run startx or restart to use GUI.