Linux系统数据盘的卸载

1、卸载

取消开机自动挂载

编辑 vim /etc/fstab 删掉设置的开机自动挂载的对应代码行

卸载硬盘

umount /dev/sdb1    #/dev/sdb1修改为自己设备实际的   可以使用 fdisk -l 查看 ,然后可以删除之前创建的挂载点目录,也可以不删除。

删除硬盘分区

fdisk /dev/sdb
输入d 
回车
按w保存
sanradar
sanradar
文章: 97

4 评论

  1. You really make it appear really easy along with your presentation but I
    find this topic to be really something that I believe I’d
    never understand. It kind of feels too complicated and very
    wide for me. I am looking ahead to your next put up, I will try
    to get the grasp of it! Escape room lista

  2. An outstanding share! I’ve just forwarded this onto a friend who was
    doing a little homework on this. And he actually ordered me dinner
    due to the fact that I found it for him… lol. So allow me
    to reword this…. Thank YOU for the meal!!
    But yeah, thanx for spending the time to discuss this topic here on your website.

留下评论

您的电子邮箱地址不会被公开。 必填项已用 * 标注