help-grub
[Top][All Lists]
Advanced

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

Re: loading code at a given memory position


From: Rolando J. Zappacosta
Subject: Re: loading code at a given memory position
Date: Wed, 27 Apr 2011 16:45:03 +0200

Hi Jordan,

first of all, thank you for your prompt response.

Now, regarding
> For the second task I would recommend making the kernel that you are
> trying to load multiboot compliant and loading it with the "multiboot"
> command
it's something I don't have any knob so I'm forced to load it at
0x8000, jump to its entry point at 0x8030 and then letting it do the
rest (what includes/needs access to the FAT filesystem).

Could I somehow do?

Rolando.


On Wed, Apr 27, 2011 at 12:49 AM, Jordan Uggla <address@hidden> wrote:
> On Tue, Apr 26, 2011 at 6:59 AM, Rolando J. Zappacosta
> <address@hidden> wrote:
>> Hi all,
>>
>> I wondering if it would be possible to use grub to set the a FAT
>> partition as the active one, load a file from it into a specific
>> memory location and finally launch part of the loaded from a given
>> entry point.
>>
>> The code will then access the FAT filesystem to load some other files it 
>> needs.
>>
>> Is this possible? Any hints on how?
>>
>
> Yes this is possible. For the first task you can use the parttool
> command, like "parttool (hd0,1) boot+". Though you should understand
> that this just sets a flag in the partition table, nothing more. For
> the second task I would recommend making the kernel that you are
> trying to load multiboot compliant and loading it with the "multiboot"
> command: http://www.gnu.org/software/grub/manual/multiboot/multiboot.html
>
> --
> Jordan Uggla (Jordan_U on irc.freenode.net)
>



reply via email to

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