[resolved!] The file /boot/grub/stage1 not read correctly

Chrooted, just install grub, and done!

# grub-install /dev/sda
The file /boot/grub/stage1 not read correctly.

WTF? Ok, i know another way…

# grub
grub> root (hd0,0)
 Filesystem type is ext3, partition type 0x83

grub> setup (hd0)
 Checking if "/boot/grub/stage1" exists... no
 Checking if "/grub/stage1" exists... no

Error 15: File not found

grub> find /boot/grub/stage1

Error 15: File not found

Gruub, what wrong with You!

After small investigation, i am sure. Grub have a bug.


# tune2fs -l /dev/sda1 | grep -i 'inode size’

Probably You see: 256

But grub work’s correct only with 128

How to workaround it?

# mkfs.ext3 -I 128 /dev/sda1

But remember – all data from disk will be erased!


e2fsprogs ? 1.40.5 creates ext3 filesystems with 256 byte large inodes by default (in contrast to 128 byte used before), to accommodate for further ext4 related changes… Using any of these new features requires updating the bootsector of your system. Bootsectors written by „grub or earlier versions of „grub-gfxboot” are not able to boot or even access partitions using any of these new features!