All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pavel Roskin <proski@gnu.org>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: Booting into a different entry without changing grub.conf
Date: Wed, 09 Apr 2008 03:19:07 -0400	[thread overview]
Message-ID: <1207725547.8539.101.camel@rd> (raw)
In-Reply-To: <dac45060804090001n3141e04ct6e6fb94c7071888a@mail.gmail.com>

On Wed, 2008-04-09 at 10:01 +0300, Mark Ryden wrote:
> Hello,
> 
> I have in my grub.conf this entry: default=0.

grub.conf was used in GRUB 1 only, which should be discussed in
bug-grub@gnu.org.  GRUB 2 uses grub.cfg.

> This entry has the original kernel and initrd which came with my Linux
> distribution.
> Instead of booting to the first entry (default=0) , I want to reboot into the
> second entry (which will point to a linux kernel I had build myself
> for tests).
> ; but **withouth** changing the (default=0) entry
> in grub.conf to the second grub entry (which contains paths to images which
> are selected for boot when default=1); this because in
> case I will have a panic when booting (which sometimes occur, for
> various reasons)
> , I want to be able to reboot the machine immedaitely back to default=0.
> (In order that I will NOT have the panic again)
> Is it possible ?

GRUB 1 has "savedefault" for that.  Adding "savedefault 0" to the second
entry would tell grub to boot the first entry next time.  GRUB 2 doesn't
have such facility yet.

-- 
Regards,
Pavel Roskin



  reply	other threads:[~2008-04-09  7:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-09  7:01 Booting into a different entry without changing grub.conf Mark Ryden
2008-04-09  7:19 ` Pavel Roskin [this message]
2008-04-09 13:07   ` Mark Ryden
2008-04-09 19:04     ` Pavel Roskin
2008-04-09 19:10       ` Mark Ryden
2008-04-09 22:11         ` Pavel Roskin

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=1207725547.8539.101.camel@rd \
    --to=proski@gnu.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.