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
Executing PXE ROM without BIOS setting
-
- Member
- Posts: 1146
- Joined: Sat Mar 01, 2014 2:59 pm
Executing PXE ROM without BIOS setting
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
Syntax checkup:
Wrong: OS's, IRQ's, zero'ing
Right: OSes, IRQs, zeroing
-
- Member
- Posts: 1146
- Joined: Sat Mar 01, 2014 2:59 pm
Re: Executing PXE ROM without BIOS setting
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.
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
Syntax checkup:
Wrong: OS's, IRQ's, zero'ing
Right: OSes, IRQs, zeroing
- darkinsanity
- Member
- Posts: 45
- Joined: Wed Sep 17, 2008 3:59 am
- Location: Germany
Re: Executing PXE ROM without BIOS setting
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.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?