LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 09-04-2009, 12:59 AM   #1
afreitascs
Member
 
Registered: Aug 2004
Location: Brasil
Distribution: Slackware_Cur-64_mult
Posts: 433

Rep: Reputation: 30
( 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 )

Last edited by afreitascs; 09-05-2009 at 01:17 AM.
 
Old 09-04-2009, 01:06 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
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).
 
Old 09-04-2009, 02:29 AM   #3
Ilgar
Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware 14.1, Slackware64 14.1
Posts: 930

Rep: Reputation: 96
Yes the kernel coming with 12.2 doesn't support ext4. You can recompile a new kernel that supports, though.
 
Old 09-04-2009, 11:59 PM   #4
afreitascs
Member
 
Registered: Aug 2004
Location: Brasil
Distribution: Slackware_Cur-64_mult
Posts: 433

Original Poster
Rep: Reputation: 30
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
 
Old 09-05-2009, 12:26 AM   #5
wadsworth
Member
 
Registered: Aug 2007
Distribution: Slackware64 13.37
Posts: 215

Rep: Reputation: 65
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

Last edited by wadsworth; 09-05-2009 at 12:31 AM.
 
Old 09-05-2009, 12:33 AM   #6
jedi_sith_fears
Member
 
Registered: Jan 2008
Location: Kolkata
Distribution: Slackware(64)-current, Fedora 14, FreeBSD
Posts: 136
Blog Entries: 1

Rep: Reputation: 29
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/.
 
Old 09-05-2009, 01:16 AM   #7
afreitascs
Member
 
Registered: Aug 2004
Location: Brasil
Distribution: Slackware_Cur-64_mult
Posts: 433

Original Poster
Rep: Reputation: 30
Thank you very much :-) Solved !!!!!

afreitascs

Dictionary.com
 
Old 09-05-2009, 03:18 AM   #8
Ilgar
Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware 14.1, Slackware64 14.1
Posts: 930

Rep: Reputation: 96
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.
 
Old 09-05-2009, 01:43 PM   #9
afreitascs
Member
 
Registered: Aug 2004
Location: Brasil
Distribution: Slackware_Cur-64_mult
Posts: 433

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Ilgar View Post
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Growing ext4 custangro Fedora 2 06-25-2009 04:58 PM
Is ext4 okay to use? WillingToLikeLinux Linux - Newbie 26 05-31-2009 12:55 PM
Ext4 questions jmite Linux - Newbie 2 03-31-2009 07:50 AM
ext4 on current? grissiom Slackware 7 03-12-2009 08:27 AM
Ext4 aukuntin Linux - General 1 09-16-2008 10:15 AM


All times are GMT -5. The time now is 11:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration