Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Grub and newly made ext3 partitions
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
schiotz
Apprentice
Apprentice


Joined: 20 Jan 2004
Posts: 206
Location: Denmark

PostPosted: Wed Apr 23, 2008 12:09 pm    Post subject: Grub and newly made ext3 partitions Reply with quote

I was moving my installation to a new, larger harddisk, and had
problems getting grub to recognize my /boot partition. Googling the
error message, I saw that others had solved the same problem by
changing from ext3 filesystem to reiserfs, it also worked for me.

On my old disk, /boot was ext3, so why did it stop working? I have
noticed that mke2fs is making much fewer superblocks etc than it used
to do, it looks like the default parameters have been changed to be
more suitable for large disks. Could these new parameters be breaking
grub?

Here are some recent changes to /etc/mke2fs.conf
Code:
$ diff -u /gentoo32/etc/mke2fs.conf /etc/mke2fs.conf
--- /gentoo32/etc/mke2fs.conf   2007-12-19 11:29:23.000000000 +0100
+++ /etc/mke2fs.conf    2008-03-25 12:02:36.000000000 +0100
@@ -1,15 +1,19 @@
 [defaults]
-       base_features = sparse_super,filetype,resize_inode,dir_index
+       base_features = sparse_super,filetype,resize_inode,dir_index,ext_attr
        blocksize = 4096
-       inode_ratio = 8192
+       inode_size = 256
+       inode_ratio = 16384

 [fs_types]
        small = {
                blocksize = 1024
+               inode_size = 128
                inode_ratio = 4096
        }
        floppy = {
                blocksize = 1024
+               inode_size = 128
+               inode_ratio = 8192
        }
        news = {
                inode_ratio = 4096
Back to top
View user's profile Send private message
massimo
Veteran
Veteran


Joined: 22 Jun 2003
Posts: 1226

PostPosted: Wed Apr 23, 2008 12:19 pm    Post subject: Reply with quote

I would suggest using ext2 for a boot partition.
_________________
Hello 911? How are you?
Back to top
View user's profile Send private message
schiotz
Apprentice
Apprentice


Joined: 20 Jan 2004
Posts: 206
Location: Denmark

PostPosted: Wed Apr 23, 2008 1:18 pm    Post subject: Reply with quote

massimo wrote:
I would suggest using ext2 for a boot partition.

Yes, that makes sense. But I doubt it changes anything significant, presumably grub just treats ext3 as ext2 and ignores the journal.
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