iPXE discussion forum

Full Version: Set arguments of Grub bootloader from iPXE
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I am planning to use iPXE sanboot method to boot a disk-less client. To start with, I created a image by installation ubuntu on a local disk and exported it using the iscsi protocol. I am able to boot with this image using iPXE sanboot (by attaching iPXE iso with client and booting from it) but each time when I boot the machine, I need to edit the grub command line argument to pass the ISCSI related parameters. To avoid this, I want to create a iPXE embed custom script which should download the iscsi related information (ISCSI_INITIATOR, ISCSI_TARGET_NAME, ISCSI_TARGET_IP, ISCSI_TARGET_PORT) from a remote http server and then somehow pass it to the grub boot loader as command line arguments. Is it possible to pass argument to grub boot loader from the iPXE environment ?

Thanks.
https://heathpaddock.com/2012/04/08/inst...scsi-disk/

Recently I have also tried this, this article very detailed introduction to the entire installation process you can refer to.
Reference URL's