From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
To: The development of GNU GRUB <grub-devel@gnu.org>
Subject: Re: USB device not seen by grub
Date: Fri, 04 Dec 2009 23:17:38 +0100 [thread overview]
Message-ID: <4B198A82.7060505@gmail.com> (raw)
In-Reply-To: <20091204213649.GP1528@thorin>
[-- Attachment #1: Type: text/plain, Size: 2169 bytes --]
Robert Millan wrote:
> On Thu, Dec 03, 2009 at 06:27:07PM -0600, richardvoigt@gmail.com wrote:
>
>> 2009/12/3 Vladimir 'φ-coder/phcoder' Serbinenko <phcoder@gmail.com>:
>>
>>> Chris Jones wrote:
>>>
>>>> I am trying to have grub boot off a partition on a USB stick.
>>>>
>>>>
>>>>
>>> You can't chainload to disk invisible by BIOS. But you can load
>>> supported OSes from it.
>>>
>> What would be necessary to enable chainload to such devices? Install
>> an IRQ 19 handler?
>>
>
> Yeah, something like that. In essence, GRUB acting as a BIOS. Sounds awful,
> but hey we already have "efiemu".
>
>
It's by far not the same thing. EfiEmu emulates only RuntimeServices.
EFI has two types of functions: BootServices and RuntimeServices.
BootServices are only available when boot loader is running and are
terminated on kernel launch. RuntimeServices are always available but
have very small number of functions. And actually GRUB acts only as a
loader to efiemu??.o and real functions are contained in efiemu??.o
which is quite small
For BIOS disks emulations we would need much more functions but we could
adopt a similar approach. E.g:
bioshook usbbios.o <parameters>
chainloader (usb0,1)+1
usbbiso.o may of course be compiled from GRUB files but has to be
standalone. There are few tricky parts associated with this process but
basically it would be an overblown drivemap.
But I don't see any real reason to make even small fraction of required
effort since GRUB2 is able to load many free OS directly and so can load
them of an BIOS-invisible disks without any problems. Some free OS are
still out of GRUB family like Minix is but I would gladly accept a port
of it (which is orders of magnitude easier to do)
As of proprietary OS I think we need to support them only to the etent
of what they are able to do themselves. Documentation on such OS are
often scarce and anything we do may completely break with new version.
And all of this only to make good to someone who would like to see every
free software die?
--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 293 bytes --]
next prev parent reply other threads:[~2009-12-04 22:17 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-02 20:26 USB device not seen by grub Chris Jones
2009-12-03 14:45 ` BandiPat
2009-12-03 15:16 ` Vladimir 'φ-coder/phcoder' Serbinenko
2009-12-03 18:01 ` Chris Jones
2009-12-03 20:02 ` Duboucher Thomas
2009-12-03 20:27 ` Vladimir 'φ-coder/phcoder' Serbinenko
2009-12-03 20:43 ` Chris Jones
2009-12-03 20:24 ` Vladimir 'φ-coder/phcoder' Serbinenko
2009-12-03 21:04 ` Chris Jones
2009-12-03 22:25 ` Chris Jones
2009-12-03 22:52 ` Vladimir 'φ-coder/phcoder' Serbinenko
2009-12-04 0:24 ` Chris Jones
2009-12-04 1:45 ` Chris Jones
2009-12-05 2:26 ` [solved] " Chris Jones
2009-12-05 2:58 ` richardvoigt
2009-12-05 4:29 ` Chris Jones
2009-12-05 9:16 ` Vladimir 'φ-coder/phcoder' Serbinenko
2009-12-11 0:45 ` Chris Jones
2009-12-23 7:03 ` Chris Jones
2009-12-04 0:27 ` richardvoigt
2009-12-04 21:36 ` Robert Millan
2009-12-04 22:17 ` Vladimir 'φ-coder/phcoder' Serbinenko [this message]
2009-12-05 3:28 ` richardvoigt
2009-12-05 20:22 ` Robert Millan
2009-12-04 22:45 ` richardvoigt
2009-12-05 20:33 ` Robert Millan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B198A82.7060505@gmail.com \
--to=phcoder@gmail.com \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.