Re: How do I boot from different kernel when I don't have access to the console?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thank you Arnt and Ted,

It is very helpful.

Prince.
 
On Tue, 20 Jan 2004 04:59:25 +0100, Arnt Karlsen wrote
> On Mon, 19 Jan 2004 18:40:52 -0500, 
> Ted Kaczmarek <tedkaz@xxxxxxxxxxxxx> wrote in message 
> <1074555651.20675.2.camel@tarkus>:
> 
> > On Wed, 2004-01-14 at 15:14, prince wrote:
> > > Just to let you know, This is my /etc/grub.conf
> > > 
> > > % sudo cat /etc/grub.conf
> > > 
> > > # grub.conf generated by anaconda
> > > #
> > > # Note that you do not have to rerun grub after making changes to
> > > # this file NOTICE:  You have a /boot partition.  This means that
> > > #          all kernel and initrd paths are relative to /boot/, eg.
> > > #          root (hd0,0)
> > > #          kernel /vmlinuz-version ro root=/dev/hda3
> > > #          initrd /initrd-version.img
> > > #boot=/dev/sda
> > > ### BEGIN AUTOMAGIC KERNELS LIST
> > > default=0
> 
> ..also put in "fallback=0" below your new "default=1". 
> 
> > > timeout=10
> > > splashimage=(hd0,0)/grub/splash.xpm.gz
> > > 
> > > title Red Hat Linux (2.4.20-28.9BOOT)
> > >         root (hd0,0)
> > >         kernel /vmlinuz-2.4.20-28.9BOOT ro root=/dev/sda3
> 
> ..behind your "root=/dev/sda3", append " panic=20 ", to avoid kernel
> panics play USS Yorktown on your box.  ;-)
> 
> > Your default=0, that will always boot the 2.4.20-28.9BOOT,
> > change it to 1 and it will boot the other version.
> > You can also pick the other one manually, but your timeout is only 10
> > seconds so pay attention :-) when booting.
> 
> ..not 10 tenths of a second?  ;-)
> 
> ..and it is also possible to set up serial consoles on modems or 
> between remote boxes and have the paralell port control relays 
> for power switches, before resorting to ups control tricks.  ;-)
> 
> -- 
> ..med vennlig hilsen = with Kind Regards from Arnt... ;-)
> ...with a number of polar bear hunters in his ancestry...
>   Scenarios always come in sets of three: 
>   best case, worst case, and just in case.






[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux