Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jan 2009 08:12:48 -1000
From:      Clifton Royston <>
To:        FreeBSD <>
Subject:   Re: Advice for dump/restore over SSH
Message-ID:  <>
In-Reply-To: <>
References:  <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Mon, Jan 19, 2009 at 12:34:26PM -0500, FreeBSD wrote:
> I'm having difficulties trying to clone a FreeBSD 7.1 PC to another 
> exact same PC over SSH.
> There is my the things I tried:
> I found that link which 
> seemed exactly what I wanted. The problem is that FreeSBIE is not 
> working on this PC (Dell Vostro 220 Slim). It seems to be a problem with 
> the disk controler (can't mount the / partition).
> So, I decided to install a minimal FreeBSD 7.1 on the PC to be cloned. 
> I'm trying to dump/restore the /usr partition but I got warnings with 
> the files already being present and it finally crashed SSHd just after 
> transfering /usr/lib/ After that, there is nothing to do with 
> the PC, SSHd refuse to restart (segmentation fault).

It sounds like you're trying to restore onto the non-empty /usr
partition while running programs from that partition.  I don't think
that is ever likely to work, and I'm not surprised that your sshd
crashes and won't restart when you've replaced some-but-not-all of its

You should restore non-incremental dump backups onto a file system made
freshly empty with newfs, which you can do if you bring the system up
in single-user mode or boot it from other media like a live CD.  This
is why the FreeSBIE CD is an essential part of the plan at the link you

You will probably have to start again from scratch on the PC you're
cloning onto; find some media you can boot it from, or install it to
where you can bring it up in single-user and run some listener which is
simpler than sshd.
  -- Clifton

    Clifton Royston  -- /
       President  - I and I Computing *
 Custom programming, network design, systems and network consulting services

Want to link to this message? Use this URL: <>