You plugged in power and the data-cable.
Now let's assume you have two controllers, one had a hd plugged in, the other a cdrom.
Their names are hda and hdc.
You plugged it in as second drive to the existing harddrive, so it is hdb, else hdd, else ... ?
You boot.
Then
Code:
fdisk /dev/hdb
(fdisk-commands: m(enu=help) l(ist) ...)
you choose a nice partition type, ext3 or reiserfs or jfs.
One big partition? OK.
You make a partition for reiserfs - assumed.
And write, exit fdisk.
Then you make the filesystem.
Pretty fast it is done.
Now you create a mount-target.
Do you have an '/opt'-dir?
Code:
mkdir /opt
mount /dev/hdb1 /opt -t reiserfs defaults
Note: Since there is only one partition, it is hdb1, a second would be hdb2. ...
If it works, you write a similar line to /etc/fstab, to have it mountable by 'mount /opt'. Other mount-options might be found by looking at the other entries.
seeking a job as java-programmer in Berlin: