Re: Kernel

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



Barry Brimer spake the following on 8/19/2007 10:18 AM:
>> my server is in remote location, and I don't see any grub screen, so I
>> was wondering
>> if there is an option that I can specify the kernel that Linux to be
>> booted at the reboot time,
>> some thing like shutdown -g0 -i6 which_kernel-options
> 
> This is handled by your bootloader, which is grub.  In your
> /etc/grub.conf file, there is a line that says "default=x" where x is
> the number of the section from the top of the file, starting with 0. 
> You can also use the "fallback=x" statement to boot a different kernel
> in case the default kernel is unable to boot.
> 
> If you really want to be able to specify which kernel will be booted on
> the next boot (and only the next boot) you can install the lilo boot
> loader and use "lilo -R <image title>" and the next time the system is
> booted, it will use that kernel, but all other times it will use the
> default kernel.  If you are not familiar with lilo, I strongly recommend
> that you install it on a machine locally and use it there until you are
> comfortable with it before deploying it to a machine at a remote data
> center.
> 
> Hope this helps,
> Barry
You can also edit grub.conf to boot the different kernel, and then add
something in the normal boot up to change it back.

-- 

MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't!!!!

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux