First, Tinkster's reply is better than mine, and I should have included the partition number as part of my reply, as well as to have indicated more clearly that you do need to be running as root rather than as a regular user. (Thanks, Tink)
So, hopefully this more detailed reply will make up for it. Starting from the very beginning, and given that you've got a brand new drive you want to install, the first question is to determine where the new drive will be installed. For reference:
/dev/hda = primary master
/dev/hdb = primary slave
/dev/hdc = secondary master
/dev/hdd = secondary slave
(If the drive is already installed, then running the "fdisk -l" command can be used to confirm the position of each hard drive, as well as to display the existing partition information.) Secondly, you would need to determine how you wanted to partition the new disk - do you want to create a single 80G partition, or split it into two 40G partitions, or set it up as two 25G and one 30G partition, etc. Once you've decided, use a partitioning tool such as fdisk or cfdisk (which is the one I prefer) to define your partitions. Using cfdisk as an example, and assuming that the new drive is the secondary slave, you would enter the command (as root):
and then create the partition(s) as you wish. The key remaining task would be to perform the actual formatting, and the question to answer there is "which file system do you want to use?" Linux supports several, but I'd recommend using the same file system that your computer is already using in order to keep things consistent. As Tinkster indicated, the default file system type with Suse is reiserfs, and so in your situation the best command to format the partition would be
Code:
mkreiserfs /dev/hdxy
where "x" is the partition letter and "y" is the partition number. To illustrate, if you partitioned the 80G drive into 2 halves, and it were installed in the secondary slave position, the commands you would enter would be "mkreiserfs /dev/hdd1" and "mkreiserfs /dev/hdd2". The end result would be that you'd have your new 80G drive divided into two 40G partitions, each of which is using the same file system as your existing Suse system. At this point, the original issue would be settled.
Finally, in order to have those new partitions be mounted automatically as part of the bootup process, you would want to add them to the fstab file (which exists in the /etc directory).
Hopefully that clarifies things, and sorry about the skimpy answer I originally supplied. I would also say that partitioning questions are very common, and there are numerous threads here at LQ that go into the issue in great detail. You could use the Search function with the keyword "partition" to locate any relevant threads. Good luck with it. -- J.W.