Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Don't use -J size=# for /root and expect to boot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
FastTurtle
Guru
Guru


Joined: 03 Sep 2002
Posts: 477
Location: Flakey Shake & Bake Caliornia, USA

PostPosted: Fri Nov 21, 2003 7:23 pm    Post subject: Don't use -J size=# for /root and expect to boot Reply with quote

Hi all:

Something I discovered the hard way (as usual). When booting, if your "/root" partition is configured with anything other then the default journal size [mke2fs -j] a vanilla-source kernel will puke on you and complain that there is a bad superblock and will not allow you to select a backup to continue booting.

In testing this very issue I set the journal size to both a 4 meg size [-J size=4] and 16 meg size. Both times after completeing a stage1 install I got the message about a bad superblock not describing an ext3 file system. I further tested this using a stage2 and stage3 install and got the same error.

Test useflags included march=athlon-xp -Os -pipe, -O2 -pipe, -O3 -pipe and -O -g pipe. Right now I've developed a work around to the problem that works and it's pretty simple. Don't use [-J size=x] for the /root partition. The default journal works fine and on anything other then /boot you can safely increase the journal size without problems.

A secondary option is to not use the ext3 file system for /root but I have no idea as to what difficulties that adds.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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