Debian Network Installation
I will be going over a simple network installation of debian from a minimal CD. If you want to have an easier install from a live environment with the right desktop and some handy pre-installed programs, please go with the live install images. There is a good install manual too.
I am going with the amd64 ISO (currently version 11.6.0). I am installing in a VM. If installing on hardware, write the image to a flash drive with a tool like etcher, dd or another program you prefer.
Attach the drive and boot into it on your machine. On hardware, you may need to go to your boot menu to select to attempt to boot from the flash drive first and disable secure boot. When at your GRUB menu, you have a few options. I will be going with the “install” option.
Here are the options that came up that I responded too. You may get some other ones regarding things such as loading WiFi drivers. If you want WiFi, you should download the relevant package and select the file while installing. Any that came up for me that I didn’t fill in and continued on or repeating the same thing (repeating password entry) are not listed below. Do what you would like to do at each step.
- Language: English
- Location: United Kingdom
- Keyboard: British English
- Hostname: debian-vm
- Root password: password
- Full name for the new user: diyar
- Username for your account: diyar
- Choose a password for the new user: password
- Partition disks: Guided - use entire disk and set up encrypted LVM
- Select disk to partition: SCSI1 (0,0,0) (sda) - 21.5 GB ATA QEMU HARDDISK
- Partitioning scheme: All files in one partition (recommended for new users)
- Continue by selecting yes and selecting cancel for overwriting
- Encryption passphrase: password
- Amount of volume group to use for guided partitioning: 20.9 GB (default)
- Finish partitioning and write change. Select Yes after.
- Scan extra installation media? No
- Debian archive mirror country: United Kingdom
- Debian archive mirror: mirrorservice.org (university of Kent)
- Participate in the package usage survey? No
- Choose software to install: only selected option “standard system utilities”
- Install the GRUB boot loader to your primary drive? Yes
- Device for boot loader installation: /dev/sda
- Finish the the installation. Continue and remove install disk.
Select first option in GRUB menu when booting in. Entering password to decrypt, login username as root and password. Installing doas and neofetch.
apt update && apt upgrade -y && apt install doas -y
nano /etc/doas.conf
**
permit diyar
**
#Switch to standard user
su - diyar
#Install and run neofetch
doas apt install neofetch -y && neofetch