To mount the drive in fedora I just typed
Code: Select all
mount -t ext4 /dev/sdb1 /media/media
After having a few problems on fedora (and not liking rpm/yum as much as deb/apt) I reinstalled Debian from the weekly testing CD. As lenny is still frozen I decided to upgrade to sid until squeeze is released when I will change my sources back to testing.
The problem is I tried to mount the drive using the same commands I used on fedora and got the error
Code: Select all
mount: unknown filesystem type 'ext4'
So I tried mounting the drive using "ext4dev" instead of just "ext4" but I'm getting this error:In Debian Lenny (Testing), the following current packages provide ext4 support:
* ext4dev module in the linux-image package (2.6.26-10)
* e2fsprogs (1.41.3-1)
It should be noted that the stock 2.6.26 ext4 has problems with delayed allocation and with filesystems with non-extent based files. So until Debian starts shipping a 2.6.27 based kernel or a 2.6.26 kernel with at least the 2.6.26-ext4-7 patchset, you should mount ext4dev filesystems using -o nodelalloc and only use freshly created filesystems using "mke2fs -t ext4dev". (Without these fixes, if you try to use an ext3 filesystem which was converted using tune2fs -E test_fs -o extents /dev/DEV, you will probably hit a kernel BUG the moment you try to delete or truncate an old non-extent based file.)
Code: Select all
mount: wrong fs type, bad option, bad superblock on /dev/hdd1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
Code: Select all
[ 2418.752407] EXT4-fs: hdd1: not marked OK to use with test code.
Thanks
EDIT: Forgot to say, I know I could just build a newer kernel but I want to check if theres an easier way first as I have never built/compiled a kernel before