On 08/08/2013 05:45 PM, Brian J. Johnson wrote:
> On 08/08/2013 10:02 AM, Borislav Petkov wrote:
>>
>> Right, I think this is easier than having to go into the EFI shell each
>> time and run bzImage.efi. Unless there's a faster way to do that along
>> with passing it kernel command line parameters...
>
> You can use mtools or some other utility to update the kernel image and
> bootloader configuration files on the disk image, so it boots the way
> you want.
>
> Or you could set OVMF to boot to the shell, and put a startup.nsh file
> on the boot partition which invokes the loader with the options you
> want.  That may be a bit simpler than rewriting a grub config.  We use
> this technique on our internal simulator.

There are also boot managers that can do the job. Both rEFInd 
(http://www.rodsbooks.com/refind/) and gummiboot 
(http://freedesktop.org/wiki/Software/gummiboot) can launch a Linux 
kernels with EFI stub loaders using pre-set options, or alter the 
options on a boot-by-boot basis.

-- 
Rod Smith
[email protected]
http://www.rodsbooks.com

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to