LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   ( Solved ) slack 12.2 not see fs ext4 ...why? (http://www.linuxquestions.org/questions/slackware-14/solved-slack-12-2-not-see-fs-ext4-why-752563/)

afreitascs 09-04-2009 12:59 AM

( Solved ) slack 12.2 not see fs ext4 ...why?
 
slack 12.2 not see fs ext4 ...Why?

my /etc/fstab

Quote:

...........
.........
/dev/sda6 /mnt/slack13 ext4 defaults 1 2
/dev/sda2 /mnt/slack122 ext3 defaults 1 1

...............
.............
Fresh installation slack12.2 also not ...

thanks
afreitascs

ps: my en is bad .( dictionary.com )

Nylex 09-04-2009 01:06 AM

Probably because you've not got ext4 support in the kernel. Look at your kernel config to be sure (e.g. "grep EXT4 /boot/config", but replace "config" with the config file for the kernel you're actually using).

Ilgar 09-04-2009 02:29 AM

Yes the kernel coming with 12.2 doesn't support ext4. You can recompile a new kernel that supports, though.

afreitascs 09-04-2009 11:59 PM

I thought about it, then compiled as ext4 module.

I think that should be compiled as build-in ,right ?

In a fresh installation of slack12.2 the ext4 fs is compiled as a module ...

Thank you very much :-)
afreitascs

Dictionary.com

wadsworth 09-05-2009 12:26 AM

Ext4 was not released as stable until kernel 2.6.28.
I think you need to mount as type "ext4dev" for earlier kernels.

You would also need the "test_fs" flag set:
Code:

tune2fs -E test_fs /dev/sda6
But an fsck will reset that flag, prevent this by creating the file
/etc/e2fsck.conf
Code:

[options]
        clear_test_fs_flag = false

You can manually clear the test_fs flag if needed:
Code:

tune2fs -E ^test_fs /dev/sda6

jedi_sith_fears 09-05-2009 12:33 AM

wadsworth is right. In the default 12.2 kernel, mount it as ext4dev and it works.

However, you need to recompile the kernel if you want a ext4 / partition.

If you want to use ext4 as /boot partition, you can see the little guide I wrote here http://www.linuxquestions.org/questi...kguide-752713/.

afreitascs 09-05-2009 01:16 AM

Thank you very much :-) Solved !!!!!

afreitascs

Dictionary.com

Ilgar 09-05-2009 03:18 AM

I wouldn't recommend mounting an ext4 filesystem as ext4dev under an earlier kernel. After all, there might be some bugs or incompatibilities in the earlier version which may cause data corruption.

afreitascs 09-05-2009 01:43 PM

Quote:

Originally Posted by Ilgar (Post 3670598)
I wouldn't recommend mounting an ext4 filesystem as ext4dev under an earlier kernel. After all, there might be some bugs or incompatibilities in the earlier version which may cause data corruption.

thanks for the warning!

afreitascs


All times are GMT -5. The time now is 10:03 PM.