Книга: Fedora™ Unleashed, 2008 edition

Choosing a Partitioning Scheme

Choosing a Partitioning Scheme

As with deployment and installation of Linux, partitioning your hard drive to accept Fedora requires some forethought, especially if the target computer is going to be used other than as a home PC on which to learn Linux. If Linux is to be the only resident operating system, you can have the installer automatically create and use a partition scheme according to the type of installation you select during the install. If you plan to have a dual-boot system in which you can boot Linux or another operating system, you have to manually partition your hard drive before and possibly during the install.

CAUTION

Before you begin partitioning your drive, get your safety nets in order. First, back up all critical data! Any changes to your system's hard drive or operating system put your existing data at risk. To prevent the loss of time and resources that inevitably follow data loss, do full backups before you make any changes to your system. Create a bootdisk during the install (you will be asked before the install finishes) so that you will be able to at least boot Linux if something goes wrong.

The simplest and most basic partitioning scheme for a Linux system requires a Linux native root partition and a swap partition. On a single-drive system with 12GB storage and 512MB of RAM, the scheme might look like this:

Hard Drive Partition Mount Point Size
/dev/hda1            /           10.74GB
/dev/hda2            swap        1GB

On a system running Windows, the scheme might look like this:

Hard Drive Partition Mount Point    Size
/dev/hda1            /media/c_drive 4GB
/dev/hda2            /              7.74GB
/dev/hda3            swap           1GB

CAUTION

Notebook users should be careful when partitioning. Some notebooks use a special partition equal to the size of installed RAM to perform suspend-to-disk or other hibernation operations. Always examine your computer's initial partitioning scheme if configuring a dual-boot system, and leave the special partition alone! One way around this problem is to use a software suspend approach as outlined athtpp://www.suspend2.net/.

Оглавление книги


Генерация: 4.304. Запросов К БД/Cache: 3 / 0
поделиться
Вверх Вниз