Partitioning in action Part 1分析和总结分析和总结.docxVIP

  • 2
  • 0
  • 约7.47千字
  • 约 6页
  • 2023-04-24 发布于上海
  • 举报

Partitioning in action Part 1分析和总结分析和总结.docx

Disclaimer : Disclaimer : The original version of this article was first published on IBM developerWorks, and is property of Westtech Information Services. This document is an updated version of the original article, and contains various improvements made by the Gentoo Linux Documentation team. This document is not actively maintained. Partitioning in action, Part 1 Content: Moving /home Introduction The partition /home is one of the most-often-moved partitions. Sometimes, all the space in /home becomes exhausted, and an additional hard drive is required. Other times, /home is set up as part of the root partition, and it may needto be moved to improve performance or facilitate backup. Whatever the case, Ill show you how to move /home safely and efficiently. Warning: Warning: The following technique describes how to move a partition(s). Although this technique is designed so that you can back out of a failed partition move, it doesnt protect against user error. In other words, any time that you format partitions or copy large numbers of files, theres a possibility that you will type the wrong thing, causing lots of data to be destroyed. For this reason, its highly recommended that you take appropriate steps to back up all critical files before proceeding. Now that youre prepared, were ready to start moving /home. The exact steps you will takedepend on whether /home currently resides on its own separate partition, or whether it is located on the root partition. Keep this in mind as we go through the steps (Ill make notes where necessary). Right now, if you are moving /home to a new hard drive, it should be physically installed in your system. If you are moving /home to an existing partition (it doesnt need to be ext2, as long as the target primary or extended partition exists), you can proceed to step 2. Create a new partition, if necessary If the new partition doesnt exist yet, youll need to create it using cfdisk (preferred) or fdisk. If the partition doesnt resid

文档评论(0)

1亿VIP精品文档

相关文档