View previous topic :: View next topic |
Author |
Message |
schiotz Apprentice
Joined: 20 Jan 2004 Posts: 206 Location: Denmark
|
Posted: Wed Apr 23, 2008 12:09 pm Post subject: Grub and newly made ext3 partitions |
|
|
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 |
|
|
massimo Veteran
Joined: 22 Jun 2003 Posts: 1226
|
Posted: Wed Apr 23, 2008 12:19 pm Post subject: |
|
|
I would suggest using ext2 for a boot partition. _________________ Hello 911? How are you? |
|
Back to top |
|
|
schiotz Apprentice
Joined: 20 Jan 2004 Posts: 206 Location: Denmark
|
Posted: Wed Apr 23, 2008 1:18 pm Post subject: |
|
|
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 |
|
|
|
|
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
|
|