VMware Ubuntu virtual machine expansion value out of range problem

A small problem was discovered during the recent expansion. When creating a new disk partition, the message "value out of range" was displayed. It was clearly not within the range, but the message was exceeded. It turns out that I didn't pay attention to specify the "start sector" position--first sector (usually press Enter to select the default). Please note, specify the "last sector" position of the partition - last sector (+the partition size you want, such as +28G), and then "(last sector-first sector)*sector size" is the disk partition the size of. Finally, it should be noted that after restarting, the file system must be expanded (resize2fs) to complete the expansion of the system for daily use.

For some specific operations, please see the following link, which is quite detailed and feasible:

https://jingyan.baidu.com/article/86fae34604bdd53c49121a26.html

 

Guess you like

Origin blog.csdn.net/liuxhCSDN/article/details/93379651