Partitioning
Disks
Setting/Listing disk UUIDs
blkid # List all
findfs UUID=<id> # Find specific id
ls -l /dev/disk/by-uuid/<id>
uuidgen # New id
tune2fs -U <id> /dev/sda1 # Setting id
Where to find different partition types
/dev/disk/by-uuid -> MBR partitions
/dev/disk/by-partuuid -> GPT partitions
Bootloader
UEFI Secure Boot
Diagnose with
efibootmgr -v
initramfs Update
update-initramfs -u
Grub Config Update
update-grub
Misc
tune2fs -j /dev/hda1
tune2fs -O extents,uninit_bg,dir_index /dev/sda1
tune2fs -l /dev/sda1 | grep Inode
Disable ext4 barriers: Add “barrier=0” to the mount options.