FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 02-06-2012, 12:37 PM
Jonathan Vomacka
 
Default How to boot into a different kernel

CentOS Community,

Is there a command to boot into a different version of the kernel? I
believe this is setup via grub.conf but unsure. There are a few
different kernels loaded into /boot but I want to see if there is a
command to boot into a different kernel as a single instance or
permanent if needed. Please advise

[root@titanium boot]# ls -ltr
total 62768
-rw-r--r--. 1 root root 2312369 Dec 6 15:35
System.map-2.6.32-220.el6.x86_64
-rw-r--r--. 1 root root 100943 Dec 6 15:35 config-2.6.32-220.el6.x86_64
-rwxr-xr-x. 1 root root 3938288 Dec 6 15:35 vmlinuz-2.6.32-220.el6.x86_64
-rw-r--r--. 1 root root 171087 Dec 6 15:36
symvers-2.6.32-220.el6.x86_64.gz
-rw-r--r--. 1 root root 2313220 Dec 23 04:14
System.map-2.6.32-220.2.1.el6.x86_64
-rw-r--r--. 1 root root 100947 Dec 23 04:14
config-2.6.32-220.2.1.el6.x86_64
-rwxr-xr-x. 1 root root 3940752 Dec 23 04:14
vmlinuz-2.6.32-220.2.1.el6.x86_64
-rw-r--r--. 1 root root 171175 Dec 23 04:17
symvers-2.6.32-220.2.1.el6.x86_64.gz
drwx------. 2 root root 12288 Jan 18 10:36 lost+found
drwxr-xr-x. 3 root root 1024 Jan 18 10:45 efi
-rw-r--r--. 1 root root 14888469 Jan 18 10:45
initramfs-2.6.32-220.el6.x86_64.img
-rw-r--r--. 1 root root 14885287 Jan 18 11:23
initramfs-2.6.32-220.2.1.el6.x86_64.img
-rwxr-xr-x. 1 root root 3940016 Jan 23 22:02
vmlinuz-2.6.32-220.4.1.el6.x86_64
-rw-r--r--. 1 root root 2313117 Jan 23 22:02
System.map-2.6.32-220.4.1.el6.x86_64
-rw-r--r--. 1 root root 100947 Jan 23 22:02
config-2.6.32-220.4.1.el6.x86_64
-rw-r--r--. 1 root root 171175 Jan 23 22:02
symvers-2.6.32-220.4.1.el6.x86_64.gz
-rw-r--r--. 1 root root 14885301 Jan 26 08:13
initramfs-2.6.32-220.4.1.el6.x86_64.img
drwxr-xr-x. 2 root root 1024 Feb 6 01:06 grub
[root@titanium boot]#



_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 02-06-2012, 12:52 PM
Ljubomir Ljubojevic
 
Default How to boot into a different kernel

On 02/06/2012 02:37 PM, Jonathan Vomacka wrote:
> CentOS Community,
>
> Is there a command to boot into a different version of the kernel? I
> believe this is setup via grub.conf but unsure. There are a few
> different kernels loaded into /boot but I want to see if there is a
> command to boot into a different kernel as a single instance or
> permanent if needed. Please advise
>

Without changing the /boot/grub/grub.conf:
When you start CentOS/PC, press down or up error (repeatedly until menu
for kernel/system selection appears). Then select desired kernel.

With changing the /boot/grub/grub.conf, but manual selection:
In /boot/grub/grub.conf change:

disable hiding of the menu:
#hiddenmenu

Optionally change

timeout=10

with larger number (number is in seconds).


With changing the /boot/grub/grub.conf, and auto-selection:
Change:
default=0

to match entry you wish to boot by default

0 = first kernel, on top
1 = second
....
....


--

Ljubomir Ljubojevic
(Love is in the Air)
PL Computers
Serbia, Europe

Google is the Mother, Google is the Father, and traceroute is your
trusty Spiderman...
StarOS, Mikrotik and CentOS/RHEL/Linux consultant
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 12:33 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org