Executing PXE ROM without BIOS setting

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
onlyonemac
Member
Member
Posts: 1146
Joined: Sat Mar 01, 2014 2:59 pm

Executing PXE ROM without BIOS setting

Post by onlyonemac »

Hi,

I suppose that this isn't really an operating system development question but nevertheless I'm sure that the people here are the most likely to be able to help me.

Basically, would it be feasible to somehow execute the PXE ROM for network booting without having to enable it in the computer's BIOS? More specifically, could one write a boot sector for a floppy disk and/or a GRUB payload that could trigger the ROM?

Obviously one would have to somehow determine the correct address in memory where the ROM is located, and in the case of a GRUB payload one would also have to return the CPU to real mode, but would it even work? Or is the correct operation of the ROM dependent on it being enabled in the BIOS?

I ask this because it would be useful to me to have a floppy disk and GRUB payload that would allow me to network boot almost any computer without having to fiddle with BIOS settings.

Thanks,

onlyonemac
When you start writing an OS you do the minimum possible to get the x86 processor in a usable state, then you try to get as far away from it as possible.

Syntax checkup:
Wrong: OS's, IRQ's, zero'ing
Right: OSes, IRQs, zeroing
User avatar
iansjack
Member
Member
Posts: 4707
Joined: Sat Mar 31, 2012 3:07 am
Location: Chichester, UK

Re: Executing PXE ROM without BIOS setting

Post by iansjack »

onlyonemac
Member
Member
Posts: 1146
Joined: Sat Mar 01, 2014 2:59 pm

Re: Executing PXE ROM without BIOS setting

Post by onlyonemac »

Thanks. I gather that that is not a loader for the network card's ROM but rather a bootloader which is itself the PXE loader, but loaded from disk rather than stored in ROM?

I will look into that - it might well fit my needs.
When you start writing an OS you do the minimum possible to get the x86 processor in a usable state, then you try to get as far away from it as possible.

Syntax checkup:
Wrong: OS's, IRQ's, zero'ing
Right: OSes, IRQs, zeroing
User avatar
darkinsanity
Member
Member
Posts: 45
Joined: Wed Sep 17, 2008 3:59 am
Location: Germany

Re: Executing PXE ROM without BIOS setting

Post by darkinsanity »

onlyonemac wrote:Thanks. I gather that that is not a loader for the network card's ROM but rather a bootloader which is itself the PXE loader, but loaded from disk rather than stored in ROM?
That, and much more. I remember using iPXE (iPXE is the continuation of gPXE) to boot my own OS from an http-server, however, I had problems using iPXE's multiboot support and ended up loading a full GRUB-based iso back then.
Post Reply