You are not logged in.
Pages: 1
I'm trying to extract my borg backup from my repo to my virtualbox VM of arch (testing if the backup works).
My disk is partitioned as:
/boot
swap
/
/home
I that order.
I boot with the arch iso, mount my boot partition to /mnt/boot, home to /mnt/home and system root to /mnt, I then cd into /mnt and extract my repo via borg to there (all of this without chrooting). I can then see that /mnt/boot and /mnt/home contain the right files from the backup repo, but when I reboot the system won't start up. Now when I go back into the arch iso and chroot into my restored installation both /boot and /home are empty?? I'm confused to how these mounts didn't receive the contents of the extract since I could see the files there in the mounted partitions before chrooting?
I've been confused of this behavior before as well, so I would really appreciate if someone could explain how this works.
Last edited by 7thSon (2017-10-24 07:23:31)
Offline
mount my boot partition to /mnt/boot, home to /mnt/home and system root to /mnt
In that order??
Online
When you mount the systems / onto /mnt you are masking /mnt/boot and /mnt/home.
You need to mount the systems / onto /mnt that will provide the mount points /mnt/home and /mnt/boot to mount the other filesystems to.
Offline
Yes, thank you! This is what I've been overlooking in the past - you need to mount the other filesystem to /mnt first and then mount /mnt/boot and /mnt/home onto the mounted system /mnt.
Finally I get why I sometimes have such strange behavior..
Cheers!
Offline
Pages: 1