My apologies for what seems to be a rather simple and not really OpenBSD
specific question, but searching hasn't found any good answers.

I've got an old PC running i386 OpenBSD which is dying; the disk seems
to be good, but I need to replace the rest of the hardware.  Usually I'd
just move the disk to the new system, but the old system is EIDE and the
new one is SATA -- so I need to copy the old disk (which I can put in an
external enclosure and connect to the new system via USB) to the new one
(which is a different size and probably a different geometry, so the new
and old partitions probably won't be exactly the same sizes).

It's clearly possible to boot the new system from an install CD (or, if
necessary, a USB stick with a full install on it) then fdisk and
disklabel the new disk and newfs / dump|restore the partitions one by
one, followed up by installboot, editing the duids in /etc/fstab, and
fixing up /etc/hostname.*, but I'm hoping that there's a better way.

Thanks in advance for any suggestions (or confirmations that there is no
better way).

        Dave

-- 
Dave Anderson
<d...@daveanderson.com>

Reply via email to