help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Loading raw image file


From: Jordan Uggla
Subject: Re: Loading raw image file
Date: Sun, 4 Dec 2011 20:35:56 -0800

On Tue, Nov 29, 2011 at 6:58 AM, Nulik Nol <address@hidden> wrote:
> Hi,
> I need Grub2 to load a large image file (which contains the executable
> code  at a specified location above 1MB , and then jump to it in
> protected mode. The image file is just plain executable code, does not
> have any format or header (like a.out or elf). Is this possible ?
> Also I would like to load this image file from usb or network. Can this be 
> done?

Why not just make it a multiboot compatible image and load it via the
multiboot loader?
http://www.gnu.org/software/grub/manual/multiboot/multiboot.html

You can load a kernel from USB using the firmware's USB support or
grub's native USB drivers, and the same with loading via the network.
Though for loading from the network using native grub drivers rather
than an in-firmware stack (like PXE) or iPXE you'll need to use grub
from bzr trunk.

-- 
Jordan Uggla (Jordan_U on irc.freenode.net)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]