From: adrian15 <adrian15@raulete.net>
To: grub-devel@gnu.org
Subject: grub2 miscelanea questions #2
Date: Thu, 07 Jun 2007 17:35:02 +0200 [thread overview]
Message-ID: <466825A6.5060104@raulete.net> (raw)
1) search command file not found:
=====================================
If you search for an inexistant file like:
search -f /boot/grub/und-video
it complains:
error: no such device
Shouldn't it be:
error: no such file /boot/grub/und-video
I mean it has to talk about files not devices and it has also to prompt
the file you have searched for... or maybe not, I do not know.
I ask marco_g if I am going to be able to use this command inside an if
statement.
if `search -f /boot/grub/grub2.cfg` then
2) chainload a device
========================
It seems that if I run:
chainloader (hd0)+1
boot
It boots my hard disk installed bootloader.
However chainloader help only prompts:
chainloader [-f] FILE
I think the help should be:
chainloader [-f] FILE|DEVICE
3) DEVICE vs DEVICENAME
========================
If you check the loopback command help you will see that you can use a
DEVICENAME as an argument. Should we choose DEVICE or DEVICENAME when
talking about a DEVICE ?
4) About linux command
========================
I do not like the linux command too much. What happens with bsd and
other kernels that are not multiboot?
why don't we have something as:
kernel --type linux whatever
kernel --type bsd whateverelse
?
Or maybe is better to have a bsd command or bsd will become at last a
multiboot os?
5) windows command
=======================
Can we add a windows command that does:
chainloader (hd0,0)+1
boot
A question for marco_g... which it is the best way so that a command can
call other commands?
Using grub_cmd_name where name is the name of the command or can I write
a grub.cfg file on the fly and then send it to some cfg interpreter
function?
6) boot command boots also boot loaders
=====================================
If we can use chainloader for preparing to boot another boot loader...
then boot help should read:
Boot an operating system or another boot loader.
instead of:
Boot an operating system.
adrian15
reply other threads:[~2007-06-07 15:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=466825A6.5060104@raulete.net \
--to=adrian15@raulete.net \
--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.