Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 374007

Summary: Not support to Ext2 by default in kernel 2.6.38-rc6
Product: [OLD] Docs on www.gentoo.org Reporter: Jose Juan Montiel <josejuan.montiel>
Component: Installation HandbookAssignee: Docs Team <docs-team>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=1&chap=4
Whiteboard:
Package list:
Runtime testing required: ---

Description Jose Juan Montiel 2011-07-04 08:34:25 UTC
Hi,

i follow step of handbook to install gentoo, and make a /boot in ext2.

Then compile by default the kernel, and when boot it... i get this error... "Cannot open root device "sda3" or unknown-block(2,0).

And even in section 7.d  (http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=1&chap=7) said..

Note that, if your boot partition doesn't use ext2 or ext3 as filesystem you might need to manually configure your kernel using genkernel --menuconfig all and add support for your filesystem in the kernel (i.e. not as a module). Users of EVMS2 or LVM2 will probably want to add --evms2 or --lvm2 as arguments as well. 

Maybe, could be interesenting said that in 2.6.38 support to ext2 is disabled by default...

Maybe my problem was other, i reinstall from zero... but i thinks this little trick do de magic... 

Thanks for this great documentation.

Reproducible: Always

Steps to Reproduce:
1. Install /boot with ext2
2. Compile kernel by default.
3. Boot with /boot in sda1 with ext2 and sda3  (/) with ext3.
Comment 1 nm (RETIRED) gentoo-dev 2011-07-04 08:45:08 UTC
Nothing wrong with using ext2, even if it's not selected by default. We already provide instructions on how to enable various filesystems, so this is not a problem.
Comment 2 Jose Juan Montiel 2011-07-04 09:29:14 UTC
Hi,

(In reply to comment #1)
> Nothing wrong with using ext2, even if it's not selected by default. We already
> provide instructions on how to enable various filesystems, so this is not a
> problem.

I only say... if someome compile 2.6.38 by default, think that get suport to ext2 (his boot partition) when boot crash... he has to recompile his new kernel to activate ext2 (disabled by default).

I know you "provide instructions on how to enable various filesystems" but, maybe could be interesting compile only one time the kernel... althought in first instalation.

Thanks, this only was a idea to prevent "Newbee" like me...

Thanks for all.
Comment 3 SpanKY gentoo-dev 2011-07-04 18:46:58 UTC
the ext4 driver can mount ext4/ext3/ext2 file systems, and the ext3 driver can mount ext3/ext2 file systems ...
Comment 4 Jose Juan Montiel 2011-07-04 21:25:33 UTC
Hi,

(In reply to comment #3)
> the ext4 driver can mount ext4/ext3/ext2 file systems, and the ext3 driver can
> mount ext3/ext2 file systems ...

then maybe i miss some step in my first attempt... and the sendcond time... i dont forget nothing :)

Thanks, for all.