You are not logged in.
I would like to reinstall my entire system, but my Internet connection was tough to configure the first time I was installing it.
What I would like now is to use my /var/cache/ as a repository(?) for pacstrap.
Is it possible?
Offline
Do you have your /var on a separate partition?
You could just mount the cache on your live system then use pacstrap.
EDIT: Or if you have a LAN you could copy that cache folder to another machine and run it through a webserver (like darkhttp). Then add it to the mirrorlist on the installing machine.
Last edited by dice (2015-02-12 12:01:34)
I put at button on it. Yes. I wish to press it, but I'm not sure what will happen if I do. (Gune | Titan A.E.)
Offline
Without an internet connection you would also need to copy over the pacman database files for the repositories.
Pacstrap is just a wrapper around pacman. It passes through pacman arguments like --cachedir.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Do you want to install do a different drive (or do you need to reformat/repartition the current one), or are you just trying to fix problems in many packages by getting back to installaed-defaults? There could be very different approaches depdencing on your goal.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
How do I use pacstrap with local files? I haven't found any documentation online.
# pacstrap -c <package names>
See `pacstrap --help`
Offline
You could just use pacman more like rpm and pacman -U all the packages you need. Cd to /var/cache/pacman/pkg point pacman to your installation with -r.
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
I would like to reinstall my entire system
Why?
Offline
Do you want to install do a different drive (or do you need to reformat/repartition the current one), or are you just trying to fix problems in many packages by getting back to installaed-defaults? There could be very different approaches depdencing on your goal.
A reinstall. Like a from-scratch start. I'd like to achieve a system with less bugs than what I have now. And clean it entirely in the process.
Installing to the same machine.
Offline
Offline
The cache can also have packages which were uninstalled in the past; either by you or by deprecation. It will also have have older versions of packages. I would instead get a list of installed packages from pacman. If you can't get it from pacman, there is a tool paclog-pkglist which can extract a list of installed packages from the pacman log. Then I would copy the cache to the new system to avoid redownloading everything. I think pacstrap will use the cache dir on the target system so copy the files there.
Moving from System Administration to Newbie Corner.
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline
pacman -Qs would do the same.
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
I would like to reinstall my entire system, but my Internet connection was tough to configure the first time I was installing it.
You can copy your network configuration and the necessary packages, then use pacman -U in your installation environment and connect with the copy of your configuration.
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline