LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices


Reply
  Search this Thread
Old 08-21-2010, 09:50 PM   #1
rusyd
LQ Newbie
 
Registered: Oct 2009
Posts: 13

Rep: Reputation: 1
Mounting ext4 partition


Hi, I'm still new to Gentoo
I have compiled my kernel with ext4 support and done instructions in wiki but I'm still unable to mount my ext4 partition.

The output says: "Unknown fs type ext4"

Any idea how to solve my problem?
Thanks.
 
Old 08-21-2010, 10:41 PM   #2
quanta
Member
 
Registered: Aug 2007
Location: Vietnam
Distribution: RedHat based, Debian based, Slackware, Gentoo
Posts: 724

Rep: Reputation: 101Reputation: 101
Did you install e2fsprogs:
Code:
$ cd /var/db/pkg/ && ls -d */* | grep e2fsprogs
Re-check also if your kernel support ext4:
Code:
$ grep -i ext4 /usr/src/linux-`uname -r`/.config
 
Old 08-21-2010, 10:41 PM   #3
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
Have you compiled it as module. If so then first as root enter the command "modprobe ext4". Then try mounting it.
 
Old 08-22-2010, 02:09 AM   #4
rusyd
LQ Newbie
 
Registered: Oct 2009
Posts: 13

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by quanta View Post
Did you install e2fsprogs:
Code:
$ cd /var/db/pkg/ && ls -d */* | grep e2fsprogs
yes I, e2fsprogs was installed
Quote:
Originally Posted by quanta View Post
Re-check also if your kernel support ext4:
Code:
$ grep -i ext4 /usr/src/linux-`uname -r`/.config
CONFIG_EXT4_FS is not set
This is my fault.
I forgot to save my kernel configuration to .config so the kernel was compiled with default configuration and doesn't support ext4.
I have already recompiled my kernel again and now I can mount ext4 partition perfectly.

Thank you very much

Last edited by rusyd; 08-22-2010 at 02:11 AM.
 
  


Reply



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
Mounting ext4 drives on Ubuntu 9.10 lolrabbits Ubuntu 5 03-06-2010 11:22 AM
mounting an ext4 filesystem from ext3(or reiser): What do I need? svar Slackware 27 09-19-2009 02:19 PM
mounting ext3 FS as ext4 info1686 Linux - General 1 07-08-2009 07:16 AM
Problem mounting Ext4 mattydee Slackware 5 05-02-2009 08:40 AM
Ext4 partition corrupted by resized NTFS Vista C:\ partition? graviton-boson Linux - Newbie 2 03-16-2009 01:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo

All times are GMT -5. The time now is 01:41 AM.

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
Open Source Consulting | Domain Registration