Skip site navigation (1)Skip section navigation (2)
Date:      07 Mar 2006 10:26:38 -0500
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        Oles Hnatkevych <don_oles@able.com.ua>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: su: _secure_path: cannot stat .login_conf: Permission denied
Message-ID:  <44lkvmi8cx.fsf@be-well.ilk.org>
In-Reply-To: <14553570209.20060306231608@able.com.ua>
References:  <14553570209.20060306231608@able.com.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
Oles Hnatkevych <don_oles@able.com.ua> writes:

> I am trying to "move" FreeBSD 6.1 installation from one hard drive to
> another. I do stuff like "newfs /dev/ad1s1a" and so on, then I mount
> all new partitions to some tree in /mnt, then I do simple things:
> tar --one-file-system -cf - -C / .|tar xpvf - -C /mnt/new/
> and just like this I copy /, /var, /usr.

Use dump/restore for moving a whole filesystem.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44lkvmi8cx.fsf>