Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
dathide committed Dec 3, 2024
1 parent 7f557f5 commit ca138b3
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions install-arch-24a.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash

# To run the script:
# pacman -Sy git; git clone https://github.com/dathide/archstuff; cd archstuff; ./<script>
# pacman -Sy git; git clone <url>; cd archstuff; ./<script>

arch_num="24" # Used in partition labeling
dev1="/dev/sdx"
Expand Down Expand Up @@ -65,12 +65,14 @@ mount --mkdir -o "${btrfs_mops},subvol=${subv1}_var_cache_pacman_pkg" "$dev1_roo
mount --mkdir "$dev1_boot" "/mnt/boot"

# Symlink m2a/var-cache-pacman-pkg to live system's /var/cache/pacman/pkg
# which saves time downloading for repeat installs
# which saves time downloading on repeat installs

# Change pacman.conf to enable parallel downloading

# Install packages
pacstrap -K /mnt base linux linux-firmware amd-ucode networkmanager nano git

# Generate an fstab file
# Generate the fstab file
genfstab -U /mnt >> /mnt/etc/fstab

# Change root into the new system
Expand Down

0 comments on commit ca138b3

Please sign in to comment.