个人工具

UbuntuHelp:HowtoPartition/ResizingPartition

来自Ubuntu中文

Wikibot讨论 | 贡献2009年5月18日 (一) 16:13的版本 (创建新页面为 '{{From|https://help.ubuntu.com/community/HowtoPartition/ResizingPartition}} {{Languages|UbuntuHelp:HowtoPartition/ResizingPartition}} == Resizing Partitions == When you wish to ...')

(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转至: 导航, 搜索

Resizing Partitions

When you wish to create more partitions to install Ubuntu Linux on a hard drive which is formatted with one Windows partition, or you need to provide more space in an existing partition that is running out of space for your files and there is little or no free space available, you will need to perform one or more resizing operations on one or more of your partitions. This will allow you to shift unneeded space out of partitions that don't need it and provide Unallocated Space in which to create more partitions or exand those that need more room. <!> When shrinking a partition containing data, attention must be given to the amount of free space left in the partition; especially a Windows partition, but true for any filesystem. The less room left in a partition, the more likelihood of fragmentation of files, and the harder it will be to defragment that partition.

  • Rule of Thumb: Leave at least 10% free space on any partition to reduce fragmentation and make defragmentation easier.

(!) Note that, in order to expand a partition, you must have free space next to it in which to expand. This can be accomplished either by shrinking another partition next to it, or moving a (or some) partition(s) away from it. See the Moving A Partition page for details on moving a partition. (!) See notes in Additional Notes on Partions on the Operating Systems And Primary/Extended Partitions page for additional restrictions on resizing operations. To resize a partition, first make sure the partition is unmounted. If the partition is mounted, most of the options in the menu will be unavailable, except for one that says "Unmount," which you should select to unmount the partition.


模板:Http://i431.photobucket.com/albums/qq39/ubun1uc/NewPrimNTPart.png


Notice in the image that the partition I am resizing is the Windows ntfs partition that covers the entire hard drive, which I created earlier. A new Windows computer's hard drive will typically be formatted in this manner; one large partition covering the entire drive. Once you are sure the partition is unmounted, right click on the partition you wish to resize and select "Resize/Move" from the menu as illustrated above. You will then be presented with the following:


模板:Http://i726.photobucket.com/albums/ww265/ubun2uc/ResizeNTPart.png


Resizing a partition can be done one of two ways:

  1. Dragging and sliding.

Position the cursor over the arrow on either side of the graphical bar shown in the screenshot, left click and hold, then drag the arrow; away from the edge for shrinking or towards the edge (into the free space, if available) to expand it.

  1. Changing the "New Size" or the "Free Space Preceeding/Following" sizes.

This can most easily be done by changing the size of the partition itself. This is done either by using the up/down arrows to the right of the "New Size" window, or by directly editing the size itself in that Window. Alternately, you can shrink the partition by increasing the non-zero side of the partition in either the "Free Space Preceeding" or "Free Space Following" window. (!) If you attempt to expand the partition by decreasing the non-zero side of the partition ("Preceeding" or "Following," depending on where the free space is), it will move the partition instead of increasing it's size. The same will apply if free space exists on both sides of the partition. See Moving A Partition for details. After changing the size of the partition, just click the "Resize/Move" button, and the changes will be recorded and visible in a window at the bottom. When you are sure that you have resized it as you desire, you click the "Apply" button at the top and the partition will be resized. Your hard drive will then be as follows:


模板:Http://i726.photobucket.com/albums/ww265/ubun2uc/PrimPartResized.png


Next Page - Creating An Extended Partition Main Page