Post Reply 
 
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
iPXE SAN boot VBox with Fedora14
2011-04-08, 17:37
Post: #2
RE: iPXE SAN boot VBox with Fedora14
Thanks for writing that up!

(2011-04-08 17:21)hsuanyeh Wrote:  Once you are done with the installation, you can use the same iPXE image to SAN boot from the iSCSI target. I created another iPXE script file which looks like:
Code:
#!ipxe
set initiator-iqn iqn.2011-04.com.domain:vbox.initiator
set iscsi-target iscsi:domain.com::::iqn.2011-03.com.domain:disk.img
set root-path ${iscsi-target}
sanboot ${root-path} ||

If you want to, you can use the prompt command to unify the install.ipxe and boot.ipxe scripts into a single fedora.ipxe script:

Code:
#!ipxe
set initiator-iqn iqn.2011-04.com.domain:vbox.initiator
set iscsi-target iscsi:domain.com::::iqn.2011-03.com.domain:disk.img
set root-path ${iscsi-target}
# Set "skip-san-boot" only if user presses F12
prompt --key 0x197e --timeout 2000 Press F12 to install Fedora... && set skip-san-boot-1 ||
set keep-san 1
sanboot ${root-path} ||
# Use BFO to install
set base-url http://fedora.mirrors.pair.com/linux/releases/14/Fedora/i386/os/images
kernel ${base-url}/pxeboot/vmlinuz stage2=${base}/install.img
initrd ${base-url}/pxeboot/initrd.img
boot

If the user presses F12 within two seconds, then the installer will run, otherwise the system will boot normally from the SAN.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: iPXE SAN boot VBox with Fedora14 - mcb30 - 2011-04-08 17:37



User(s) browsing this thread: 2 Guest(s)