PXE BIOS Boot GParted Live
Demand:
Adjust some server partitions by GParted Live.
Steps:
-
Configure the PXE environment.
Please check the contents of the previous days if required.
-
Download the gparted ISO file.
Https://downloads.sourceforge.net/gparted/gparted-live-0.30.0-1-amd64.iso
3. Uploading the ISO file
Description: Need to be divided into two parts, one is the kernel placed in the PXE server specified location, the other is the system files, put on the HTTP server.
Mkdir/var/lib/tftpboot/gp
Mount-o Loop Gparted-live-0.30.0-1-amd64.iso GP
SCP GP/LIVE/FILESYSTEM.SQUASHFS 172.16.30.121:/opt/gparted
4. Modify the Pexlinux.cfg file
Add the following content
#Gparted PXE BIOS
Label GParted Live
Menu Label ^ GParted Live
Kernel gp/live/vmlinuz
Append initrd=gp/live/initrd.img boot=live config components union=overlay username=user noswap noeject ip= VGA =788 fetch=http://172.16.30.121/gparted/FILESYSTEM.SQUASHFS
You can modify the contents of the red font according to your environment.
After configuration, the PXE BIOS test was successful.
https://gparted.org/livepxe.php
PXE BIOS boot gparted live