Re: [Etherboot-developers] Etherboot 5.1.2rc7 released
Brought to you by:
marty_connor,
stefanhajnoczi
|
From: Doug A. <amb...@am...> - 2002-10-24 03:27:55
|
Ken Yap writes:
| >I also haven't tried the external menu. I used the internal menu a lot
| >and can't get the external menu to work or any older netboot images
| >like nbgrub or netboot versions of tagged DOS images.
|
| Old images will not work. You *have to* rebuild all your images with
| mknbi 1.2-10 or later.
That's a shame since I liked runing mknbi-dos on a directory and it
making an image. Also for some reason the floppy image I use
doesn't work with the Etherboot version but worked with the Netboot
image. Also I would use Etherboot to load nbgrub to netboot
OpenBSD/NetBSD/Linux (and for Linux I could just boot the Linux
kernel directly without doing a mknbi on it).
| >I had similar trouble with the external menu. Actually I wasn't sure how
| >to even create an external menu that functioned the same as the internal
| >menu. I tried mknbi-1.2-10 but anything I did resulted in it not working.
| >It might be usefull to show exactly how to create an external menu that
| >is compatible to the old system. Either that or I'm just to dumb to
| >figure it out.
|
| Just keep your DHCP options as they are, but specify a menu image as the
| file to load (this was previously ignored when using internal menus).
| Then make the menu image using mkelf-menu as explained in the mknbi man
| page.
Okay I got something to work. I was confused the option mkelf-menu.
I had to add vendorext_is_valid=1 under FreeBSD since we use that for
swap path. Doesn't look like there is any serial support and therefore
no dual console. I tried to load FreeBSD via the menu and it died.
Hmm, now rebuilding Etherboot with -DRELOCATE caused VMware2 to
blow up changing the RELOCADDR address so it does conflict gets
me "Unable to load file" after it load the menu. I'll try it on
real hardware again tomorrow.
*** mknbi-1.2.orig/menu.c Fri Jul 5 06:42:00 2002
--- mknbi-1.2/menu.c Wed Oct 23 19:55:07 2002
***************
*** 65,71 ****
--- 65,81 ----
static unsigned char *vendortags;
static unsigned char *end_of_rfc1533;
+ #ifdef IMAGE_FREEBSD
+ /* yes this is a pain FreeBSD uses this for swap, however,
+ there are cases when you don't want swap and then
+ you want this set to get the extra features so lets
+ just set if dealing with FreeBSD. I haven't run into
+ any troubles with this but I have without it
+ */
+ static int vendorext_is_valid = 1;
+ #else
static int vendorext_is_valid = 0;
+ #endif
static unsigned char *motd[RFC1533_VENDOR_NUMOFMOTD] = { 0 };
static unsigned char *imagelist[RFC1533_VENDOR_NUMOFIMG] = { 0 };
|