LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-09-2010, 11:50 PM   #1
gardenair
Member
 
Registered: Oct 2004
Location: LH
Posts: 648

Rep: Reputation: 45
what is vmlinux file ?


Hi,
In the /boot directory I can see files

vmlinux -2.4.20.8
3.0 MB

vmlinux
1.1 MB


please guide me that what is the difference between them ? both files has same name ?

2- what is the meaning of 2.4.20.8 with the vmlinux file ?

thanks
gardenair
 
Old 03-10-2010, 12:06 AM   #2
Web31337
Member
 
Registered: Sep 2009
Location: Russia
Distribution: Gentoo, LFS
Posts: 399
Blog Entries: 71

Rep: Reputation: 65
Those look like linux kernel images.
What is your distro? What is your boot loader? See what kernel boots.
That kernel 2.4.20 is quite old btw.

Last edited by Web31337; 03-10-2010 at 12:08 AM.
 
Old 03-10-2010, 12:25 AM   #3
gardenair
Member
 
Registered: Oct 2004
Location: LH
Posts: 648

Original Poster
Rep: Reputation: 45
i am using Red Hat Linux 9 . Ia m ia m using the default boot loader .
 
Old 03-10-2010, 12:54 AM   #4
retired1af
LQ Newbie
 
Registered: Mar 2005
Distribution: VectorLinux 6 Standard
Posts: 8

Rep: Reputation: 0
You should update the kernel. There have been many security updates/fixes since 2.4.x. The repository should have kernel updates you can install to your machine.
 
Old 03-10-2010, 03:26 AM   #5
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
He probably can't use a 2.6 kernel easily. RedHat9 is ancient if my memory serves correctly. Still 2.4 is in good shape, and the last update is from 1st of February (2.4.37.9).

Relating to the original question, we can't be sure about these files. But yeah, those file names match those usually used for kernel images. The numbers are the kernel version. "vmlinuz" alone might be a symlink (usually to the latest kernel you installed). You can check more details about the files by going into /boot and using "ls -l vmlinuz*"
 
Old 03-10-2010, 03:45 AM   #6
kainosnous
Member
 
Registered: Mar 2010
Location: Tennessee, USA
Distribution: Arch, Fedora
Posts: 59

Rep: Reputation: 18
As i92guboj said, "ls -l /boot/vmlinux*" will give you some information on the files like if one is a link to the other and if not you can see if they are the same size. Also, you can try "file /boot/vmlinux" to make sure that they are kernel files and a little more information.
 
Old 03-10-2010, 03:49 AM   #7
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 70
vmlinuz; there is a 'z' on the end. Google is your friend here, as is the 'file' command, as thus:

Code:
jc@jcmain:~$ file /boot/vmlinuz-2.6.30-custom 
/boot/vmlinuz-2.6.30-custom: Linux kernel x86 boot executable RO-rootFS, root_dev 0x802, swap_dev 0x1, Normal VGA
 
Old 03-10-2010, 04:53 AM   #8
gardenair
Member
 
Registered: Oct 2004
Location: LH
Posts: 648

Original Poster
Rep: Reputation: 45
thanks for the replies. well the command " ls -l /boot/vmlinux* " . Here what * means . please just guide me .


2- when i use the command & ls -l /boot/vmlinuz* it show the following output

lrwxrwxrwx 1 root root 16 Jan /boot/vmlinuz...>vmlinux -2.4.20-8
-rw-r--r-- 1 root root 1122186 mAR 14 /BOOT/VMLINUX -2.4.20-8

Plz tell me that what is l the persmission on the linux kernal.
thanks again for the help.
 
Old 03-10-2010, 04:56 AM   #9
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Quote:
Originally Posted by gardenair View Post
thanks for the replies. well the command " ls -l /boot/vmlinux* " . Here what * means . please just guide me .


2- when i use the command & ls -l /boot/vmlinuz* it show the following output

lrwxrwxrwx 1 root root 16 Jan /boot/vmlinuz...>vmlinux -2.4.20-8
-rw-r--r-- 1 root root 1122186 mAR 14 /BOOT/VMLINUX -2.4.20-8

Plz tell me that what is l the persmission on the linux kernal.
thanks again for the help.
'l' means "link". /boot/vmlinuz is a soft/symbolic link (also knowns as "symlink") to /boot/vmlinuz-2.4.20-8.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
make[1]: Warning: File `.vmlinux.cmd' has modification time 9.3e+03 s in the future ? Ellops Slackware 2 04-11-2007 04:25 PM
What is vmlinux.scr for ? cyu021 Linux - Software 0 05-07-2005 11:06 AM
What is the different between vmlinux and zImage? alice95089 Linux - Software 1 02-21-2005 02:10 AM
How do you make a initrd and vmlinux file? britishnemesis Linux - General 10 11-03-2003 09:30 AM
vmlinux eastj1974 Linux - Newbie 1 04-19-2003 03:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration