Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Use ext4 for ext2/ext3 file systems [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
turtles
Veteran
Veteran


Joined: 31 Dec 2004
Posts: 1698

PostPosted: Wed Apr 18, 2012 9:29 pm    Post subject: Use ext4 for ext2/ext3 file systems [solved] Reply with quote

I selected "Use ext4 for ext2/ext3 file systems" and am not able to mount an ext2 partition.
i get
Code:
 mount /boot
mount: unknown filesystem type 'ext2'

It mounted the ext3 partition fine.
Relevant fstab:

Code:
/dev/sda3               /boot           ext2            noauto,noatime  1 2
/dev/sda6               /               ext3            noatime         0 1

_________________
Donate to Gentoo


Last edited by turtles on Fri Apr 20, 2012 2:54 pm; edited 2 times in total
Back to top
View user's profile Send private message
gentoo_ram
Guru
Guru


Joined: 25 Oct 2007
Posts: 520
Location: San Diego, California USA

PostPosted: Wed Apr 18, 2012 11:36 pm    Post subject: Reply with quote

Look at the contents of /proc/filesystems

Make sure ext2 is listed in there. It's the list of filesystem types your kernel supports. Did you also select the ext2 filesystem option separately? Like maybe as a module?
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Wed Apr 18, 2012 11:49 pm    Post subject: Reply with quote

[*]turtles,

Are you sure :?:

Paste back
Code:
blkid

and
Code:
cat /etc/fstab


EDIT: Forget the fstab, didn't notice it at first glance :oops:
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
turtles
Veteran
Veteran


Joined: 31 Dec 2004
Posts: 1698

PostPosted: Thu Apr 19, 2012 12:27 am    Post subject: Reply with quote

Thanks for the replies.
Here is the relavent stuff from those files:
Code:

/dev/sda3: UUID="2b87da1b-e0ac-485c-80e9-ba28e85735d1" TYPE="ext2"


Code:
/dev/sda3               /boot           ext2            noauto,noatime  1 2


This issue came up on a system I am updating for a friend.
had a working fstab.

My first idea was to compile the ext2 as a module and tried to load it no luck.

Had to recompile kernel and deselect under filesystems:
Code:
Use ext4 for ext2/ext3 file systems (NEW)


and enable ext2 and ext3 support.

#Then walk some one through burning a livecd, booting a live cd, and coping copy kernel over to /boot (over the phone) since I am not where the computer is.

I had ext2 and 3 deselected assuming
Code:
Use ext4 for ext2/ext3 file systems (NEW)

ment
kernel-help-text wrote:
Allow the ext4 file system driver code to be used for ext2 or │
│ ext3 file system mounts. This allows users to reduce their │
│ compiled kernel size by using one file system driver for │
│ ext2, ext3, and ext4 file systems.


Note to self and others This is not the case beware of this kernel option.
_________________
Donate to Gentoo
Back to top
View user's profile Send private message
Etal
Veteran
Veteran


Joined: 15 Jul 2005
Posts: 1932

PostPosted: Thu Apr 19, 2012 2:04 am    Post subject: Reply with quote

It seems like it's on your end, because for me it works as advertised:

Code:
  │ │    < > Second extended fs support                                   │ │ 
  │ │    < > Ext3 journalling file system support                         │ │ 
  │ │    <*> The Extended 4 (ext4) filesystem                             │ │ 
  │ │    [*]   Use ext4 for ext2/ext3 file systems                        │ │ 
  │ │    [*]   Ext4 extended attributes                                   │ │ 
  │ │    [*]     Ext4 POSIX Access Control Lists                          │ │ 
  │ │    [ ]     Ext4 Security Labels                                     │ │ 
  │ │    [ ]   EXT4 debugging support                                     │ │


Code:
# mount | grep ext
/dev/root on / type ext4 (rw,noatime,user_xattr,acl,barrier=1,data=ordered)
/dev/sda1 on /boot type ext2 (rw,noatime,user_xattr,acl,barrier=1)

_________________
“And even in authoritarian countries, information networks are helping people discover new facts and making governments more accountable.”– Hillary Clinton, Jan. 21, 2010
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2678

PostPosted: Thu Apr 19, 2012 2:34 am    Post subject: Reply with quote

Etal wrote:
It seems like it's on your end, because for me it works as advertised:


++

I have been using this for over a year with no problem.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
turtles
Veteran
Veteran


Joined: 31 Dec 2004
Posts: 1698

PostPosted: Thu Apr 19, 2012 6:05 pm    Post subject: Reply with quote

Yes problems are usually on my end
<- see all those posts I have. :lol:

I did to a blazing fast hack job on the box, had not been updated since 2010.
Had to do gcc, bayselayout2 and dump hal upgrades.
I recall trying makeold config on the kernel, perhaps I lost ext2 support on a botched but running kernel then I complied a newer kernel did not notice the failed mount since I use a script for kernels.

I looked for some bugs:

https://bugzilla.kernel.org/show_bug.cgi?id=15391
https://bugzilla.kernel.org/show_bug.cgi?id=15420
https://bugzilla.kernel.org/show_bug.cgi?id=41682
https://bugzilla.kernel.org/show_bug.cgi?id=25832

Nothing identical.
I will try it again just for bug reporting.
_________________
Donate to Gentoo
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum