Topic: GParted webbooting
Hello
I'm looking for booting GParted directly from the internet by leveraging iPXE capabilities. This way one no longer needs to retrieve any ISO file, iPXE is indeed able to download files from a webserver and handle them. If you don't know well that project I advise you to get an idea on its power by glancing at boot.salstar.sk. To test it with KVM you may use that command : qemu-system-x86_64 -enable-kvm -net user -net nic,model=virtio -m 512 then open a iPXE shell by typing CTRL+B, from that point type "dhcp" and finally "chain http://boot.salstar.sk".
Actually there are mainly 2 methods for booting a Linux distribution :
1) straight booting an ISO file through memdisk
2) configuring iPXE by providing a linux kernel, an initrd image and a squash fs
Unfortunately I'm unable to boot GParted as for now :
Method 1 doesn't work because Linux is unable to find the root fs. A lot of people are reporting this issue and highlighting that Clonezilla is nonetheless booting properly. After digging into this issue, I think that Clonezilla supports memdisk thanks to the phram module (more information could be found on syslinux website). Actually I found out an phram.ko module inside Clonezilla's but unfortunately this module is not provided by GParted. From what I saw the script 9990-main.sh called by the boot process is able to handle memdisk through the phram and mtdblock modules.
Would it be possible to add kernel modules phram and mtdblock in the initrd file so that memdisk would be supported ?
Method 2 is simplier : the PXE configuration is the same as what is indicated on GParted's website (livepxe.php) except that all files are retrieved online. Despites this method is possible with Debian Live (all files are available here : live.debian.net/cdimage/release/stable/amd64/web/) it may be not used with GParted since it doesn't not publish the 3 needed files.
As a fallback scheme would it be possible to extract those files and host them on a public webserver ?
Thanks for your answer.
H. Werner