gentoo unknown filesystem type ‘ext2′

Posted in Linux , wtf

I usually make my boot partition ext2 because it doesn’t stay mounted and doesn’t get written to unless i’m installing a new kernel or tweaking the options like vga=0×317 or whatever. So having a journal is a waste and it may as well just be ext2. But strangely enough, when I boot, grub sees the boot partition, grub.conf, and the kernel and loads with no problem. But when I try to mount /dev/sda1 from a shell it doesn’t seem to know what i’m talking about! I can mount ext3 and other file systems just fine, but not ext2? I could dig around in the kernel config and figure out what’s missing, but that really didnt matter in this case, so here’s the quick and easy fix with no fishy side effects:

mygentoo ~ # tune2fs -O has_journal /dev/sda1

Now I can mount it from bash just fine… well, that was weird.

Posted by admica   @   18 February 2009

Related Posts

Like this post? Share it!

Digg Twitter StumbleUpon Delicious Technorati Facebook RSS

1 Comments

Comments
Nov 17, 2009
4:33 pm
#1 Grayson Peddie :

You know, sometimes I’d mention like “what are you thinking, Gentoo developers…? Or is it Linux kernel developers who did not mark ext2 by default?

:|

Anyway, thanks for your help.

Leave a Comment

Name

Email

Website

Previous Post
« The best way to search for available domain names
Next Post
Command line shortcut #977 - shell auto-completion »
Powered by Wordpress   |   Lunated designed by ZenVerse