HPE GreenLake Administration
- Community Home
 - >
 - Servers and Operating Systems
 - >
 - Operating Systems
 - >
 - Operating System - Linux
 - >
 - Re: Old kernel version is being used, even after u...
 
Operating System - Linux
        1840188
        Members
    
    
        3913
        Online
    
    
        110162
        Solutions
    
Forums
        Categories
Company
Local Language
                
                  
                  back
                
        
                
        
                
        
                
        
        
        
                
        
                
        
        
        
                
        
              
              Forums
Discussions
Forums
- Data Protection and Retention
 - Entry Storage Systems
 - Legacy
 - Midrange and Enterprise Storage
 - Storage Networking
 - HPE Nimble Storage
 
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
                
                  
                  back
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
            
                
            
                
            
                
            
                
            
            
                
            
                
            
            
                
            
                
              
            Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
 - Appliance Servers
 - Alpha Servers
 - BackOffice Products
 - Internet Products
 - HPE 9000 and HPE e3000 Servers
 - Networking
 - Netservers
 - Secure OS Software for Linux
 - Server Management (Insight Manager 7)
 - Windows Server 2003
 - Operating System - Tru64 Unix
 - ProLiant Deployment and Provisioning
 - Linux-Based Community / Regional
 - Microsoft System Center Integration
 
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
        Information
        Community
Resources
Community Language
        Language
        Forums
Blogs
Topic Options
			
				
					
	
			
		
	- Subscribe to RSS Feed
 - Mark Topic as New
 - Mark Topic as Read
 - Float this Topic for Current User
 - Bookmark
 - Subscribe
 - Printer Friendly Page
 
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
06-21-2006 10:48 PM
06-21-2006 10:48 PM
			
				
					
						
							Old kernel version is being used, even after upgrade.  Please suggest.
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Hi,
We recently upgraded RHEL AS3 Update3 to Update6.
We have used yum to update.
I could confirm the upgrade by looking at the /etc/redhat-release file.
#more /etc/redhat-release
Red Hat Enterprise Linux AS release 3 (Taroon Update 6)
However the kernel version shown for the uname -a command looks to be still old.
# uname -a
Linux bangpcrh32 2.4.21-20.ELsmp #1 SMP Wed Aug 18 20:46:40 EDT 2004 i686 i686 i386 GNU/Linux
# rpm -qa | grep kernel
kernel-2.4.21-20.EL
kernel-doc-2.4.21-37.EL
kernel-pcmcia-cs-3.1.31-13
kernel-source-2.4.21-20.EL
kernel-2.4.21-37.EL
kernel-utils-2.4-8.37.12
kernel-smp-2.4.21-20.EL
kernel-source-2.4.21-37.EL
kernel-smp-2.4.21-37.EL
How do I change this. Please suggest.
Thanks & Regards
		
		
	
	
	
We recently upgraded RHEL AS3 Update3 to Update6.
We have used yum to update.
I could confirm the upgrade by looking at the /etc/redhat-release file.
#more /etc/redhat-release
Red Hat Enterprise Linux AS release 3 (Taroon Update 6)
However the kernel version shown for the uname -a command looks to be still old.
# uname -a
Linux bangpcrh32 2.4.21-20.ELsmp #1 SMP Wed Aug 18 20:46:40 EDT 2004 i686 i686 i386 GNU/Linux
# rpm -qa | grep kernel
kernel-2.4.21-20.EL
kernel-doc-2.4.21-37.EL
kernel-pcmcia-cs-3.1.31-13
kernel-source-2.4.21-20.EL
kernel-2.4.21-37.EL
kernel-utils-2.4-8.37.12
kernel-smp-2.4.21-20.EL
kernel-source-2.4.21-37.EL
kernel-smp-2.4.21-37.EL
How do I change this. Please suggest.
Thanks & Regards
		3 REPLIES 3
	
	            
            
		
		
			
            
                - Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
06-21-2006 11:38 PM
06-21-2006 11:38 PM
			
				
					
						
							Re: Old kernel version is being used, even after upgrade.  Please suggest.
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Hi,
I changed the default label in /etc/lilo.conf and ran the lilo -v -v command.
After a reboot, I could see the latest kernel being used as the default.
# uname -a
Linux bangpcrh32 2.4.21-37.ELsmp #1 SMP Wed Sep 7 13:28:55 EDT 2005 i686 i686 i386 GNU/Linux
Thanks.
					
				
			
			
				
			
			
				
			
			
			
			
			
			
		
		
		
	
	
	
I changed the default label in /etc/lilo.conf and ran the lilo -v -v command.
After a reboot, I could see the latest kernel being used as the default.
# uname -a
Linux bangpcrh32 2.4.21-37.ELsmp #1 SMP Wed Sep 7 13:28:55 EDT 2005 i686 i686 i386 GNU/Linux
Thanks.
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
06-22-2006 01:33 AM
06-22-2006 01:33 AM
			
				
					
						
							Re: Old kernel version is being used, even after upgrade.  Please suggest.
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Shalom,
Make sure the new kernel really is properly installed.
Then edit /boot/grub/grub.conf and put it into production.
The file is self documented.
SEP
		
		
	
	
	
Make sure the new kernel really is properly installed.
Then edit /boot/grub/grub.conf and put it into production.
The file is self documented.
SEP
	Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
			
			
				
			
			
			
			
			
			
		Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
06-22-2006 03:05 AM
06-22-2006 03:05 AM
			
				
					
						
							Re: Old kernel version is being used, even after upgrade.  Please suggest.
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						From the rpm output it can be seen that the kernel kernel-2.4.21-37.EL was correctly installed, but when you install a new kernel, you won't boot this new kernel by default.
Edit /etc/grub.conf and change the line:
default=0
By
default=
To boot the N option of the grub file (The kernel that you want). 
					
				
			
			
				
		
		
	
	
	
Edit /etc/grub.conf and change the line:
default=0
By
default=
To boot the N option of the grub file (The kernel that you want).
	Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
			
			
				
			
			
			
			
			
			
		The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
		
	
	
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP