Easier up to date offline installation.
I love to install os a lot, and now i have couple of scripts for installing arch but this scripts uses pacman or yay to install apps. I know i can use cached packages in /var/cache and for yay in /.cache .but still looking for better way.
About this post
- Posted
- Archived
- Score
- 4 · 76% up
- Kind
- Text
- ID
- 17a641m
9 comments
Install arch to a USB, set it up to be portable, update it regularly. When needing a new install, copy the USB, edit the few things necessary and install the bootloader.
You mean i can copy my root folder ? i already have my home dir in separate partition copying root to flash will do the job ?
Yes? That's what a backup is.
If you use DD to copy the stick it will likely just boot on the first try.
I suspect OP cant keep an Arch installation running long tho.
Archiso?
For fully offline installs, turn your pacman package cache into a local repo. You can also create a local repo for AUR packages (e.g., aurutils). If you have a local network, setup a proxy cache (e.g., pacoloco) to cut down on repeated downloads.
i tried that but it gets little bit complicated when using aurutils.