View previous topic :: View next topic |
Author |
Message |
turtles Veteran


Joined: 31 Dec 2004 Posts: 1698
|
Posted: Wed Apr 18, 2012 9:29 pm Post subject: Use ext4 for ext2/ext3 file systems [solved] |
|
|
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 |
|
 |
gentoo_ram Guru

Joined: 25 Oct 2007 Posts: 520 Location: San Diego, California USA
|
Posted: Wed Apr 18, 2012 11:36 pm Post subject: |
|
|
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 |
|
 |
BillWho Veteran


Joined: 03 Mar 2012 Posts: 1600 Location: US
|
Posted: Wed Apr 18, 2012 11:49 pm Post subject: |
|
|
[*]turtles,
Are you sure
Paste back
and
EDIT: Forget the fstab, didn't notice it at first glance  _________________ Good luck
Since installing gentoo, my life has become one long emerge  |
|
Back to top |
|
 |
turtles Veteran


Joined: 31 Dec 2004 Posts: 1698
|
Posted: Thu Apr 19, 2012 12:27 am Post subject: |
|
|
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 |
|
 |
Etal Veteran


Joined: 15 Jul 2005 Posts: 1932
|
Posted: Thu Apr 19, 2012 2:04 am Post subject: |
|
|
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 |
|
 |
The Doctor Moderator


Joined: 27 Jul 2010 Posts: 2678
|
Posted: Thu Apr 19, 2012 2:34 am Post subject: |
|
|
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 |
|
 |
turtles Veteran


Joined: 31 Dec 2004 Posts: 1698
|
|
Back to top |
|
 |
|