Re: grub fallback mechanism



On Thu, 29 Dec 2005 01:12:35 +0100, Colin Ingram <synergymus@xxxxxxxxx> wrote:

I'm trying to test a new kernel remotely so I would like to use grub's
fallback mechanism.  I was wondering what is the difference between
doing using a config like this one taking from grub manual

     default saved
     timeout 10
     fallback 1

     title A
     root (hd0,0)
     kernel /kernel
     savedefault fallback

     title B
     root (hd1,0)
     kernel /kernel
     savedefault fallback

or just this one

     default 0
     timeout 10
     fallback 1

     title A
     root (hd0,0)
     kernel /kernel

     title B
     root (hd1,0)
     kernel /kernel

are these two configuration functionally different.  Thanks for your
help.

With the former, whichever was booted last is booted again, but if that fails, the other is tried. If that works, since then the other is booted each time, until one day it fails, and the first is again tried.

Disclaimer: I have not tried it, and I don't know if my interpretation
of the manual is correct.

I believe that the failure that Grub can catch and act upon is a failure
to find the named kernel file or load it. Once loaded, if the kernel
fails, I don't think the kernel has any way of giving control back to
Grub.

-Enrique
.



Relevant Pages

  • Re: grub setup is driving me crazy
    ... > I really have tried so many things to be able to boot from the grub SuSE ... I had been getting a start up and then 'kernel panic'. ... # note this root is for grub's root ... # For booting GNU/Linux ...
    (Debian-User)
  • Re: Multibooting
    ... I use the Grub loader to load both of them. ... Rreplace xx-xx with your kernel version. ... The root line tells wich disk and which partition on it contains file ...
    (Fedora)
  • Re: Installing grub for a different computer
    ... > root ... > menu - I guess there's only one kernel present). ... Boot with the floppy ... After entering the commands above for root, kernel and initrd grub is ...
    (Fedora)
  • Re: Multibooting
    ... I use the Grub loader to load both of them. ... Don't install or configure any boot loader with RedHat9. ... > Rreplace xx-xx with your kernel version. ... > The root line tells wich disk and which partition on it contains file ...
    (Fedora)
  • Re: GRand Unified Boot misery and Fedora Core 4
    ... While typing the message I forgot to type in the root directive. ... Where the VmLinuz thing was properly seen by GRUB (only it craps out while ... Could it be that I need the 'smb' kernel & initrd because of the ... > the rhgb and quiet directives are not neccesary ...
    (comp.os.linux.setup)