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 at 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 at titanium boot]#
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