Home  >  Q&A  >  body text

linux 磁盘分区挂载求助

磁盘总共大小15G,现在想分成系统盘5G和数据盘10G,然后把数据盘挂载到www的目录下面,linux命令应该怎么操作,谢谢!

ringa_leeringa_lee2710 days ago879

reply all(2)I'll reply

  • 大家讲道理

    大家讲道理2017-04-17 13:51:35

    You have divided the disk into the same partition. So you need to repartition. Repartitioning will delete the original data, which means the original system will be deleted, so you need to reinstall the system.
    So reinstall, choose different mount points when reinstalling, or only divide 5G when reinstalling, and divide the rest after installing.

    reply
    0
  • 黄舟

    黄舟2017-04-17 13:51:35

    You can use fdisk and mkfs to repartition. I will not copy and paste these two specific commands.

    reply
    0
  • Cancelreply