cramfs:wrong magic

Vidya Srinivas vidya.s at bpltelecom.com
Tue Aug 26 03:02:16 EDT 2003


Hi all,

   I am using Montavista Linux. I want to mount cramfs as my rootfile
system. In the kernal command line arguments i have mentioned:

root=/dev/mtdblock3 rootfstype=cramfs init=/sbin/init

At the time of FS mounting, the kernel is throwing this error:

cramfs : wrong magic

And, the kernel panics.

I checked the magic numberof my file system image file (by reading the
contents in textpad), it shows 0x28cd3d45 which i think is the right magic
number.

If i simply try to mount this image on my Red hat 7.3,

mount -o loop -t cramfs img.cramfs /mnt/

It mounts correctly without giving any problem.

What might be the mistake?

Please help me out.

Regards,

-- 
Vidya.S
BPL TELECOM LTD
11th KM, Arikere
Bannergatta Road,
Bangalore - 560072
email - vidya.s at bpltelecom.com
Ph - 6589080 extn - 2005





More information about the linux-mtd mailing list