<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: make bzImage vs make zImage</title>
	<atom:link href="http://ertw.com/blog/2004/04/17/make-bzimage-vs-make-zimage/feed/" rel="self" type="application/rss+xml" />
	<link>http://ertw.com/blog/2004/04/17/make-bzimage-vs-make-zimage/</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Wed, 18 Jan 2012 13:46:56 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Sean</title>
		<link>http://ertw.com/blog/2004/04/17/make-bzimage-vs-make-zimage/comment-page-1/#comment-107</link>
		<dc:creator>Sean</dc:creator>
		<pubDate>Thu, 17 Jun 2004 17:24:38 +0000</pubDate>
		<guid isPermaLink="false">http://ertw.com/blog2/?p=85#comment-107</guid>
		<description>Don&#039;t confuse a zImage kernel with a disk image.  A disk image contains a      
kernel and a filesystem, the zImage kernel is just the kernel itself in a      
compressed format.                                                             
                                                                               
It&#039;s been a while, but the disk image is usually a msdos file system           
containing the kernel and a compressed ext2 file system.  Mount the floppy     
as per normal, and see what&#039;s on it.  One of the files (there may only be      
one) is the compressed file system.  Copy that to your hard drive, gunzip      
it, and remount it with the loop option, ie                                    
                                                                               
mkdir /mnt/loop                                                                
cp /mnt/floppy/the_filesystem /tmp                                             
gunzip /tmp/the_filesystem                                                     
mount /tmp/the_filesystem /mnt/loop -o loop                                    
                                                                               
At that point you can edit the files in /mnt/loop, unmount /mnt/loop,          
compress /tmp/the_filesystem, copy it back over the old file in                
/mnt/floppy, and unmount /mnt/floppy (whew)      
</description>
		<content:encoded><![CDATA[<p>Don&#8217;t confuse a zImage kernel with a disk image.  A disk image contains a<br />
kernel and a filesystem, the zImage kernel is just the kernel itself in a<br />
compressed format.                                                             </p>
<p>It&#8217;s been a while, but the disk image is usually a msdos file system<br />
containing the kernel and a compressed ext2 file system.  Mount the floppy<br />
as per normal, and see what&#8217;s on it.  One of the files (there may only be<br />
one) is the compressed file system.  Copy that to your hard drive, gunzip<br />
it, and remount it with the loop option, ie                                    </p>
<p>mkdir /mnt/loop<br />
cp /mnt/floppy/the_filesystem /tmp<br />
gunzip /tmp/the_filesystem<br />
mount /tmp/the_filesystem /mnt/loop -o loop                                    </p>
<p>At that point you can edit the files in /mnt/loop, unmount /mnt/loop,<br />
compress /tmp/the_filesystem, copy it back over the old file in<br />
/mnt/floppy, and unmount /mnt/floppy (whew)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Bouthillier</title>
		<link>http://ertw.com/blog/2004/04/17/make-bzimage-vs-make-zimage/comment-page-1/#comment-106</link>
		<dc:creator>David Bouthillier</dc:creator>
		<pubDate>Thu, 17 Jun 2004 17:06:29 +0000</pubDate>
		<guid isPermaLink="false">http://ertw.com/blog2/?p=85#comment-106</guid>
		<description>Sean:

I have a question about a zImage. I have a TimeSys Linux kernel in a zImage format. What I would like to do is have some users already set up in the /etc/passwd file that is in the zImage file. Is there a way I can decompress the zImage on my Linux machine, edit the /etc/passwd file and then re-zip it?

When the zImage is made, it uses the Linux kernel and also the all files its needs (the bins and stuff) right? I have all of the source for the TimeSys Linux kernel but I dont know where to look for these other files that are used in the zImage. Do you know where I could look to figure this out?

Thanks</description>
		<content:encoded><![CDATA[<p>Sean:</p>
<p>I have a question about a zImage. I have a TimeSys Linux kernel in a zImage format. What I would like to do is have some users already set up in the /etc/passwd file that is in the zImage file. Is there a way I can decompress the zImage on my Linux machine, edit the /etc/passwd file and then re-zip it?</p>
<p>When the zImage is made, it uses the Linux kernel and also the all files its needs (the bins and stuff) right? I have all of the source for the TimeSys Linux kernel but I dont know where to look for these other files that are used in the zImage. Do you know where I could look to figure this out?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>

