From: Andrey Borzenkov <arvidjaar@gmail.com>
To: grub-devel@gnu.org
Subject: Re: [PATCH v0] Require human interaction to go to normal shell if grub.cfg has a problem
Date: Sat, 7 Dec 2013 16:35:03 +0400 [thread overview]
Message-ID: <20131207163503.6d0c54ee@opensuse.site> (raw)
In-Reply-To: <CADtfRCXSG=zToOXKuVM7WgF5XWUEBARAf3=mzCtAAStGY1BzDQ@mail.gmail.com>
В Mon, 2 Dec 2013 12:49:03 -0800
Jonathan McCune <jonmccune@google.com> пишет:
> On Mon, Dec 2, 2013 at 12:38 PM, Andrey Borzenkov <arvidjaar@gmail.com>wrote:
>
> >
> > I still do not quite understand how rebooting can fix the problem. The
> > only case it may happen is when you have intermittent network issues
> > where grub fails to read some file.
> >
>
> Ah, rebooting allows a machine to network boot, e.g., PXE boot using its
> NIC.
>
Hmm ... how does it work? After reboot you use the same default boot
order and end up in the same non-working grub, right? May be you want
to not reboot but simply exit grub letting firmware to continue with
next boot choice; I'm not sure whether this works reliably in case of
BIOS.
And I still do not really see how useful it is. Booting from network
will presumably land you into some sort of remote installation
environment. How does it help? How do know it landed there in the first
place?
>
> > I have a feeling that you attempt to paper over some problem outside of
> > grub.
> >
>
> This is somewhat true, in that grub's own commands should not get the
> machine into a state where this functionality is useful. But furthering
> the real life example, users / administrators might make a mistake and
> create a broken config. If the machine is unattended, it seems reasonable
> that the user might prefer for it to reboot. Otherwise, it becomes
> necessary to somehow cause a reboot out-of-band. These out-of-band
> solutions are generally proprietary and I think it's a good idea to have
> support for avoiding them if desired.
>
Well, I spent last 10+ years doing remote maintenance and I know
pretty well, that if you do not have remote access to console and
possibility to remotely trigger reboot, you will get in trouble in any
case. There are much more situations that require it and they are far
more probable than grub misconfiguration.
next prev parent reply other threads:[~2013-12-07 12:35 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-25 23:46 [PATCH v0] Require human interaction to go to normal shell if grub.cfg has a problem Jon McCune
2013-11-28 6:41 ` Vladimir 'phcoder' Serbinenko
2013-11-28 17:34 ` Andrey Borzenkov
2013-12-02 20:16 ` Jonathan McCune
2013-12-02 20:38 ` Andrey Borzenkov
2013-12-02 20:49 ` Jonathan McCune
2013-12-07 12:35 ` Andrey Borzenkov [this message]
2013-12-09 15:25 ` Jonathan McCune
2013-12-09 23:33 ` Vladimir 'φ-coder/phcoder' Serbinenko
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=20131207163503.6d0c54ee@opensuse.site \
--to=arvidjaar@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).