Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Sep 2004 17:48:29 -0400 (EDT)
From:      Jerry McAllister <jerrymc@clunix.cl.msu.edu>
To:        wojtek@tensor.3miasto.net (Wojciech Puchar)
Cc:        freebsd-questions@freebsd.org
Subject:   Re: moving to larger drive
Message-ID:  <200409112148.i8BLmVU13925@clunix.cl.msu.edu>
In-Reply-To: <20040911224514.J27192@chylonia.3miasto.net> from "Wojciech Puchar" at Sep 11, 2004 10:46:39 PM

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409112148.i8BLmVU13925>