Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Mar 2007 16:31:05 +0100 (CET)
From:      Wojciech Puchar <wojtek@tensor.gdynia.pl>
To:        Aitor San Juan <asanjuan@bolsabilbao.es>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Installing a second hard disk
Message-ID:  <20070314162828.K89595@chylonia.3miasto.net>
In-Reply-To: <1C03BB1950F15F48B9E9654E0EFA42CA049EE7@bb04.bolsabilbao.local>
References:  <1C03BB1950F15F48B9E9654E0EFA42CA049EE7@bb04.bolsabilbao.local>

next in thread | previous in thread | raw e-mail | index | archive | help
wouldn't be easier to simply use right command directly?

dd if=/dev/zero of=/dev/newdisk bs=64k count=1 - to clean up any DOS or 
other mess it may be here

assuming you will need all disk as one filesystem

newfs -right-options /dev/newdisk

then add right entry to fstab and

mount -a

that's all


assuming you need partitions

bsdlabel -w newdisk
bsdlabel -e newdisk and edit label

and then same with newfs on each partition.

please DO read newfs manual, as default options aren't good




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