Alan Feuerbacher schrieb:

> root [ ~ ]# mount -t ext3 /dev/sdb2 /mnt/debian
> [ 7007.133976] EXT3-fs (sdb2): error: unable to read superblock
> mount: wrong fs type, bad option, bad superblock on /dev/sdb2,
>         missing codepage or helper program, or other error
>         In some cases useful info is found in syslog - try
>         dmesg | tail  or so

you get a nice list of possible problems:

- wrong fs type
/dev/sdb2 is probably not an ext3 partition

- bad option / - missing helper program
if /dev/sdb2 is ext3, whe partition was formatted with options not
supported by your e2fsprogs (acl, attr)

- missing codepage
your kernel does not support the required codepages (probability very
very low)

- try dmesg
just have a look at dmesg output, or look at your syslog


> root [ ~ ]# mount -t ext4 /dev/sda2 /mnt/fedora
> mount: unknown filesystem type 'ext4'
your e2fsprogs seems to have some problems or more likely you don't have
ext4-support in your kernel!

CONFIG_EXT4_FS=y
CONFIG_EXT4_FS_ATTR=y
CONFIG_EXT4_FS_POSIX_ACL=y

as mentionned in an earlier message, some time ago i had to add ATTR and
POSIX_ACL to the kernel (CONFIG_EXT{2,3,4}_FS*), build the attr and acl
stuff (just follow blfs) and add 'acl' and 'user_xattr' to the mount
options to be able to mount a suse disk


> root [ ~ ]# mount -t ext3 /dev/sda1 /mnt/fedora
> [ 7132.816822] EXT3-fs (sda1): error: couldn't mount because of
> unsupported optional features (240)
> mount: wrong fs type, bad option, bad superblock on /dev/sda1,
>         missing codepage or helper program, or other error
>         In some cases useful info is found in syslog - try
>         dmesg | tail  or so

1) /dev/sda1 is ext4 but you are missing the kernel support
2) /dev/sda1 is ext3 but with attr and/or acl support
3) /dev/sda1 is ext4 w/o kernel support and attr/acl support



dont' specify -t. i have 'auto' for all partitions in my fstab (except
the system mounts which are not partitions: proc, sysfs...). mount is
able to detect the type.



tobias
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to