Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
creating menus
2011-12-18, 23:43
Post: #3
RE: creating menus
I had tried this also, but stalled when trying to create some menu logics Wink
As I prefer the layout of menu.c32 instead of having the users to type something in anyway, for now I stopped chaining from undionly to menu.c32 and than back to undionly. Instead I'm loading gpxelinux.0 directly wich jumps into menu.c32.

From there I'm able to boot ipxe.lkrn wich accepts an ipxe script as parameter like this (menu.c32 style config)
Code:
label sanboot
menu label Boot Win7 from iSCSI
kernel ipxe.lkrn
initrd ipxescripts/sanboot.ipxe

Now I have a directory called ipxescripts. Here I collect any "boot targets" I cannot call directly from menu.c32, as the sanboot I mentioned above. sanboot.ipxe for example looks like this:
Code:
#!ipxe
ifopen net0
dhcp net0
set keep-san 1
sanboot iscsi:192.168.0.1::::iqn.2011-12.local.my.domain.server:disk1

This works like a charm. Now I have to find out why an old asrock board refuses to boot, but this is another (pxelinux related) problem.

Hope this helps you a bit
errorsmith
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
creating menus - errorsmith - 2011-12-18, 17:29
RE: creating menus - robinsmidsrod - 2011-12-18, 20:44
RE: creating menus - errorsmith - 2011-12-18 23:43
RE: creating menus - robinsmidsrod - 2011-12-19, 08:07
RE: creating menus - errorsmith - 2011-12-19, 08:52
RE: creating menus - robinsmidsrod - 2011-12-21, 08:20
RE: creating menus - errorsmith - 2011-12-21, 09:15
RE: creating menus - robinsmidsrod - 2011-12-21, 13:47
RE: creating menus - errorsmith - 2011-12-24, 07:14
RE: creating menus - robinsmidsrod - 2012-04-03, 12:23



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