个人工具

UbuntuHelp:PartitioningSchemes

来自Ubuntu中文

跳转至: 导航, 搜索

Partition design

Three primary partitions and one extended partition are allowed on most consumer-level hard drives. The extended partition can then be divided into a very large number of logical partitions. Each Windows installation will need to be installed on a primary partition. All the Linux (including Ubuntu/Kubuntu) installations, can (and should) exist in logical partitions, though, so you can have as many as you want. The swap partition, also, can (and should) live on a logical partition.

Use Gparted

The easiest way to do this is to use the GParted Live CD as a partition manager.

Partitioning Scheme

  • At the minimum you will need:
  • one primary partition for each Windows OS
  • an extra small primary partition (which can be resized later, in case I need it). If there is a Windows recovery partition already installed, I leave it alone (as my second partition).
  • one primary partition for the small boot partition (for storing a set of GRUB files)
  • an extended partition for the Linux OSs (must be the last partition on the hard drive)

Example Partitioning Scheme

  • In general I make:
  • my Windows partition 20 - 30 Gb -- filesystem type NTFS (or can even be FAT32) and with the boot flag checked
  • my "extra" partition 2 Gb -- which I tend to format as filesystem FAT32 (but can be anything, including ext3). If this is a Windows recovery partition, I leave it unchanged.
  • my GRUB boot partition 50 - 100 Mb -- formatted to filesystem type ext3
  • the extended partition is the remainder
  • (At the end of the hard drive I usually leave a few Gb of free space (to allow for extra logical partition needs that I have not foreseen). This can't be done unless the extended partition is the last partition.)
  • I then divide the extended partition into logical partitions:
  • a /swap logical partition that is 2 Gb -- filesystem type linux-swap
  • a logical partition for the / (root) folder of each planned OS (at least 10 Gb each, but 20-50 Gb is better) -- formatted as ext3 (or ext4 if you are planning to use a newer Linux OS)
  • a logical partition for each specific use, such as for a groupware partition (like Kolab, for example). I make this about 20 Gb and format it as ext3, since most specific uses (like Kolab) will be comfortable with ext3. Anther example is creating a partition for the /home directory.

Other resources