From owner-freebsd-questions@FreeBSD.ORG Sat Sep 11 21:56:11 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 81B4D16A4CE for ; Sat, 11 Sep 2004 21:56:11 +0000 (GMT) Received: from clunix.cl.msu.edu (clunix.cl.msu.edu [35.9.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id F0C5943D1D for ; Sat, 11 Sep 2004 21:56:10 +0000 (GMT) (envelope-from jerrymc@clunix.cl.msu.edu) Received: (from jerrymc@localhost) by clunix.cl.msu.edu (8.11.7p1+Sun/8.11.7) id i8BLmVU13925; Sat, 11 Sep 2004 17:48:31 -0400 (EDT) From: Jerry McAllister Message-Id: <200409112148.i8BLmVU13925@clunix.cl.msu.edu> To: wojtek@tensor.3miasto.net (Wojciech Puchar) Date: Sat, 11 Sep 2004 17:48:29 -0400 (EDT) In-Reply-To: <20040911224514.J27192@chylonia.3miasto.net> from "Wojciech Puchar" at Sep 11, 2004 10:46:39 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: moving to larger drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Sep 2004 21:56:11 -0000 > > could You help me in commands used to > > 1) create disklabel and mbr on blank disk > 2) install boot loader Use fdisk to slice and do the mbr. In 4.xxx use disklabel to do disk labeling (partitioning) and boot block. In 5.xxx use bsdlabel to do disk labeling and boot block. Then use newfs to create filesystems in the partitions created with disklabel/bsdlabel. > > manually > ? > > > i know how to do it in NetBSD, but here it's a bit different. > > i need to move everything from one disk to another. Once you create the new drive, then, in single user, dump(8) | restore(8) from the old partitions/file systems to the new ones. ////jerry