[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Booting into a different entry without changing grub.conf
From: |
Pavel Roskin |
Subject: |
Re: Booting into a different entry without changing grub.conf |
Date: |
Wed, 09 Apr 2008 03:19:07 -0400 |
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
address@hidden 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