[Celinux-dev] mount error when I mount ext2 block file in Ubuntu 6.06

Paolo Giarrusso p.giarrusso at gmail.com
Fri Sep 15 09:04:30 PDT 2006


On 9/15/06, chenggh <chenggh04 at st.lzu.edu.cn> wrote:
> Hi, Everyone:
>         In Ubuntu6.06 when I mount the ext2 block file there is something wrong. It
> is like this:
>
>         root at fiasco-desktop:/home/fiasco/uml# mount -t ext2 -o loop rootfs /mnt/
>                 mount: wrong fs type, bad option, bad superblock on /dev/loop0,
>                 missing codepage or other error
>                 some cases useful info is found in syslog - try
>                 dmesg | tail  or so
>         root at fiasco-desktop:/home/fiasco/uml# dmesg | tail
>         4294805.745000] loop: loaded (max 8 devices)
>         [4295632.760000] VFS: Can't find an ext2 filesystem on dev loop2.
>         [4295791.983000] VFS: Can't find an ext2 filesystem on dev loop0.
>
>         My host OS is Ubuntu6.06. I don't know why. Please help me.

Post the output of "file rootfs" and of "mount -o loop rootfs /mnt/" -
possibly (if that is indeed an ext2 fs) also "fsck rootfs" should be
run when the fs is unmounted (possibly fsck -n, IIRC, to avoid doing
changes and just check for errors).

Finally, "modprobe ext2" and "lsmod|grep ext2" to verify the loading
should be done - if modprobe fails it means ext2 is compiled in or
that you recompiled the kernel without ext2.


More information about the Celinux-dev mailing list