Clone qubes machine - any options other than backup and build again?

173 views
Skip to first unread message

dumbcyber

unread,
Dec 14, 2016, 6:19:14 AM12/14/16
to qubes-users
Hello, I am running Qubes from a 64Gb USB stick.

I am running R3.2 on my Macbook 11,1, and have built several template VMs, for example Windows.

What I want to do now is clone the entire USB stick to another USB external SSD drive. In other words I want to be able to stop using the USB stick and move to the SSD drive without building Qubes from again scratch and then performing backup/restore all my VMs.

Is this even possible? Am i dreaming?

Thanks in advance.

Franz

unread,
Dec 14, 2016, 6:58:15 AM12/14/16
to dumbcyber, qubes-users
A couple of times I had success cloning entire hard disks using clonezilla under linux. It was easy and fast. But I do not know if it runs under MAC. Also I doubt it will work under Qubes if you boot it directly from the USB stick you want to clone. But if you have another computer with linux it should work.
Best
Fran

Thanks in advance.

--
You received this message because you are subscribed to the Google Groups "qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users+unsubscribe@googlegroups.com.
To post to this group, send email to qubes...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/96c75461-a5b7-4318-973b-03e47d6bbbfd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Andrew David Wong

unread,
Dec 14, 2016, 9:07:12 AM12/14/16
to dumbcyber, qubes-users
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
I reckon there's nothing to lose by trying, as long as you keep the
original USB stick. You can try with dd or any program that makes a
bitwise identical image from the USB stick and faithfully writes it
onto the SDD drive.

- --
Andrew David Wong (Axon)
Community Manager, Qubes OS
https://www.qubes-os.org
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJYUVIDAAoJENtN07w5UDAwzAwP/0w1+2cu9qFizHAVfApng01g
SPwqL9Gt+lNdYRoUUjSIsBHe2bpY1DDllpiZnTVc1EmK6daq9XjSMs1dVlceUNeV
01uJ2mN68vY6PqZZ0DrREdmK3EteFRo/761qwr+gvQ1A7BqT3gJZjIACauizQ1EC
Jlk0Mr5BO34j9b3zj4bv43M+7fM2tL1kB0i1ISELCeiRF8IHcqd3IQMwF8GD7OfC
iCAXiVj+pBbp7FojUhqrzHYmBj6YK35MmX6BAzwc6L/Zh3XcQsGuBy2SzPPmodgM
kWJ6uRsKCY7k7hCM3nauDfrIeweOr0d4vhOUivx7CjdayCh/W1Z47A1hbId7E+i7
RqSqx/l3ZgEWkgnj5XOM/Pv3CrKIRnBr55fe5EDpgFeAasluGd4XFWHhx/Sx73mt
iqVsk7KzBvvWL7AjThBWLqbwfk2FU0ajE0DJw3/XsGyJxscap8BXiGCPkTi4NaRd
Z4Iy/VJ6RRVTSBbqZ87B28qZmZ/dYYJX7Rll//5OZcEI2XzSGopE882rdmaYG62v
M6fQgpjsBh1QMC36Fe0nlFAN1FPoe2Aneg73wziA1+XKoZRo7iK/rQSb+vL3h9vq
2vZfBDbYkplWonJ6LhukGK4LozpuuaL2AK1Q4xhF8b/LZZII7/MWvkhHUDCMAY6t
nDiTseM0toT5Gp48rPJw
=GoBG
-----END PGP SIGNATURE-----

dumbcyber

unread,
Dec 18, 2016, 1:18:17 AM12/18/16
to qubes-users, dumb...@riseup.net

Quick update: On a Kali Linux machine, I managed to format and partition the destination disk as per the Qubes USB stick. I've used DD command to copy the contents of the two partitions. I get a success message at the end.

When I boot I get the option to boot from this new disk but nothing else happens. I've noticed using fdisk and gparted on linux that while the DD command is successful the second partition is actually empty. The first partition is fine - looks exactly like the source disk.

Any ideas appreciated.

dumbcyber

unread,
Dec 27, 2016, 10:47:06 PM12/27/16
to qubes-users, dumb...@riseup.net

Just in case this helps anyone else: I managed to do this successfully with Clonezilla. Used the advanced options where I unchecked "reinstall grub".

Reply all
Reply to author
Forward
0 new messages