Salvage files from harddrive

Alex de Kruijff freebsd at akruijff.dds.nl
Tue Dec 29 13:45:51 UTC 2009


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



More information about the freebsd-questions mailing list