[bridged from https://fosstodon.org/@srivasta on the fediverse by https://fed.brid.gy/ ]
The other reason is mount options. Everything is mounted noatime to reduce disk access. Almost everything gets user_xattr. Some patitions are not mounted automatically: /boot and the cdroms. ordinary users can mount cdroms. Only /usr/and /srv get the dev mount options.
The other reason is mount options. Everything is mounted noatime to reduce disk access. Almost everything gets user_xattr. Some patitions are not mounted automatically: /boot and the cdroms. ordinary users can mount cdroms. Only /usr/and /srv get the dev mount options.
I have mentioned before that I have opinions on disk partitioning. I have many partitions, usually, more than most people have. There are reasons -- for example, to allow for upgrading hardware, /home is usually separate. Having /usr separate allows me to mount it read […]
I have mentioned before that I have opinions on disk partitioning. I have many partitions, usually, more than most people have. There are reasons -- for example, to allow for upgrading hardware, /home is usually separate. Having /usr separate allows me to mount it read […]
I couldn't do it. I could not stand the "modern" "minimilastic" _boring_ login screens with static wallpaper that lightdm gave me. I'll deal when they drag me kicking and screaming to Wayland. For now I have this:
I couldn't do it. I could not stand the "modern" "minimilastic" _boring_ login screens with static wallpaper that lightdm gave me. I'll deal when they drag me kicking and screaming to Wayland. For now I have this:
Now we have a barely functional machine. To appease my muscle memory, install
* vim
* emacs-lucid
* zsh
* restore /home and /usr/local from previous machine
Still no GUI.
* lightdm
* fvwm3
* xterm
* nvidia-driver
* linux-headers-6.12.33+deb13-amd64
* […]
Now we have a barely functional machine. To appease my muscle memory, install
* vim
* emacs-lucid
* zsh
* restore /home and /usr/local from previous machine
Still no GUI.
* lightdm
* fvwm3
* xterm
* nvidia-driver
* linux-headers-6.12.33+deb13-amd64
* […]
Software selection
This is where things get interesting. I am planning on no desktop environments at all. In the netinst installer, unselect everything apart from standard utils. This will be lean mean machine.
Also learned that we now sandbox package downloads using […]
Software selection
This is where things get interesting. I am planning on no desktop environments at all. In the netinst installer, unselect everything apart from standard utils. This will be lean mean machine.
Also learned that we now sandbox package downloads using […]
Adding a key file to automatically unlock all the partitions after / and not type in pass phrases
* dd if=/dev/urandom of=/etc/keys/root_keyfile bs=1 count=4096
* cryptsetup luksAddKey /dev/sda3 /etc/keys/root_keyfile
* edit /etc/crypttab adding keyfile column and […]
Adding a key file to automatically unlock all the partitions after / and not type in pass phrases
* dd if=/dev/urandom of=/etc/keys/root_keyfile bs=1 count=4096
* cryptsetup luksAddKey /dev/sda3 /etc/keys/root_keyfile
* edit /etc/crypttab adding keyfile column and […]
Cryptsetup fiasco. I have 9 partitions/RAID Arrays/Encrypted volumes. Setting it up in the Debian installer sets up /etc/crypttab with interactive passphrase. Rebooting is /interesting/ since initrd only unlocked / and /usr, dumping me in single user mode with most […]
Cryptsetup fiasco. I have 9 partitions/RAID Arrays/Encrypted volumes. Setting it up in the Debian installer sets up /etc/crypttab with interactive passphrase. Rebooting is /interesting/ since initrd only unlocked / and /usr, dumping me in single user mode with most […]
Tip:
1. The graphical expert mode truncates messages from the installer
2. The installer in the LiveCD image is not quite the same as the netinst installer (the latter has more granular steps).
3. doing disk partitioning by hand is tedious (especially the waiting […]
Tip:
1. The graphical expert mode truncates messages from the installer
2. The installer in the LiveCD image is not quite the same as the netinst installer (the latter has more granular steps).
3. doing disk partitioning by hand is tedious (especially the waiting […]
I have opinions about disk partitioning (I prefer Disk partitions --> software Raid --> Luks encryption -> LVM -> file systems, which is not how the installer does it, so it is expert mode manual installation for me.
I ended up with 9 partitions/RAID arrays/Volume […]
I have opinions about disk partitioning (I prefer Disk partitions --> software Raid --> Luks encryption -> LVM -> file systems, which is not how the installer does it, so it is expert mode manual installation for me.
I ended up with 9 partitions/RAID arrays/Volume […]
## Step 3 Fix up LVM
* pvdisplay -v # do the physical volumes show up?
* vgchanges -aly # Update the volume groups
* vgdisplay -v # are the volumen groups in fstab here?
* lvdisplay -v # What logical volumes do we have?
* fsck -A […]
## Step 3 Fix up LVM
* pvdisplay -v # do the physical volumes show up?
* vgchanges -aly # Update the volume groups
* vgdisplay -v # are the volumen groups in fstab here?
* lvdisplay -v # What logical volumes do we have?
* fsck -A […]
## Step 2 Fix encryption
On rebooting we had / and /usr, but none of the other partitions. There were no /dev/mapp/md?_crypt entries.
* ls /dev/mapper # See what has been opened by cryptsetup
* cat /etc/lvm/backup/home_vg # for […]
## Step 2 Fix encryption
On rebooting we had / and /usr, but none of the other partitions. There were no /dev/mapp/md?_crypt entries.
* ls /dev/mapper # See what has been opened by cryptsetup
* cat /etc/lvm/backup/home_vg # for […]
## Step 1: fix raid
Create a new Trixie live CD image on a USB. Interrupt startup to boot from said USB.
+ mdadm -E --scan | tee /etc/mdadm.conf # Scan for array components
+ mdadm -A -s # Assemble array
+ cryptsetup luksOpen […]
## Step 1: fix raid
Create a new Trixie live CD image on a USB. Interrupt startup to boot from said USB.
+ mdadm -E --scan | tee /etc/mdadm.conf # Scan for array components
+ mdadm -A -s # Assemble array
+ cryptsetup luksOpen […]
https://gist.github.com/aschober/eeb316027c5037fc3af5fb0327ab44fd
https://gist.github.com/aschober/eeb316027c5037fc3af5fb0327ab44fd