Resize hard disk partitions via Gparted Live ISO bootable image

introduce

I have an 8G TF card with Openwrt installed, and the capacity of the root partition is not enough to meet my needs. So start working on increasing the size of the root partition. The file system format used for the root partition is Ext4. First of all, try to use DiskGenius and other tools under Windows to expand, unfortunately, you can't. So ready to use Gparted for expansion. Since the tool needs to run in a Linux environment, I don't really want to install a Linux distribution virtual machine for this, so I use Gparted's lightweight ISO image with the Virtual Box virtual machine.

Ready to work

First download and install the VirtualBox virtual machine and VM VirtualBox Extension Pack. VirtualBox does not support USB peripheral operations by default, so it is necessary to install the latter to add peripheral support such as USB2.0 and USB3.0 to VirtualBox.

VirtualBox download address

VM VirtualBox Extension Pack

After downloading the above two, install VirtualBox first.

Then install the VM VirtualBox Extension Pack, which is installed in the Extensions section of the Preferences interface.

Download GParted Live CD/USB/HD/PXE Bootable Image,download link.

step

To create a virtual machine, allocate a single core and a memory of 512MB. You do not need to create a virtual hard disk.

In the virtual machine settings interface, enable the USB controller in the USB device column, and select USB2.0 or USB3.0 as required.

Under the CD-ROM drive in the storage column, select the downloaded ISO image and start the virtual machine.

In the first boot menu selectItem One.

Then, follow the steps to select or enterDont touch keymap, 26 (simplified Chinese), 0 (start X Window System).

Then you can enter the graphical interface, click the Gparted tool on the desktop to mirror the partition operation.

After partitioning, remember to click Apply.

zh_CNZH-CN