[CentOS] Stage2.img

Phil Schaffner Philip.R.Schaffner at NASA.gov
Wed Aug 29 17:40:01 UTC 2007


On Wed, 2007-08-29 at 10:10 -0700, semi linux wrote:
... snip ...
> Not top posting (although I think this a preference more then a rule).
> 
> Let me clarify what I'm asking - What's different about the stage2.img
> file distributed with CentOS 5.0?  The instructions found on the web
> for 'hacking' this don't work as the file doesn't seem to be cramfs
> and/or mountable.  Is it a different FS?
> 
> As suggested, I greped /usr/share/doc/anaconda-11.1.2.36 for any
> mention of "stage2" and "cram" and all are irrelevant to this post. 

The CentOS5 file is squashfs not cramfs.

[root at wx1 images]# pwd
/raid/RH/CentOS/5/os/i386/images
[root at wx1 images]# file stage2.img
stage2.img: Squashfs filesystem, little endian, version 3.0, 0 bytes,
7929 inodes, blocksize: 65536 bytes, created: Tue Apr 10 15:58:33 2007
[root at wx1 images]# mount -ro loop -t squashfs stage2.img /tmp/mnt
[root at wx1 images]# ll /tmp/mnt
total 0
drwxr-xr-x 9 root root  250 Apr 10 15:41 etc
drwxr-xr-x 3 root root 1726 Apr 10 15:41 lib
drwxr-xr-x 2 root root    3 Apr 10 15:50 modules
drwxr-xr-x 2 root root    3 Apr 10 15:41 proc
drwxr-xr-x 8 root root   85 Apr 10 15:41 usr
drwxr-xr-x 4 root root   30 Apr 10 15:41 var

Phil
-- to-borrow-a-sig --

A:  Because it messes up the order in which people normally read text.
Q:  Why is top-posting a bad thing?






More information about the CentOS mailing list