GParted Live on PXE server
Besides GParted Live CD and Live USB, we can put GParted Live on a PXE server so that client can boot via network to use GParted. This is howto:
1. Prepare a PXE server. You may refer to some doc, e.g. this one or DRBL (Diskless Remote Boot in Linux). We assume the pxelinux config file is /tftpboot/nbi_img/pxelinux.cfg/default, and the image files are in /tftpboot/nbi_img/.
2. Prepare http service on that PXE server, too.
3. Download GParted live zip file (You have to use 0.3.7-2 or later, network drivers are only included after that), and unzip all the files in a temp dir /tmp/gparted/. You can make it by something like: "mkdir -p /tmp/gparted; unzip gparted-live-*.zip -d /tmp/gparted/" (Replace gparted-live-*.zip with the file name you just downloaded).
4. Copy necessary boot files (vmlinuz1 and initrd1.img) to /tftpboot/nbi_img/. You can make it by: "cp /tmp/gparted/live/{vmlinuz1,initrd1.img} /tftpboot/nbi_img/
5. Copy /tmp/gparted/live/filesystem.squashfs to your http server, e.g "cp /tmp/gparted/live/filesystem.squashfs /var/www/".
5. Edit your PXE config file /tftpboot/nbi_img/pxelinux.cfg/default, and append the following:
-----------
label GParted Live
MENU LABEL GParted Live
kernel vmlinuz1
append initrd=initrd1.img boot=live union=aufs noswap noprompt vga=788 fetch=http://$webserverIP/filesystem.squashfs
-----------
//NOTE// Replace $webserverIP with your IP address of http server.
Remember to check parameters in syslinux/syslinux.cfg from the zip file, copy them to here. It might be different from here, say vmlinuz1 path maybe different. (Note! Do not put parameter "ip=frommedia")
For more info about pxelinux, you can refere to here.


