VMware Ubuntu uses the gparted tool to expand capacity, showing Unable to resize read-only file system

1. Problems

  A prompt appears: the read-only file system cannot be resized, the file system can only be resized when mounted

 2. Solution steps

Step 1: To view the detailed information of the read-only file system, click Information
 

Step 2: View the folder directory mounted on the disk (note: the mounted location is separated by , it is easy to ignore / )

My hangs are at: / and /var/snap/firefox/common/host-hunspell

Step 3: Open the terminal with root privileges, and remount the read and write permissions of the folder directory

Take mine as an example:

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

 Step 4: After refreshing the device in gparted, you can resize the file system

 

Guess you like

Origin blog.csdn.net/weixin_45730522/article/details/128661183