From owner-freebsd-questions@freebsd.org Mon Oct 3 16:49:08 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A8EBFAF4F9D for ; Mon, 3 Oct 2016 16:49:08 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 787C4206 for ; Mon, 3 Oct 2016 16:49:08 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.15.2/8.15.2) with ESMTPS id u93Gn6QK000550 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 3 Oct 2016 10:49:06 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.15.2/8.15.2/Submit) with ESMTP id u93Gn6cr000547; Mon, 3 Oct 2016 10:49:06 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Mon, 3 Oct 2016 10:49:06 -0600 (MDT) From: Warren Block To: "lokadamus@gmx.de" cc: FreeBSD Questions Subject: Re: Clone a FBSD system with something in the likes of ghost In-Reply-To: Message-ID: References: <57EC9527.7020202@rcn.com> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Mon, 03 Oct 2016 10:49:06 -0600 (MDT) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Oct 2016 16:49:08 -0000 On Sun, 2 Oct 2016, lokadamus@gmx.de wrote: > At this point there are some similar products like norton ghost. One is > http://www.netbsd.org/gallery/products.html#g4u These are mostly going to do the same thing as dd(1) when they don't understand the filesystem. Clonezilla does understand UFS, and I have used it once or twice to clone a FreeBSD disk. I still prefer dump/restore. In the old MBR days, there was no serious problem with partition tables, because there was only one partition table at the start of the disk. GPT puts one at the start of the disk and the end of the disk, so binary copying a smaller disk to a larger one puts the secondary partition table somewhere before the end of the larger disk. It's not really possible to copy a larger disk to a smaller one with dd(1), so that problem does not come up. I recommend backing up first, then setting up the target disk partitions and bootcode: http://www.wonkity.com/~wblock/docs/html/disksetup.html Then use dump/restore to copy from the original: http://www.wonkity.com/~wblock/docs/html/backup.html > The problem is always, that is can't boot, when it come from a hdd to a ssd. I have not experienced this, but my first guesses would be that bootcode was not installed, or that it is one of the earlier FreeBSD versions that did not boot at all if the secondary GPT table was not correct.