Subject: Moving NetBSD (2.0.2 x386) to bigger disk
To: None <netbsd-users@NetBSD.org>
From: Gilles Gravier <Gilles@Gravier.org>
List: netbsd-users
Date: 08/20/2005 08:31:38
Hi all!

I'm about to get a bigger disk for my machine (all other hardware 
remains). What's the best way to transfer the existing system to the 
newer machine?

dd if=olddisk of=new disk won't work since different sizes.

cp -r will probably mess up links and special devices.

If I can avoid re-install and cp -r /etc /home /var /usr/pkg /usr/pkgsrc 
then I'll be happy. :)

Thanks in advance,
Gilles.