[talk] OpenBSD disk cloning

Robert Menes viewtiful.icchan at gmail.com
Fri Jul 7 06:09:53 EDT 2023


Hey everyone,

I'm switching the SSD in my OpenBSD laptop out for a larger one, from 128GB
to 1TB.

Currently, my OpenBSD install is the normal default partition setup, but I
also want to grow /usr/local and /home to take advantage of the added
space. I'm on OpenBSD 7.3 and also encrypted my volume at install.

So, threefold problem:

1) What is a fast, easy way to quickly copy all the existing partitions to
the new drive, and
2) Should I prepare disk encryption first, before cloning the existing
partitions, and
3) I've looked at Clonezilla for 1) but have to consider also growing the
partitions I want to grow afterwards; Clonezilla AFAIK doesn't do partition
resizing.

What are some solutions or ideas that anyone has that would allow me to
even do all this from within OpenBSD itself? This will also be a good
learning method to do more with OpenBSD as well!

Thanks, everyone!

--Robert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.nycbug.org:8443/pipermail/talk/attachments/20230707/b35cbba4/attachment.htm>


More information about the talk mailing list