Appendix C. An Introduction to Disk Partitions
plete backup is necessary. For your own sake, make two backups, use verification (if available in
your backup software), and try to read data from your backup before you delete the partition.
Caution
If there was an operating system of some type installed on that partition, it will need to be
reinstalled as well. Be aware that some computers sold with pre-installed operating systems
may not include the CD-ROM media to reinstall the original operating system. The best time to
notice if this applies to your system is before you destroy your original partition and its operating
system installation.
After creating a smaller partition for your existing software, you can reinstall any software, re-
store your data, and continue your Red Hat Linux Advanced Server installation. Figure C-10
shows this being done.
Figure C-10. Disk Drive Being Destructively Repartitioned
Caution
As Figure C-10, shows, any data present in the original partition will be lost without proper
backup!
Non-Destructive Repartitioning
Here, you run a program that does the seemingly impossible: it makes a big partition smaller
without losing any of the files stored in that partition. Many people have found this method to be
reliable and trouble-free. What software should you use to perform this feat? There are several
disk management software products on the market. You will have to do some research to find the
one that is best for your situation.
While the process of non-destructive repartitioning is rather straightforward, there are a number
of steps involved:
Compress existing data
•
Resize the existing partition
•
Create new partition(s)
•
Next we will look at each step in a bit more detail.
C.1.4.3.1. Compress existing data
As Figure C-11, shows, the first step is to compress the data in your existing partition. The reason for
doing this is to rearrange the data such that it maximizes the available free space at the "end" of the
partition.
71
Need help?
Do you have a question about the LINUX ADVANCED SERVER 2.1 and is the answer not in the manual?
Questions and answers