From owner-freebsd-questions@FreeBSD.ORG Wed Apr 18 15:46:53 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6CA6A16A402 for ; Wed, 18 Apr 2007 15:46:53 +0000 (UTC) (envelope-from cptsalek@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by mx1.freebsd.org (Postfix) with ESMTP id 01F8A13C457 for ; Wed, 18 Apr 2007 15:46:52 +0000 (UTC) (envelope-from cptsalek@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so370553ugh for ; Wed, 18 Apr 2007 08:46:51 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=gQEebcvTdCDnt2noltyo5oHEEYXk21SRNU0U8MceIPBYqSQB/lveQo4fT8UATT8f5JPvUklcbvxkErMWCpK86t2n0uLsjy6XOQsi28veMx6KUW7W56XoxQN7kLdyalQ9AL0A5KZWYZYwwGEtlFcH8HPPrUHQpso+BCiGC1lWVBA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=RAOQR3WXBb8k6sWLtt/rHcVxObwvOctGaoNz7MU4JW8yyK6nHNJV/32wfoe7tXDtwAdo+uGJupY+DpxHZtUWRUMKuLbW28id6J/qVl1dIpSiU5RqI5Ou1XIK2Tgw2xFI+jzVDIkKVxOR3Bd27egDFO7ggQ0yN941FAiMq58/9JU= Received: by 10.82.163.13 with SMTP id l13mr986325bue.1176911210946; Wed, 18 Apr 2007 08:46:50 -0700 (PDT) Received: by 10.82.158.11 with HTTP; Wed, 18 Apr 2007 08:46:50 -0700 (PDT) Message-ID: <14989d6e0704180846i1475c2b2ncd01af5e5d9e7df3@mail.gmail.com> Date: Wed, 18 Apr 2007 17:46:50 +0200 From: "Christian Walther" To: "Amarendra Godbole" In-Reply-To: <294439d20704180628j8598a14v31f84d171ac47708@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <294439d20704180628j8598a14v31f84d171ac47708@mail.gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Moving existing FreeBSD system to a new harddisk... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Apr 2007 15:46:53 -0000 On 18/04/07, Amarendra Godbole wrote: > Hi, > > I have FreeBSD 6.2 installed on a Dell Latitude D400 laptop. The > harddisk is 40G, with FreeBSD occupying about 25G, and remaining to > Windows. I have received a replacement for this hard disk, which is a > bigger capacity one - 80G. I have to move the existing FreeBSD system > from the old to the new hard disk. I did find something here: > http://www.freebsddiary.org/driveswap.php. Still, I'd like to hear > someone's experience regarding the same. Thanks! I recently replaced a dying Hard Disk with a newer and bigger one. To move the data to the new disk I used dump/restore, and stored the data on my server. 1. dumped all slices from the machine to the server 2. replaced the disks 3. did a basic FreeBSD install from CD ROM to get a proper disk layout and a boot manager. Because of this installation I got the same slices as on the old disk, just with a new size matching the new disks specification. So the slice names remained the same. 4. restored the previously dumped slices to the new disk BTW: As long as you don't remove/destroy the data on the original disk there's nothing desastrous that can be happen to you. If the method you choose doesn't work somehow, you can still create another backup of the original disk. >From all possible and existing methods you should choose the one you feel most comfortable with, e.g. that you understand completely, and where you know the needed tools most.