Hi All,
I was trying to mount
cramfs image as Ramdisk
rootfs for 2.6.14 kernel. Even though the kernel seems to detect the cramfs
image, it is not able to mount it as rootfs. It throws the error “cramfs:
bad root offset 4864” The target is little endian, and RHEL host on
which the image was built is also little endian.
The other images like EXT2 for ramdisk don’t seem to
get detected at all, and just throws error “VFS: Unable to mount root fs
on unknown-block(1,0)”. Anyone faced similar issue before or knows
what could be causing the problem.
go r root=/dev/ram rd_start=0x85000000 rd_size=5009408
rootfstype=cramfs
Initializing IPsec netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
WIPRO path_lookup retval 0
WIPRO security_sb_mount retval 0
WIPRO do_new_mount retval 0
WIPRO do_mount retval 0
RAMDISK: cramfs filesystem found at block 0
RAMDISK: Loading 4892KiB [1 disk] into ram disk... done.
cramfs: bad root offset 4864
Thanks
Hemanth