LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices



Reply
 
Search this Thread
Old 09-13-2010, 04:47 AM   #1
Kenny_Strawn
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
Blog Entries: 62

Rep: Reputation: 55
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.
 
Old 09-13-2010, 04:57 AM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,523

Rep: Reputation: 365Reputation: 365Reputation: 365Reputation: 365
Unless I'm missing what you are referring to, a kernel image is a monolithic executable binary, not a file system.
 
Old 09-13-2010, 05:19 AM   #3
Kenny_Strawn
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
Blog Entries: 62

Original Poster
Rep: Reputation: 55
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?
 
Old 09-13-2010, 05:31 AM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,523

Rep: Reputation: 365Reputation: 365Reputation: 365Reputation: 365
If you are talking about the .img file like kernel26.img, it might be a gzip compressed cpio archive.
 
Old 09-13-2010, 05:39 AM   #5
Kenny_Strawn
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
Blog Entries: 62

Original Poster
Rep: Reputation: 55
Quote:
Originally Posted by jlliagre View Post
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?
 
Old 09-13-2010, 05:43 AM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,500

Rep: Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077
Nope. Try readelf on it ...
 
Old 09-13-2010, 05:59 AM   #7
Kenny_Strawn
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
Blog Entries: 62

Original Poster
Rep: Reputation: 55
Then what kind of binary is it?
 
Old 09-13-2010, 06:19 AM   #8
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,523

Rep: Reputation: 365Reputation: 365Reputation: 365Reputation: 365
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 06:20 AM.
 
  


Reply

Tags
filesystem


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Restore files from an ext3 file system formatted with NTFS nubix Linux - General 3 10-01-2009 11:04 AM
How to effectively compress a 'dd' system disk image formatted to ext3? brianpbarnes Linux - Software 6 09-05-2009 11:09 PM
Silicon Image 3112 Raid 1 system idea marco.hahn Linux - Server 6 12-09-2007 02:48 PM
Retrieving semi-formatted data: Kernel Panic (cannot find file or dir /dev/root) majorGrey Linux - General 2 09-05-2007 05:02 AM
idea to hide encrypted file system on audio cd ? qwijibow Linux - Security 2 09-13-2004 09:53 PM


All times are GMT -5. The time now is 02:45 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration