安装ubuntu 创建分区
Ubuntu doesn’t use a separate /home partition by default, although many Linux users prefer one. Using a separate home partition allows you to reinstall Ubuntu without losing your personal files and settings.
默认情况下,Ubuntu不使用单独的/ home分区,尽管许多Linux用户更喜欢一个。 使用单独的主分区,您可以重新安装Ubuntu,而不会丢失个人文件和设置。
While a separate home partition is normally chosen during installation, you can also migrate to a separate home partition after installing Ubuntu – this takes a bit of work, though.
尽管在安装过程中通常会选择一个单独的主分区,但是在安装Ubuntu之后,您也可以迁移到一个单独的主分区–不过,这需要一些工作。
在安装Ubuntu时 (While Installing Ubuntu)
Creating a separate home partition while installing Ubuntu is easy. Choose the “Something Else” installation option to use a custom partition layout and create multiple partitions. Set the mount point for one of your partitions as / – which will contain the root file system – and the mount point of another partition as /home. When you install Ubuntu in the future, you can set your old home partition as /home again – but make sure to uncheck the Format checkbox or your files will be deleted.
在安装Ubuntu时创建单独的主分区很容易。 选择“其他”安装选项以使用自定义分区布局并创建多个分区。 将其中一个分区的安装点设置为/(将包含根文件系统),并将另一个分区的安装点设置为/ home。 以后安装Ubuntu时,可以将旧的主分区再次设置为/ home-但请确保取消选中“格式”复选框,否则文件将被删除。