swap
partition
/boot
partition
/
partition
If M < 2 S = M *2 Else S = M + 2
/boot/
partition (100 MB)/boot/
contains the operating system kernel (which allows your system to boot Fedora), along with files used during the bootstrap process. Due to limitations, creating a native ext3 partition to hold these files is required. For most users, a 100 MB boot partition is sufficient.
/
(根)分区使用硬盘上的所有剩余空间,你可能需要创建一个 /boot
分区。
/boot/
分区必须在 RAID 阵列之外被创建,如在一个单独的硬盘驱动器上创建。
root
partition (3.0 GB - 5.0 GB)/
" (the root directory) is located. In this setup, all files (except those stored in /boot
) are on the root partition.
/
(or root) partition is the top of the directory structure. The /root
directory/root
(sometimes pronounced "slash-root") directory is the home directory of the user account for system administration.
/home
partition on systems that store user data. Refer to 第 7.21.4.1.1 节 “Advice on Partitions” for more information.
/
partition, upgrades become easier. Refer to the description the Edit option in 第 7.21.2 节 “The partitioning screen” for more information.
/foo
must be at least 500 MB, and you do not make a separate /foo
partition, then the /
(root) partition must be at least 500 MB.
Directory | Minimum size |
---|---|
/
| 250 MB |
/usr
| 250 MB, but avoid placing this on a separate partition |
/tmp
| 50 MB |
/var
| 384 MB |
/home
| 100 MB |
/boot
| 75 MB |
/home
目录创建一个独立的分区。有了独立的/home
分区后,升级或重装Fedora时就不再需要删除用户的文件了。
/boot
partition. Unless you plan to install a great many kernels, the default partition size of 100 MB for /boot
should suffice.
/boot
.
/var
目录包含了大量的安装程序文件,包括Apacheweb服务器。同时它也存放下载的更新包。确保/var
目录所在分区有足够的空间来保存下载的更新和您的其它内容。
/usr
目录存放主要软件。对于安装默认的软件包来说,至少需要4GB空间。如果您是程序开发员或打算用Fedora学习软件开发,则需要8GB以上的空间。
/usr
是/
之外一个独立分区的话,启动过程会变得更加复杂,某些情况下(如在iSCSI设备上安装)可能还会不工作。
/var/lib/mysql
中运行MySQL数据库,如果以后打算重装那么就应该把该目录单独分一个区。
Partition | Size and type |
---|---|
/boot
|
100 MB ext3 partition
|
swap
| 2 GB swap |
LVM物理卷 | 保留空间,做为一个LVM卷组 |
Partition | Size and type |
---|---|
/
| 13 GB ext4 |
/var
| 4 GB ext4 |
/home
| 50 GB ext4 |