Subject: Re: Isn't "db>" on boot bad? :P
To: leam <leam@reuel.net>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-help
Date: 02/11/2003 22:15:32
On Tue, Feb 11, 2003 at 12:01:53PM -0500, leam wrote:
> I'm working to dump and restore from one disk to another, and the system
> won't boot from the second disk. Particulars:
>
> NetBSD 1.6 (Sparc64), generic re-compiled kernel
> root, /usr, and /var were dump'd and restore'd with:
> dump 0uf - /dev/rsd0a | ( cd /mnt; restore rvf - )
> { where a is "/", and /dev/rsd1a is mounted on /mnt}
dump isn't necessary the right too to do this, or do in in single-user,
and make sure all buffers have been synced. There may be data in files which
are not yet on disk, which dump won't be able to read.
I prefer find/cpio for this kind of job myself.
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 24 ans d'experience feront toujours la difference
--