-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On Fri, May 13, 2016 at 07:51:44PM +0200, Achim Patzner wrote:
> Hi!
>
> Is there a recommendation how to copy a Qubes setup to another machine if the system I need to move died during backup? Additional points if I could just copy the Qubes partition to another disk of appropriate size.
Yes, you can. If you block copy it (dd) it should just work. But if you
copy just files, you'll need to adjust some settings (/etc/fstab,
bootloader parameters etc).
If you're switching from UEFI to legacy boot, you'll need to install
bootloader first, so it isn't that simple.
For really emergency data migration, you can:
1. Install Qubes on new disk
2. Shutdown all the VMs.
3. Remove all of them from libvirt:
virsh -c xen:/// list --all
virsh -c xen:/// undefine VMNAME (for all of them listed in by first
command)
4. Connect the old disk
5. Replace /var/lib/qubes with the one from old disk
6. Restart.
This will not handle all the settings (for example application menu will
not be restored), but will handle the most important parts (VM settings,
data).
> Even more points if someone would tell me how to boot a Lenovo W540 using EFI (as that would permit me just to move the disk to different hardware).
Looks like a common Lenovo UEFI bug, use first option here:
https://www.qubes-os.org/doc/uefi-troubleshooting/
- --
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBCAAGBQJXNmmrAAoJENuP0xzK19csdPYH/RYJhkDS1T0RnjP6BMF9vSNc
LxlL3dSSpbHHTCfE4ypTwa8cBnlrTd/ZevypFgi6Pe32sai3aAU+1dqc2zBXRhFl
YGrhv9N1dEnmIbLf/28i6twBjPiQeQ1T3JK6vC799WI1ASlIUCWtZyh2xOIIgJr1
RiCnzclFxGIKlBoVwMEuGuy40geZ7UGTLMaJtKFg1kKC69c5PN+Sx0d98LdRyoI1
SNybc+sgmBm/fHMARZbtHV06K6VLyDwcwTK5igexIt88jFw4AqCIqtSildfutv8D
RC6FksC2309Kgy75Ac6vgWXRV357VeOnbDV2xge0vV2Xni84fC1CDWQZoEkaFlY=
=YAYK
-----END PGP SIGNATURE-----