特殊:Badtitle/NS100:Partitioning:修订间差异
小 新页面: {{From|https://help.ubuntu.com/community/Partitioning}} {{Languages|UbuntuHelp:Partitioning}} This page is intended to collect and update information the various guides that have been mad... |
小无编辑摘要 |
||
(未显示同一用户的1个中间版本) | |||
第1行: | 第1行: | ||
{{From|https://help.ubuntu.com/community/Partitioning}} | {{From|https://help.ubuntu.com/community/Partitioning}} | ||
{{Languages|UbuntuHelp:Partitioning}} | {{Languages|UbuntuHelp:Partitioning}} | ||
This page is intended to collect and update information the various guides that have been made about partitioning. | This page is intended to collect and update information the various guides that have been made about partitioning. For an overview of the issues and caveats related to partitioning, multi-OS systems, file-system reading, and file sharing, see [[UbuntuHelp:Partitioning issues|Partitioning issues]]. | ||
=== Why Have Separate Partitions === | === Why Have Separate Partitions === | ||
There are several instances that one would want multiple partitions for your Ubuntu install. Each one offers specific benefits that will be outlined below. | There are several instances that one would want multiple partitions for your Ubuntu install. Each one offers specific benefits that will be outlined below. | ||
第7行: | 第7行: | ||
The most common mount points (in descending order) to have separate partitions for are swap, /home, and /boot. | The most common mount points (in descending order) to have separate partitions for are swap, /home, and /boot. | ||
==== Swap ==== | ==== Swap ==== | ||
Swap partitions allow you to use some of your harddrive space as RAM. Swap prevents your computer from crashing when you run out of RAM space, and additionally, allows the RAM to be used efficiently in those situations. [[UbuntuHelp:/Swap|Click here for much more info on swap]]. | Swap partitions allow you to use some of your harddrive space as RAM. Swap prevents your computer from crashing when you run out of RAM space, and additionally, allows the RAM to be used efficiently in those situations. [[UbuntuHelp:Partitioning/Swap|Click here for much more info on swap]]. | ||
==== /home ==== | ==== /home ==== | ||
The /home mount point is where all the individual user's settings are saved. This is the most common partition to setup, and move ones files over, after one has already installed Ubuntu. As such, several guides have been written on how to do this, going through each step of creating a partition, moving the files, and changing your fstab. [[UbuntuHelp:/Home|Click here to find more information on /home, and a listing of these guides]]. | The /home mount point is where all the individual user's settings are saved. This is the most common partition to setup, and move ones files over, after one has already installed Ubuntu. As such, several guides have been written on how to do this, going through each step of creating a partition, moving the files, and changing your fstab. [[UbuntuHelp:Partitioning/Home|Click here to find more information on /home, and a listing of these guides]]. | ||
==== /boot (or maybe /boot/grub) ==== | ==== /boot (or maybe /boot/grub) ==== | ||
The /boot mount point is where the files to boot are stored, and is also the location where GRUB is installed. ([[UbuntuHelp:GrubHowto|GRUB]] is what allows multiple OS's to boot.) GRUB does not fully support itself being installed multiple times, on different partitions. So, having a dedicated /boot partition can make it easier to run multiple installs of Ubuntu (or other distributions of GNU/Linux). [[UbuntuHelp:/Boot|Click here to find more information on separate /boot partitions]]. | The /boot mount point is where the files to boot are stored, and is also the location where GRUB is installed. ([[UbuntuHelp:GrubHowto|GRUB]] is what allows multiple OS's to boot.) GRUB does not fully support itself being installed multiple times, on different partitions. So, having a dedicated /boot partition can make it easier to run multiple installs of Ubuntu (or other distributions of GNU/Linux). [[UbuntuHelp:Partitioning/Boot|Click here to find more information on separate /boot partitions]]. | ||
https://help.ubuntu.com/community/DiskSpace | https://help.ubuntu.com/community/DiskSpace | ||
https://help.ubuntu.com/community/forum/installation/DiskSpace | https://help.ubuntu.com/community/forum/installation/DiskSpace | ||
第17行: | 第17行: | ||
https://help.ubuntu.com/community/forum/installation/DiskSpace | https://help.ubuntu.com/community/forum/installation/DiskSpace | ||
http://www.tuxfiles.org/linuxhelp/fstab.html | http://www.tuxfiles.org/linuxhelp/fstab.html | ||
---- | |||
[[category:CategoryInstallation]] | |||
[[category:UbuntuHelp]] | [[category:UbuntuHelp]] |
2009年5月14日 (四) 17:15的最新版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/Partitioning }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:Partitioning | UbuntuHelp:Partitioning | {{#if: | :}}Partitioning}}/af | • {{#if: UbuntuHelp:Partitioning|Afrikaans| [[::Partitioning/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Partitioning | UbuntuHelp:Partitioning | {{#if: | :}}Partitioning}}/ar | • {{#if: UbuntuHelp:Partitioning|العربية| [[::Partitioning/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Partitioning | UbuntuHelp:Partitioning | {{#if: | :}}Partitioning}}/az | • {{#if: UbuntuHelp:Partitioning|azərbaycanca| [[::Partitioning/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Partitioning | UbuntuHelp:Partitioning | {{#if: | :}}Partitioning}}/bcc | • {{#if: UbuntuHelp:Partitioning|جهلسری بلوچی| [[::Partitioning/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Partitioning | UbuntuHelp:Partitioning | {{#if: | :}}Partitioning}}/bg | • {{#if: UbuntuHelp:Partitioning|български| [[::Partitioning/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Partitioning | UbuntuHelp:Partitioning | {{#if: | :}}Partitioning}}/br | • {{#if: UbuntuHelp:Partitioning|brezhoneg| [[::Partitioning/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Partitioning | UbuntuHelp:Partitioning | {{#if: | :}}Partitioning}}/ca | • {{#if: UbuntuHelp:Partitioning|català| [[::Partitioning/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Partitioning | UbuntuHelp:Partitioning | {{#if: | :}}Partitioning}}/cs | • {{#if: UbuntuHelp:Partitioning|čeština| [[::Partitioning/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Partitioning | UbuntuHelp:Partitioning | {{#if: | :}}Partitioning}}/de | • {{#if: UbuntuHelp:Partitioning|Deutsch| [[::Partitioning/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Partitioning | UbuntuHelp:Partitioning | {{#if: | :}}Partitioning}}/el | • {{#if: UbuntuHelp:Partitioning|Ελληνικά| [[::Partitioning/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Partitioning | UbuntuHelp:Partitioning | {{#if: | :}}Partitioning}}/es | • {{#if: UbuntuHelp:Partitioning|español| [[::Partitioning/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Partitioning | UbuntuHelp:Partitioning | {{#if: | :}}Partitioning}}/fa | • {{#if: UbuntuHelp:Partitioning|فارسی| [[::Partitioning/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Partitioning | UbuntuHelp:Partitioning | {{#if: | :}}Partitioning}}/fi | • {{#if: UbuntuHelp:Partitioning|suomi| [[::Partitioning/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Partitioning | UbuntuHelp:Partitioning | {{#if: | :}}Partitioning}}/fr | • {{#if: UbuntuHelp:Partitioning|français| [[::Partitioning/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Partitioning | UbuntuHelp:Partitioning | {{#if: | :}}Partitioning}}/gu | • {{#if: UbuntuHelp:Partitioning|ગુજરાતી| [[::Partitioning/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Partitioning | UbuntuHelp:Partitioning | {{#if: | :}}Partitioning}}/he | • {{#if: UbuntuHelp:Partitioning|עברית| [[::Partitioning/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Partitioning | UbuntuHelp:Partitioning | {{#if: | :}}Partitioning}}/hu | • {{#if: UbuntuHelp:Partitioning|magyar| [[::Partitioning/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Partitioning | UbuntuHelp:Partitioning | {{#if: | :}}Partitioning}}/id | • {{#if: UbuntuHelp:Partitioning|Bahasa Indonesia| [[::Partitioning/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Partitioning | UbuntuHelp:Partitioning | {{#if: | :}}Partitioning}}/it | • {{#if: UbuntuHelp:Partitioning|italiano| [[::Partitioning/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Partitioning | UbuntuHelp:Partitioning | {{#if: | :}}Partitioning}}/ja | • {{#if: UbuntuHelp:Partitioning|日本語| [[::Partitioning/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Partitioning | UbuntuHelp:Partitioning | {{#if: | :}}Partitioning}}/ko | • {{#if: UbuntuHelp:Partitioning|한국어| [[::Partitioning/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Partitioning | UbuntuHelp:Partitioning | {{#if: | :}}Partitioning}}/ksh | • {{#if: UbuntuHelp:Partitioning|Ripoarisch| [[::Partitioning/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Partitioning | UbuntuHelp:Partitioning | {{#if: | :}}Partitioning}}/mr | • {{#if: UbuntuHelp:Partitioning|मराठी| [[::Partitioning/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Partitioning | UbuntuHelp:Partitioning | {{#if: | :}}Partitioning}}/ms | • {{#if: UbuntuHelp:Partitioning|Bahasa Melayu| [[::Partitioning/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Partitioning | UbuntuHelp:Partitioning | {{#if: | :}}Partitioning}}/nl | • {{#if: UbuntuHelp:Partitioning|Nederlands| [[::Partitioning/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Partitioning | UbuntuHelp:Partitioning | {{#if: | :}}Partitioning}}/no | • {{#if: UbuntuHelp:Partitioning|norsk| [[::Partitioning/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Partitioning | UbuntuHelp:Partitioning | {{#if: | :}}Partitioning}}/oc | • {{#if: UbuntuHelp:Partitioning|occitan| [[::Partitioning/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Partitioning | UbuntuHelp:Partitioning | {{#if: | :}}Partitioning}}/pl | • {{#if: UbuntuHelp:Partitioning|polski| [[::Partitioning/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Partitioning | UbuntuHelp:Partitioning | {{#if: | :}}Partitioning}}/pt | • {{#if: UbuntuHelp:Partitioning|português| [[::Partitioning/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Partitioning | UbuntuHelp:Partitioning | {{#if: | :}}Partitioning}}/ro | • {{#if: UbuntuHelp:Partitioning|română| [[::Partitioning/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Partitioning | UbuntuHelp:Partitioning | {{#if: | :}}Partitioning}}/ru | • {{#if: UbuntuHelp:Partitioning|русский| [[::Partitioning/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Partitioning | UbuntuHelp:Partitioning | {{#if: | :}}Partitioning}}/si | • {{#if: UbuntuHelp:Partitioning|සිංහල| [[::Partitioning/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Partitioning | UbuntuHelp:Partitioning | {{#if: | :}}Partitioning}}/sq | • {{#if: UbuntuHelp:Partitioning|shqip| [[::Partitioning/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Partitioning | UbuntuHelp:Partitioning | {{#if: | :}}Partitioning}}/sr | • {{#if: UbuntuHelp:Partitioning|српски / srpski| [[::Partitioning/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Partitioning | UbuntuHelp:Partitioning | {{#if: | :}}Partitioning}}/sv | • {{#if: UbuntuHelp:Partitioning|svenska| [[::Partitioning/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Partitioning | UbuntuHelp:Partitioning | {{#if: | :}}Partitioning}}/th | • {{#if: UbuntuHelp:Partitioning|ไทย| [[::Partitioning/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Partitioning | UbuntuHelp:Partitioning | {{#if: | :}}Partitioning}}/tr | • {{#if: UbuntuHelp:Partitioning|Türkçe| [[::Partitioning/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Partitioning | UbuntuHelp:Partitioning | {{#if: | :}}Partitioning}}/vi | • {{#if: UbuntuHelp:Partitioning|Tiếng Việt| [[::Partitioning/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Partitioning | UbuntuHelp:Partitioning | {{#if: | :}}Partitioning}}/yue | • {{#if: UbuntuHelp:Partitioning|粵語| [[::Partitioning/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Partitioning | UbuntuHelp:Partitioning | {{#if: | :}}Partitioning}}/zh | • {{#if: UbuntuHelp:Partitioning|中文| [[::Partitioning/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Partitioning | UbuntuHelp:Partitioning | {{#if: | :}}Partitioning}}/zh-hans | • {{#if: UbuntuHelp:Partitioning|中文(简体)| [[::Partitioning/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Partitioning | UbuntuHelp:Partitioning | {{#if: | :}}Partitioning}}/zh-hant | • {{#if: UbuntuHelp:Partitioning|中文(繁體)| [[::Partitioning/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:Partitioning|:Partitioning|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :Partitioning/zh | | {{#ifexist: Partitioning/zh | | {{#ifeq: {{#titleparts:Partitioning|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:Partitioning|1|-1|}} | zh | | }}
This page is intended to collect and update information the various guides that have been made about partitioning. For an overview of the issues and caveats related to partitioning, multi-OS systems, file-system reading, and file sharing, see Partitioning issues.
Why Have Separate Partitions
There are several instances that one would want multiple partitions for your Ubuntu install. Each one offers specific benefits that will be outlined below. You are probably familiar with swap being a separate partition, since every ubuntu install defaults to that. In order to understand why you would want to separate out partitions in general, you need to have a basic understanding of the linux filesystem. That webpage does provide a basic overview of the whole filesystem, but it is still more than you need to know. Basically, each mount point serves a certain purpose, and by placing different mount points on separate partitions, you can treat the data there differently from the rest of /. This becomes clearer as you look at individual examples, so hopefully it becomes clearer as you read each section of this guide. The most common mount points (in descending order) to have separate partitions for are swap, /home, and /boot.
Swap
Swap partitions allow you to use some of your harddrive space as RAM. Swap prevents your computer from crashing when you run out of RAM space, and additionally, allows the RAM to be used efficiently in those situations. Click here for much more info on swap.
/home
The /home mount point is where all the individual user's settings are saved. This is the most common partition to setup, and move ones files over, after one has already installed Ubuntu. As such, several guides have been written on how to do this, going through each step of creating a partition, moving the files, and changing your fstab. Click here to find more information on /home, and a listing of these guides.
/boot (or maybe /boot/grub)
The /boot mount point is where the files to boot are stored, and is also the location where GRUB is installed. (GRUB is what allows multiple OS's to boot.) GRUB does not fully support itself being installed multiple times, on different partitions. So, having a dedicated /boot partition can make it easier to run multiple installs of Ubuntu (or other distributions of GNU/Linux). Click here to find more information on separate /boot partitions. https://help.ubuntu.com/community/DiskSpace https://help.ubuntu.com/community/forum/installation/DiskSpace https://help.ubuntu.com/8.04/switching/installing-partitioning.html https://help.ubuntu.com/community/forum/installation/DiskSpace http://www.tuxfiles.org/linuxhelp/fstab.html