You are not logged in.

#1 2015-04-22 06:43:08

bagol
Member
Registered: 2015-01-29
Posts: 28

Installing new system with packages from previous installation

The packages from pacman installation are stored in /var/cache/pacman/pkg. I've backed it up. Now, I want install new arch system. What I want to do is to bind mount my back up packages directory to /var/cache/pacman/pkg while installing new system. Is this will work? I mean, will pacstrap do its job without downloading (if there are no upgrades)?

Last edited by bagol (2015-04-22 06:43:45)

Offline

#2 2015-04-22 09:55:44

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: Installing new system with packages from previous installation

If you want to install exactly the same packages why not just cp -a everything to the new partition(s)?


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#3 2015-04-22 09:58:06

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Installing new system with packages from previous installation

It should work. Read 'pacstrap --help'.

Offline

Board footer

Powered by FluxBB