Datasheet

B
SUSE LINUX FAQ
24. What is meant by partitioning?
Partitioning is dividing the hard disk into smaller sections. For the default
configuration, SUSE LINUX requires at least two partitions (one for Linux
itself and one swap partition for the virtual main memory).
25. How much space do I need for Linux?
This depends on how many and which packages you want to install. A
standard installation with office applications requires about 1 GB. 2 GB is
recommended if you want space for your own data as well. To install just
about everything, you need 3–6 GB, depending on the version.
26. I need more space for Linux. How can I add another hard disk?
To make more space available, integrate a new hard disk or parts of it (par-
titions) into your Linux system at any time. For example, if it turns out that
you need more space in /opt, mount an additional hard disk partition to
this directory. To do so, follow this procedure:
(a) Install your hard disk following the instructions of the manufacturer
then start Linux.
(b) Log in as the root user.
(c) Partition the new hard disk with fdisk. For further information, refer
to the manual page of fdisk with man fdisk.
(d) Format the partition with mke2fs /dev/hdb1.
(e) Enter the following commands:
cd /opt
mkdir /opt2
mount /dev/hdb1 /opt2
cp -axv . /opt2
Check thoroughly to see whether all the data has been copied. After-
wards, move the old directory and add a new one an empty mount
point:
mv /opt /opt.old
mkdir /opt
Use an editor to add the new partitions in /etc/fstab. This could
resemble the line in File B.1.
Example B.1: Sample Line in /etc/fstab for an Additional Partition
/dev/hdb1 /opt ext2 defaults 1 2
301SUSE LINUX