Skip to content

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.

4 points8 comments
Open on Reddit
About this post
Posted
Archived
Score
4 · 76% up
Kind
Text
ID
17a641m

Author

2
posts
13
comments
0
media
View profile

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.

6 points

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 ?

1 points

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.

1 points

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.

1 points

i tried that but it gets little bit complicated when using aurutils.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.