rootfs

mount rootfs on loopback

I have a rootfs boot image that I want to test by mounting on my local file system. How can I do this ? EDIT: The file was a rootfs.img but it turned out I did not have the correct filesystem support in my custom kernel. pjz's answer works once the fs support is there. ...

Mount RootFS error: VFS: Cannot open root device "mtdblock4" or unknown-block(0,0)

My MTD partition is: Creating 5 MTD partitions on "Physically mapped flash": 0x00000000-0x00040000 : "UBoot" 0x00040000-0x00060000 : "BDINFO" 0x00060000-0x00100000 : "JFFS2" 0x00100000-0x00380000 : "Kernel" 0x00380000-0x00800000 : "Rootfs" Kernel command line is: Kernel command line: console=ttyS0,115200 mem=32M noinitrd root=/dev/mtdb...

extend the size of already existing ext2 image

Is there a possibility to extend the size of already existing ext2 image? This image is a ramdisk based root file system. I already have an image. but I want to extend the size of this image. Is it possible to extend the size of this image. ...