Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Dec 2009 14:45:49 +0100
From:      Alex de Kruijff <freebsd@akruijff.dds.nl>
To:        jeffry killen <jekillen@prodigy.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Salvage files from harddrive
Message-ID:  <20091229134549.GA90870@Alex1.lan>
In-Reply-To: <2cd283d1fad03837950ef165cf75756c@prodigy.net>
References:  <2cd283d1fad03837950ef165cf75756c@prodigy.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Oct 07, 2011 at 04:07:51AM -0700, jeffry killen wrote:
> I have a hard drive that contains the /var file system in a system that
> will not boot.
> In single user mode I can mount  /var.
> 
> I want to take this disk and put it in another FreeBSD system and
> try to copy the files I need off of it to a safe place.
> 
> The system I will plug it into will also have a separate disk with
> /var.
> 
> Is there going to be a conflict with the labels and how would I
> best go about this?

I've changed the size of the disk slices by copying files over to a
nother disk, boot from that one and later back.

I would suggest using 'rsync -aHW source dest"
And later remove with 'chflags -R noschg source; rm -rf source'
-- 
Alex




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