[haiku-development] Re: EFI (was: multi-selection semantics)

  • From: Marcus Overhagen <marcusoverhagen@xxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sat, 9 Jun 2007 10:54:28 +0200 (CEST)

Oliver Tappe wrote:

> Hm, wouldn't the bootloader have to *include* the networking stack and the 
> drivers? Maybe I'm wrong, but there would be no way to access the modules, 
No it doesn't have to, the pxehaiku-loader has networking support (UDP)

> since they are living on the other side of the network link, right?
> AFAIK, PXE offers downloading an initramfs (cpio-fs), too, so we could stuff 
> the needed stuff in there and then the bootloader could tell the kernel that
> there is such a beast. 
Yes we could download something with tftp. right now the remote_disk protocol
is used to acess a bfs partition.

> The kernel would then of course have to unpack/mount the initramfs and invoke 
> a specific program, which in this case (NBD-boot) would set up networking, 
> mount /boot and then would let the kernel continue the booting process.
> 
> Marcus: When I tested it last time, I think I noticed that your PXE 
> bootloader does not use any initramfs yet, is that correct?
> 
> Is there any reason not to use an initramfs?

The current PXE boot process is like this (I hope I get this right)

PXE-BIOS loads pxehaiku from tftpserver
pxehaiku load pxehaiku-loader
pxehaiku-loader (zbeos) uses PXE-BIOS-UNDI services to load required files
(kernel) using remote_disk

Please have a look at this mail:

//www.freelists.org/archives/openbeos/01-2007/msg00038.html

I'm using no initramfs, since I can load all required files using the 
remote_disk
service. But once the kernel is completely loaded and executing, the 
PXE-BIOS-UNDI services are no longer available, and we would need to
use the network stack.

> I would *really* like to see haiku boot over PXE, but unfortunately I still 
> do not have any spare time :o(

I understand and have similar problems.

Marcus

Viel oder wenig? Schnell oder langsam? Unbegrenzt surfen + telefonieren
ohne Zeit- und Volumenbegrenzung? DAS TOP ANGEBOT JETZT bei Arcor: günstig
und schnell mit DSL - das All-Inclusive-Paket für clevere Doppel-Sparer,
nur  39,85 ?  inkl. DSL- und ISDN-Grundgebühr!
http://www.arcor.de/rd/emf-dsl-2

Other related posts: