Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Arch-Linux/Base_installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ mkfs.ext4 /dev/nvme0n1p2 # Create the filesystem for the root partition
mount /dev/mapper/root /mnt # Mount the root mapper on /mnt
mkdir /mnt/efi # Create the ESP directory
mount /dev/nvme0n1p1 /mnt/efi # Mount ESP
mkswap -U clear --size 8G --file /mnt/swapfile # Create a swapfile
mkswap -U clear --size 4G --file /mnt/swapfile # Create a swapfile
swapon /mnt/swapfile # Activate the swapfile
pacstrap /mnt base linux linux-firmware # Install the base system on the root partition
genfstab -U /mnt >> /mnt/etc/fstab # Generate the fstab
Expand All @@ -75,7 +75,7 @@ genfstab -U /mnt >> /mnt/etc/fstab # Generate the fstab
mount /dev/nvme0n1p2 /mnt # Mount the root partition on /mnt
mkdir /mnt/efi # Create the ESP directory
mount /dev/nvme0n1p1 /mnt/efi # Mount ESP
mkswap -U clear --size 8G --file /mnt/swapfile # Create a swapfile
mkswap -U clear --size 4G --file /mnt/swapfile # Create a swapfile
swapon /mnt/swapfile # Activate the swapfile
pacstrap /mnt base linux linux-firmware # Install the base system on the root partition
genfstab -U /mnt >> /mnt/etc/fstab # Generate the fstab
Expand Down
1 change: 1 addition & 0 deletions Dotfiles/General/system-backup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ mkdir -p "${backup_dir}"
rsync_cmd() {
rsync -aAXHv --delete \
--exclude "${backup_dir}"'/*' \
--exclude='/swapfile' \
--exclude='/dev/*' \
--exclude='/proc/*' \
--exclude='/sys/*' \
Expand Down