Thursday, March 18, 2010

Gparted over PXE using NFS

GParted website already has some docs about booting over PXE but it requires an HTTP server which you may not have or want to set up. Here's an How-to based on NFS, which is often used.

Make sure you've got an iso of GParted Live version 0.5.1-3 or earlier.

Then, use your favorite software (I use 7zip) to extract its content to a folder on your PXE server tftproot.

Take the necessary steps to share that folder using NFS (Network File System). If you use Linux, there is plenty of help available for that already. If your server is Windows based, then take a look at this how to (miror).

Now create an entry in your pxelinux.cfg/default file based on this one:
LABEL gparted
kernel vmlinuz
append initrd=initrd.img boot=live union=aufs netboot=nfs nfsroot=:/PATH/TO/ISO/CONTENT
And there you go!

Loading the entire ISO in a ramdisk also works but I find this dirty and unefficient :P

No comments: