Linux - Kernel This forum is for all discussion relating to the Linux kernel.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
09-13-2010, 03:47 AM
#1
Senior Member
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Rep:
Any idea what file system(s) the kernel image is formatted in?
Do any of you know what file system the kernel image is written in, and if the kernel image can be mounted? Please reply to this thread if you know.
09-13-2010, 03:57 AM
#2
Moderator
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Ubuntu, OEL
Posts: 9,165
Unless I'm missing what you are referring to, a kernel image is a monolithic executable binary, not a file system.
09-13-2010, 04:19 AM
#3
Senior Member
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Original Poster
Rep:
Okay, that's all I needed to know. I thought it was a disk image, hence the word "image" in the name. Is it an ELF binary, then?
09-13-2010, 04:31 AM
#4
Moderator
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Ubuntu, OEL
Posts: 9,165
If you are talking about the .img file like kernel26.img, it might be a gzip compressed cpio archive.
09-13-2010, 04:39 AM
#5
Senior Member
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Original Poster
Rep:
Quote:
Originally Posted by
jlliagre
If you are talking about the .img file like kernel26.img, it might be a gzip compressed cpio archive.
You mean initrd.img? Yes, I know. I was talking about /boot/vmlinuz. That is an ELF binary, right?
09-13-2010, 04:43 AM
#6
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 10,456
Nope. Try readelf on it ...
09-13-2010, 04:59 AM
#7
Senior Member
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Original Poster
Rep:
Then what kind of binary is it?
09-13-2010, 05:19 AM
#8
Moderator
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Ubuntu, OEL
Posts: 9,165
This is what I got on an arch kernel:
Code:
# file vmlinuz26
vmlinuz26: Linux kernel x86 boot executable bzImage, version 2.6.33-ARCH (thomas@evey) #1 SM, RO-rootFS, swap_dev 0x1, Normal VGA
http://en.wikipedia.org/wiki/Vmlinux#bzImage
Last edited by jlliagre; 09-13-2010 at 05:20 AM .
Thread Tools
Search this Thread
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
All times are GMT -5. The time now is 07:45 AM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News