tar FBSD disk clone

David Kelly dkelly at hiwaay.net
Wed Apr 23 13:50:19 PDT 2003


On Wed, Apr 23, 2003 at 02:56:04PM -0400, Steve Bertrand wrote:
> I have found multiple articles on the web regarding ways to 'clone' ones
> FreeBSD disk.
> 
> I opted for the tar method, so I could cut pieces out I did not want
> before cloning.
> 
> When all was said and done, I manually fdisk'ed the new drive, labelled
> it, and mounted it into the existing FS. I then:

[...]

> Upon reboot, I get:
> 
> Invalid Partition
> Invalid Partition
> No /boot/loader

Read the disklabel(8) man page, specifically "Installing bootstraps". I
think you need to "disklabel -B ad0s1" (use the appropriate disk device
and slice).

-- 
David Kelly N4HHE, dkelly at hiwaay.net
=====================================================================
The human mind ordinarily operates at only ten percent of its
capacity -- the rest is overhead for the operating system.


More information about the freebsd-questions mailing list