Book-bot.com - read famous books online for free

Debian GNU/Linux : Guide to Installation and Usage by John Goerzen;Ossama Othman
page 29 of 298 (09%)
Otherwise, it is not really necessary to partition from DOS or Windows;
the Linux partitioning tools will generally do a better job.

Lossless Repartitioning

One of the most common installations is onto a system that already
contains DOS (including Windows 3.1), Win32 (such as Windows 95, 98, NT),
or OS/2 and it is desired to put Debian onto the same disk without
destroying the previous system. As explained in section 2.3.1 on page [*],
decreasing the size of an existing partition will almost certainly damage
the data on that partition unless certain precautions are taken. The
method described here, while not guaranteed to protect your data, works
extremely well in practice. As a precaution, you should make a backup.

Before going any further, you should have decided how you will divide up
the disk. The method in this section will only split a partition into two
pieces. One will contain the original operating system, and the other will
be used for Debian. During the installation of Debian, you will be given
the opportunity to use the Debian portion of the disk as you see fit,
i.e., as swap or as a filesystem.

The idea is to move all the data on the partition to the beginning before
changing the partition information, so that nothing will be lost. It is
important that you do as little as possible between the data movement and
repartitioning to minimize the chance of a file being written near the end
of the partition as this will decrease the amount of space you can take
from the partition.

The first thing you need is a copy of FIPS, which is available in the
tools directory on your Debian CD-ROM. This disk must be bootable. Under
DigitalOcean Referral Badge