install new harddisk on ubuntu box

yesterday i got the problem after install new harddisk on ubuntu box and how to make filesystem and mount point on exinting system

my friend introduce me for step to fdisk and make.ext3 on new device

1. to fdisk the partiion of new device use follow this step

fdisk /dev/sdb
n
p
1
enter
enter
w

2. to make ext3 filesystem
mkfs.ext3 /dev/sdb1

and after step 2 new device is ready to mount

ps. don't forget edit /etc/fstab to add mount point after restart machine