On Mon, May 28, 2007 at 10:13:48PM -0500, Denny White wrote: > I've been running a snapshot from several months back & got my > new 4.1 cds finally. Uname shows OpenBSD 4.1 Generic#0. I want > to keep my existing /home & /data partitions, delete all the > rest, recreate them & finish the install. After I reboot, I was > hoping I could copy over the old users from the old /etc/group > into the new one, copy the old passwd over & run pwd_mkdb. Just > want to know if I've reasoned it out correctly or not, if it is > right if there's anything else I need to run to synchronize > things, & so on. I've tried looking up that kind of scenario with > google, in the mail archives & so forth & just don't seem to come > up with what I need. The point of what I'm trying to accomplish > is not to have to copy so much from the 2 aforementioned partitions > to another drive & then copy it all back after recreating users. > Thanks for any help.
In these situations I usually keep a copy of /etc in /home/etc.tgz and just do a new install, skipping the /home and /data partitions when running disklabel. It's never a bad idea to have a full backup, though!