From: "Yoshinori K. Okuji" <okuji@enbug.org>
To: grub-devel@gnu.org
Subject: Re: normal/cmdline bug & patch
Date: Fri, 18 Jun 2004 12:45:25 +0200 [thread overview]
Message-ID: <200406181245.25715.okuji@enbug.org> (raw)
In-Reply-To: <20040616115034.GA20649@artax.karlin.mff.cuni.cz>
On Wednesday 16 June 2004 13:50, Tomas Ebenlendr wrote:
> > > I also sugested that if we want users not confused by 2 versions
> > > of modules ve may add automatic loading of 'normal mode module
> > > variants' of each 'rescue mode module variant'. (e.g. _chain.mod
> > > is loaded, we load normal.mod and it automatically loads
> > > chain.mod, we then use insmod _linux.mod and normal.mod will also
> > > load linux.mod).
> >
> > Will this work in a hard-coded way or a flexible way, comparable to
> > module loading (and dependencies) on linux?
> >
> > I should catch up with my email and read the discussion...
> >
> > --
> > Marco
>
> This was not discussed. I prefer here (in this case) hardcoding. At
> normal mode entrance (rescue cmd normal) and normal mode insmod
> will be checked if module is named in special way.
My preferable way is to load modules implicitly when executing commands.
For example:
grub> linux /boot/vmlinuz root=/dev/hda1 ro
[Check if linux.mod is loaded currently]
[If not, load it]
[If failed, abort this command]
[Load the kernel]
This is possible in the same way as autoload in Emacs. For example, we
can have /boot/grub/autoload.lst which is a table of commands and
modules, like this:
chainload chainload.mod
linux linux.mod
initrd linux.mod
multiboot mb.mod
Okuji
next prev parent reply other threads:[~2004-06-18 10:43 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-15 11:31 normal/cmdline bug & patch Tomas Ebenlendr
2004-06-15 11:39 ` Tomas Ebenlendr
2004-06-15 13:45 ` Tomas Ebenlendr
2004-06-15 14:16 ` Marco Gerards
2004-06-15 16:22 ` Tomas Ebenlendr
2004-06-15 18:03 ` Tomas Ebenlendr
2004-06-15 20:36 ` Marco Gerards
2004-06-16 8:48 ` Tomas Ebenlendr
2004-06-18 20:54 ` Marco Gerards
2004-06-18 21:27 ` Tomas Ebenlendr
2004-06-27 11:07 ` Marco Gerards
2004-06-16 9:17 ` Yoshinori K. Okuji
2004-06-16 11:32 ` Marco Gerards
2004-06-16 12:33 ` Marco Gerards <metgerards@student.han.nl> Tomas Ebenlendr
2004-06-16 12:36 ` sorry Tomas Ebenlendr
2004-06-15 19:06 ` normal/cmdline bug & patch Marco Gerards
[not found] ` <20040615191931.GA18736@artax.karlin.mff.cuni.cz>
[not found] ` <873c4wh6um.fsf@marco.marco-g.com>
[not found] ` <20040616084333.GA17615@artax.karlin.mff.cuni.cz>
[not found] ` <87pt7zag0e.fsf@marco.marco-g.com>
2004-06-16 11:50 ` Tomas Ebenlendr
2004-06-18 10:45 ` Yoshinori K. Okuji [this message]
2004-06-18 10:46 ` Tomas Ebenlendr
2004-06-18 10:52 ` Marco Gerards
2004-06-18 11:38 ` Tomas Ebenlendr
2004-06-18 11:44 ` Marco Gerards
2004-06-18 12:04 ` Autoloading WAS: " Tomas Ebenlendr
2004-06-18 13:51 ` Marco Gerards
2004-06-18 18:50 ` Marco Gerards
2004-06-18 19:16 ` Tomas Ebenlendr
2004-06-18 19:14 ` Tomas Ebenlendr
2004-06-19 15:05 ` Yoshinori K. Okuji
2004-06-19 16:01 ` Marco Gerards
2004-06-19 16:27 ` Jeroen Dekkers
2004-06-20 18:54 ` Yoshinori K. Okuji
2004-06-20 2:02 ` Tomas Ebenlendr
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=200406181245.25715.okuji@enbug.org \
--to=okuji@enbug.org \
--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.