On Thu, 2014-12-04 at 21:26 -0500, Gene Cumm wrote:> > Thanks, that works! How do I use that in the generic case? > > The ?pxebsd.0? file can be called as? > > > > ? PXE loader > > ? COMBOOT (16-bit) > > ? DOS .COM > > ? Multiboot (although it switches back to 16-bit mode immediately) > > ? from its own bootsector, if installed on disc (blocklist) > > > > Normally I?d chain into it as COMBOOT, but that no longer > > works (this used to work for both ISOLINUX and PXELINUX, > > and the other two, although I rarely tested them). > > Now I?ve got a working method for PXELINUX, but that leaves > > the others still? > > Without rewriting the MirOS boot loader as a COM32 module, > reimplementing the COMBOOT system (which would likely have to be > mostly in C and be BIOS-only) or making the MirOS kernel act like > either an MBOOT kernel or a Linux kernel (for their boot protocols), > your closest generic alternative is chain.c32. chain.c32 is capable > of loading things like ntldr.sys and msdos.sys. See also > doc/chain.c32. Written as a PXE NBP, there's nothing else that can > load it.Except that apparently, multiboot is one of the things it speaks. So why not got that route?
On Thu, Dec 4, 2014 at 11:40 PM, Jeffrey Hutzelman <jhutz at cmu.edu> wrote:> On Thu, 2014-12-04 at 21:26 -0500, Gene Cumm wrote: > >> > Thanks, that works! How do I use that in the generic case? >> > The ?pxebsd.0? file can be called as? >> > >> > ? PXE loader >> > ? COMBOOT (16-bit) >> > ? DOS .COM >> > ? Multiboot (although it switches back to 16-bit mode immediately) >> > ? from its own bootsector, if installed on disc (blocklist) >> > >> > Normally I?d chain into it as COMBOOT, but that no longer >> > works (this used to work for both ISOLINUX and PXELINUX, >> > and the other two, although I rarely tested them). >> > Now I?ve got a working method for PXELINUX, but that leaves >> > the others still? >> >> Without rewriting the MirOS boot loader as a COM32 module, >> reimplementing the COMBOOT system (which would likely have to be >> mostly in C and be BIOS-only) or making the MirOS kernel act like >> either an MBOOT kernel or a Linux kernel (for their boot protocols), >> your closest generic alternative is chain.c32. chain.c32 is capable >> of loading things like ntldr.sys and msdos.sys. See also >> doc/chain.c32. Written as a PXE NBP, there's nothing else that can >> load it. > > Except that apparently, multiboot is one of the things it speaks. So > why not got that route?If so: http://www.syslinux.org/wiki/index.php/Mboot.c32 I know at least one of the common *BSD variants had support but might no longer -- -Gene
On Fri, 5 Dec 2014, Gene Cumm wrote:> >> mostly in C and be BIOS-only) or making the MirOS kernel act like > >> either an MBOOT kernel or a Linux kernel (for their boot protocols),The MirBSD _bootloader_ (not kernel) can act as a Multiboot kernel. It can then use disc access (not PXE), or you can pass it the ?real? kernel, but also e.g. configuration files, as Multiboot modules, which are made available as a pseudo-filesystem inside that loader.> If so: http://www.syslinux.org/wiki/index.php/Mboot.c32I?m not permitted to edit either that page or its talk page. Do I submit the content addition here, then? bye, //mirabilos -- tarent solutions GmbH Rochusstra?e 2-4, D-53123 Bonn ? http://www.tarent.de/ Tel: +49 228 54881-393 ? Fax: +49 228 54881-235 HRB 5168 (AG Bonn) ? USt-ID (VAT): DE122264941 Gesch?ftsf?hrer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg