You are not logged in.
Hi fellow Arch users!
I was wondering if anybody would have an idea if it would be possible to restore packages and rebuild the system having only var partition.
In short - I have had an encrypted system with var and home stored on separate hard drives. Unfortunately hard drive that was storing root of the system got broken and I lost everything apart var and home.
I would be grateful for your thoughts,
Greg
Last edited by Gregosky (2014-10-14 19:18:14)
Offline
I think pacman databases, including list of installed packages are stored in /var/lib/pacman/, so at least you should be able to get list of installed packages somehow.
Offline
I came back from holiday and started working on restoring my Arch from var. Here is what I have done: I have formatted my new SSD hard drive, mounted it as /mnt, created /mnt/var and /mnt/boot, then I have mounted my var and boot partitions. Once mounted I have executed following:
pacman -r /mnt -Syu
. All packages were rebuilt and filesystem structure was restored however at the moment I'm unable to chroot to /mnt.
Offline
Well, it seems pacman have done something but libs were not rebuilt. I was playing around looking what bash dependencies should be rebuilt, and then their dependencies, and then deeper and deeper however with no luck.
In the end I decided to wipe out my /var, leave only /home with my user and build fresh install. My home was preserved so my kde settings are still there.
Offline
Please don't use [Closed], it denotes a locked thread: use solved, or resolved.
Offline
jasonwryan - but the case is not solved (nor resolved...) - I could not find a solution to my problem (hence I could not post it here) so it remains unresolved however case is closed... Could you advice how should such case be marked?
Offline
Don't mark it at all.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline