简体   繁体   English

在根目录“ /”中创建一个新分区

[英]Make a new partition in root directory '/'

I have the 'rootfs' filesystem mounted on '/'. 我在“ /”上挂载了“ rootfs”文件系统。 How can i partition '/' into 2 partitions such that rootfs is mounted on the first partition and another directory say 'temp' is mounted on the second partition. 我如何将“ /”分区为2个分区,以便将rootfs安装在第一个分区上,另一个目录“ temp”安装在第二个分区上。 Kindly give me directions and tutorials which will help me accomplish this. 请给我指导和教程,这将帮助我完成此任务。 I am very new to this. 我对此很陌生。 So kindly let me know the basic things to know solve this problem. 因此,请让我知道解决此问题的基本知识。

Kindly note that my '/' partition is on RAM and not on harddisk 请注意,我的“ /”分区位于RAM而非硬盘上

You should learn how to use fdisk, /etc/fstab and mount. 您应该学习如何使用fdisk,/ etc / fstab并进行安装。

I can recommand you to read this disk partionning guide : http://tldp.org/HOWTO/Partition/fdisk_partitioning.html 我可以建议您阅读此磁盘分区指南: http ://tldp.org/HOWTO/Partition/fdisk_partitioning.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM