Posts Topics Forums Images
Search videos from message boards Videos Search messages from microblogs Microblogs Search messages from imdb.com Imdb Search messages from yuku.com Yuku Search messages from lefora.com (free forums) Lefora
My account: Login | Sign Up
Loading... 

Thread: file type for the Linux kernel image file, (vmlinuz) is unknown

Started 1 month, 1 week ago by james2b
The file type for the Linux kernel image file, (vmlinuz) is shown as unknown, in most major distro's. Some Linux show the initial ram disk file, (initrd) as a GZip file type, but when I right click a kernel file and select properties, it says unknown file type, so can that be changed, or is it best to just let it be ? Thanks in advance.
Site: LinuxQuestions.org - where Linux users come for help  LinuxQuestions.org - where Linux users come for help - site profile
Forum: Linux - Software  Linux - Software - forum profile
Total authors: 3 authors
Total thread posts: 8 posts
Thread activity: no new posts during last week
Domain info for: linuxquestions.org

Other posts in this thread:

jschiwal replied 1 month, 1 week ago
There are two types of initrd files. One type is a compressed ext2 filesystem. The other is a compressed cpio archive. The latter seems to be what I've seen lately. Copy your initrd file to your home directory. The use the file commandto examine it. example: Code: > cp /boot/initrd-2.6.27.37-0.1-default ~ > mv ...

jschiwal replied 1 month, 1 week ago
There are two types of initrd files. One type is a compressed ext2 filesystem. The other is a compressed cpio archive. The latter seems to be what I've seen lately. Copy your initrd file to your home directory. The use the file command to examine it. example: Code: > cp /boot/initrd-2.6.27.37-0.1-default ~ > mv ...

Elv13 replied 1 month, 1 week ago
Filetype can be determined using file header, but the extension is normally the "safest" way to do it. The fact that your image is not seen as a gunzip file do not affect vmlinuz behavior in any way, so I recommand to just ignore it. After all, you don't have to play in this file by yourself frequently. EDIT: Removed a comment

jschiwal replied 1 month, 1 week ago
I did suggest using the "file" command to examine it. It will use the files contents (signature) rather than relying on the extension. It will also analyze files containing filesystems such as an image file.

james2b replied 1 month, 1 week ago
Thanks for the information, also is there a way to remove older versions of the vmlinuz kernel, (such as when the package updates installs a new kernel version, and some Linux will keep several older versions) ? It may work with a search with the package manager ?

jschiwal replied 1 month ago
You could use your package manager. You could also use your package manager (e.g. rpm -ql in openSuSE in your list of distros) to find the files installed and remove them. Of course if you compiled your own kernel, you may not have this information in your package manager. Deleting the vmlinuz-<version> and initrd-<version> files in /boot, and the files in /lib/modules/<version>/ will free ...

james2b replied 1 month ago
Each of the major Linux installs I have, do handle the kernel and initrd updates differently, as far as how many previous versions to keep. Some will just keep 1 or 2 older versions, and some like Ubuntu keeps all the older kernels and initial ram disks files. I think Fedora does it best, by just allowing 2 older versions to remain, so 3 total with the new. It would be better if all Linux can be ...

 

Top contributing authors

Name
Posts
jschiwal
4
user's latest post:
file type for the Linux kernel...
Published (2009-11-11 02:07:00)
You could use your package manager. You could also use your package manager (e.g. rpm -ql in openSuSE in your list of distros) to find the files installed and remove them. Of course if you compiled your own kernel, you may not have this information in your package manager. Deleting the vmlinuz-&lt;version&gt; and initrd-&lt;version&gt; files in /boot, and the files in /lib/modules/&lt;version&gt;/ will free up a lot of...
james2b
3
user's latest post:
file type for the Linux kernel...
Published (2009-11-12 15:39:00)
Each of the major Linux installs I have, do handle the kernel and initrd updates differently, as far as how many previous versions to keep. Some will just keep 1 or 2 older versions, and some like Ubuntu keeps all the older kernels and initial ram disks files. I think Fedora does it best, by just allowing 2 older versions to remain, so 3 total with the new. It would be better if all Linux can be more consistent with this, or have a tool with...
Elv13
1
user's latest post:
file type for the Linux kernel...
Published (2009-11-09 22:44:00)
Filetype can be determined using file header, but the extension is normally the &quot;safest&quot; way to do it. The fact that your image is not seen as a gunzip file do not affect vmlinuz behavior in any way, so I recommand to just ignore it. After all, you don't have to play in this file by yourself frequently. EDIT: Removed a comment

Related threads on "LinuxQuestions.org - where Linux users come for help":

Related threads on other sites:

Thread profile page for "file type for the Linux kernel image file, (vmlinuz) is unknown" on http://www.linuxquestions.org. This report page is a snippet summary view from a single thread "file type for the Linux kernel image file, (vmlinuz) is unknown", located on the Message Board at http://www.linuxquestions.org. This thread profile page shows the thread statistics for: Total Authors, Total Thread Posts, and Thread Activity