public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* EFI Boot Stub on Removable Media
@ 2012-03-16 19:30 Shea Levy
  0 siblings, 0 replies; only message in thread
From: Shea Levy @ 2012-03-16 19:30 UTC (permalink / raw)
  To: linux-kernel

Hello,

I am currently working on making the live CDs for the NixOS distribution 
EFI-bootable with the EFI boot stub as the bootloader. Is there a 
recommended way to use a boot-stub enabled kernel on a removable device 
(where, AFAIK, there is no way to tell the firmware what params to boot 
with automatically)? Currently, I'm hacking together a really 
quick-and-dirty UEFI application that reads a parameters file at a 
pre-defined location and loads the kernel with those parameters, but I'd 
love a better alternative. Is it possible to embed an initrd in a 
bzImage after the image is built? Or is there some way to have a CD tell 
the firmware what arguments to pass to \EFI\BOOT\BOOT{ARCH}.EFI? Or some 
easy tweak to the kernel source to have it use a set of default 
parameters in absence of explicitly passed ones?

Cheers,
Shea Levy

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-03-16 19:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-16 19:30 EFI Boot Stub on Removable Media Shea Levy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox