moving to larger drive

Jerry McAllister jerrymc at clunix.cl.msu.edu
Sat Sep 11 14:56:11 PDT 2004


> 
> 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


More information about the freebsd-questions mailing list