Backup Your Data:
Create a Bootable Drive:
Choosing the Right Hardware
Installation Process
Using Btrfs for File-system:
Format your drive with the Btrfs file-system for both root (/) and home (/home) sub-volumes. Typically, this is done on a single SSD.
Unlike the ext4 format, which requires separate partitions for root and home directories, Btrfs uses sub-volumes, offering a more modern approach.
Advantages of Btrfs:
Snapshots: One of the significant advantages of Btrfs is the ability to create snapshots of your entire OS and installed packages with a single command.
Quick Rollbacks: Snapshots are available in the GRUB menu, allowing you to quickly roll back to a previous safe state if you encounter issues with your system. The snapshot creation process is extremely fast, taking only a few seconds.
Efficient Storage: You can create numerous snapshots without worrying about storage space, as they use minimal space.
Better than Timeshift: This snapshot capability is far superior to traditional tools like Timeshift, providing more efficiency and convenience.
By following these steps, you'll have a robust, efficient, and easily recoverable Arch Linux system up and running.
The order of Partition of different drives:
--------------------------------------------------------------------------------------------------------
efi (512 MB) in FAT format
boot (2 GB) in EXT4 format
lvm : swap (8 GB)
: root (80 GB) in BTRFS format
: home (rest of your storage, for me it is 386 GB) in BTRFS format
--------------------------------------------------------------------------------------------------------
Roughly, the main points during the installation processes are the following :
Before you do anything, use "dd" command to format the drive and write some random numbers so that there will be no data boundary. In this case, it will be hard for someone trying to recover data even for an technical specialist. So "dd" command does the both: formatting and writing Random data to it. And it takes long time, such as for 512GB SSD, roughly 1 hour or so.
"dd if=/dev/urandom of=/dev/nvme0n1 status=progress bs=4096"
Here, lvm partition is fully encrypted and you could do it via live USB. So that your data is safe even when someone takes your drive out of your Laptop. Here, you need to use password and remember it as it requires when you boot your device.
"cryptsetup luksFormat -v -s 512 -h sha512 /dev/nvme0n1p3"
Use three different passwords : (a) for encrypting your drive, (b) for your root (Admin password), and (c) as a user such as myself for daily usage and updates.