Wednesday, January 28, 2026

Upgrade to Windows 11 on unsupported hardware

  1. Download Windows 11 ISO
  2. Disable networking
  3. Mount the ISO
  4. Open a Command Prompt and run:
    • X:\sources\setupprep.exe /product server


Wednesday, January 14, 2026

Check for SMART status on Debian

 Install smartmontools and use smartctl:

sudo smartctl --all /dev/xxx


Sunday, September 7, 2025

Adding a Samba user and setting the password

I almost always forget to add users to Samba group after enabling Samba. So here it is:

sudo smbpasswd -a <username>


Change service shutdown timeout in Debian

Make a change so that slow-non/responding services to terminate quickly during shutdown:

sudo nano /etc/systemd/system.conf

Uncomment and edit to:

DefaultTimeoutStopSec=5s

Reboot or reload with:

sudo systemctl daemon-reload


Change GRUB boot delay

sudo nano /etc/default/grub
sudo update-grub