Ubuntu使用gparted工具扩容,显示Unable to resize read-only file system

514次阅读
没有评论
内容纲要

一、问题

出现提示:无法调整只读文件系统的大小,只能在挂载时调整文件系统的大小

Ubuntu使用gparted工具扩容,显示Unable to resize read-only file system

二、解决步骤

第一步:查看只读文件系统的详细信息,点击Information

Ubuntu使用gparted工具扩容,显示Unable to resize read-only file system

第二步:查看该磁盘挂载的文件夹目录(注意:挂载的位置用 , 隔开,容易忽略 / )

我的挂在位置为:/ 和 /var/snap/firefox/common/host-hunspell

Ubuntu使用gparted工具扩容,显示Unable to resize read-only file system

第三步:以root权限打开终端,重新挂载文件夹目录的读写权限

以我的为例:

sudo -i
mount -o remount -rw /
mount -o remount -rw /var/snap/firefox/common/host-hunspell

Ubuntu使用gparted工具扩容,显示Unable to resize read-only file system

第四步:刷新gparted中的设备后,就可以调整文件系统大小了

Ubuntu使用gparted工具扩容,显示Unable to resize read-only file system

安装gparted

apt-get install gparted
gparted
正文完
 
周 杰
版权声明:本站原创文章,由 周 杰 2023-11-03发表,共计343字。
转载说明:除特殊说明外本站文章皆由CC-4.0协议发布,转载请注明出处。