public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Karim Yaghmour <karim@opersys.com>
To: linux-mtd@lists.infradead.org
Subject: Avoiding DOC hotplug when Grub fails
Date: Thu, 08 Aug 2002 20:50:47 -0400	[thread overview]
Message-ID: <3D5311E7.93A4805B@opersys.com> (raw)

As far as I can see by browsing this mailing list archive, one
has to hotplug the DOC device in order to have the HD come up
first if Grub fails in some way after having hijacked int 19h.
This is rather inconvenient, to say the least.

Why not just hijack int 16h (keyboard) while we're at it, write
a small keyboard int handler, and check if the space-bar (or
some other key) is held down while Grub is booting? If it is,
then Grub invokes the BIOS's original int 19h which then proceeds
normally. If it isn't, then Grub continues with its own load
procedure.

Comments?

Karim

===================================================
                 Karim Yaghmour
               karim@opersys.com
      Embedded and Real-Time Linux Expert
===================================================

             reply	other threads:[~2002-08-09  0:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-09  0:50 Karim Yaghmour [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-08-09  2:02 Avoiding DOC hotplug when Grub fails Mark Meade
2002-08-09  2:16 ` Gregg C Levine
2002-08-09  4:01 ` Karim Yaghmour

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=3D5311E7.93A4805B@opersys.com \
    --to=karim@opersys.com \
    --cc=linux-mtd@lists.infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox