PXE BOOT: Selective "ipappend" option for PXE Chain loading?
Posted: 23 Jul 2014, 19:53
Hello,
To whom it may concern - I have sucessfully been able to use the PXE boot option of "Diskcryptor" to encrypt a harddisk, and I have been able to use the PXE bootmenu of a Porteus distribution to get this to run.
The whole thing is a bit tricky, you need a file called "pxechain.com" which is able to chain load PXE loaders (such as the PXE loader from Diskcryptor).
You can get that file from the syslinux package : /modules/pxechain.com.
And ofcourse you need the loader "loader.img" from Diskcryptor.
A sample PXE chainloading section looks like this:
HOWEVER, and that's why I am posting this here, you need to take care that your /srv/pxe/boot/pxelinux.cfg file contains the right IPAPPEND option:
If "Ipappend" is 1, the appended IPs prevent booting of the Diskcryptor loader.
SO, I actually need a "selective" ipappend option - I have several PXE boot menu entries which need "ipappend 1" , and I have several entries which need "ipappend 0".
Is there anything like that possible, and if so, how could I implement this feature?
To whom it may concern - I have sucessfully been able to use the PXE boot option of "Diskcryptor" to encrypt a harddisk, and I have been able to use the PXE bootmenu of a Porteus distribution to get this to run.
The whole thing is a bit tricky, you need a file called "pxechain.com" which is able to chain load PXE loaders (such as the PXE loader from Diskcryptor).
You can get that file from the syslinux package : /modules/pxechain.com.
And ofcourse you need the loader "loader.img" from Diskcryptor.
A sample PXE chainloading section looks like this:
Code: Select all
LABEL PXE_Diskcryptor
MENU LABEL PXE-Diskcryptor
KERNEL /pxechain.com
APPEND ::/loader.img
TEXT HELP
DISKCRYPTOR-BOOT_PC_4
ENDTEXT
Code: Select all
PROMPT 1
TIMEOUT 90
UI /vesamenu.c32 ~
DEFAULT GUI
IPAPPEND 0 ; -> IPAPPEND MUST BE 0!
MENU BACKGROUND /porteus.png
MENU TITLE Porteus PXE boot menu
SO, I actually need a "selective" ipappend option - I have several PXE boot menu entries which need "ipappend 1" , and I have several entries which need "ipappend 0".
Is there anything like that possible, and if so, how could I implement this feature?