(BlueBottle) Network Boot Thoughts



I have booted a new machine, an LG860A, completely over the network using PXE. I have booted a MS DOS 6.22 environment, FreeBSD, and a tiny "hello world" program of my own devising. I used a Win 2000 machine as the BOOTP / DHCP / TFTP server using TFTP32 from <http://tftpd32.jounin.net>. I also used a NFS demo server (proNFS, labtam) to perfect the FreeBSD boot.

At long last, I have found a copy of Borland's Turbo Assembler that is cheap enough I was willing to purchase it, so I have both TASM and MASM environments.

I have assembled OBL.Asm using TASM.

I also have a Bluebottle kernel that retrieves files via a Ftp supported ramdisk file system. The FtpFS code is in the distribution, a TFTP version was developed first as a steppingstone.

So I am poised to take another small step toward a network boot diskless bluebottle system. There are some choices to make.

The network boot programs (NBP) that I have found are mostly custom for some environment or other.
1) pxeboot is bundled with the .iso boot image from FreeBSD, and it is FreeBSD aware and possibly not amenable to booting another operating system. However, if I install FreeBSD I should have the sources and be able to modify it.

2) the pxboot program, on an OEM CD with my computer, ultimately originating from http://www.bootmanage.com. This will load any standard size disk image, but it complains of corruption if I try to use a non-DOS image (native oberon or bluebottle)

3) NILO, in the unix tradition, gives me a month's work of stuff to read and comprehend. It seems to be built on layers of other stuff, all of which seems to be more and more homework and firmly pre PXE epoch.

So the questions come to mind:

1. What should a new NBP do?
2. Is there one around that already does it?

NBP
I propose that the NBP should be completely unaware of which operating system it will boot next. It should probably give a rudimentary editor that shows the environment variables that the PXE environment has set up, and even allow them to be edited and saved (by sending them back to the TFTP server.) It should avoid many more commitments, and it should stay close to the PXE supplied services, e.g., use TFTP but not FTP.

It should send status messages back to a logging service, check the clock for sanity.

This design means that the second file has to start execution at a well known offset. The NBPs that boot a floppy image just start in real mode at zero offset and use the boot sector on the floppy. This seems to be ok as is, and constrains the next program, the network boot loader

Does this program exist?


NETWORK BOOT LOADER
This is probably a modification of OBL.Asm that uses the PXE bios calls for TFTP instead of disk calls to load the Bluebottle kernel. This lets a disk image be built with this loader instead of the disk based loader using well known bluebottle technology. The Bluebottle kernel would then switch to FTP or NFS to provide custom per machine and per user bootups. This is bluebottle specific, probably just a boot disk image.

Comments?

.



Relevant Pages

  • Re: Install on a laptop -- no CD no floppy
    ... > google for freebsd and pxe ... > Can it handle an USB floppy/CDROM? ... Or perhaps it can boot from a "pen drive"? ...
    (comp.unix.bsd.freebsd.misc)
  • Re: Using the boot-easy boot loader..
    ... > I am currently running FreeBSD 5.2.1, installing of OS'es is really not ... > a hard task for me, except this one time and it has to do with WINDOWS ... > Windows XP on my primary C drive, and I goto install the FreeBSD boot ... > freebsd boot loader... ...
    (freebsd-questions)
  • Re: Fw: Can I install Free BSD latest version on my laptop with dual boot?
    ... We would like to tune FreeBSD according to our business needs. ... can deploy our compiled version of Free BSD into a new machine. ... Can I install Free BSD latest version on my laptop with dual boot ... Vista, FreeBSD and Linux I can give you some ...
    (freebsd-questions)
  • Re: cannot see Windows after installing FreeBSD
    ... > and reinstalling both WIndows XP and FreeBSD. ... > hard drive and not have its boot sector overwrite the ... one or more of the disk drives) and the first sector of ... The installation uses a straight forward MBR ...
    (freebsd-questions)
  • PXE boot from X4100 - Solaris 10 11/06
    ... I am having real problems getting Solaris 10 11/06 x64 booting from PXE ... # Start off by initialising DHCP ... enable PXE boot by creating ... This E-mail is from IPC Media Ltd, a company registered in England and ...
    (SunManagers)