Installing a second hard disk

Wojciech Puchar wojtek at tensor.gdynia.pl
Wed Mar 14 15:31:09 UTC 2007


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



More information about the freebsd-questions mailing list