How is GRUB able to read it’s config file on ext3 fileystem

bootfilesystemsgrub

I have read that GRUB can read ext2 filesystems and has modules for doing this. What is the location of the mod on a Redhat system and how about if the /boot partition is ext3/ext4 or other filesystem type?

Best Answer

The grub ext2 module also understands ext3 and ext4, as the differences are minimal. The module itself is built into the grub core.img file ( when you are using ext[234] for /boot ), which is normally copied into the sectors following the master boot record, before any partitions start, and the code in the master boot record just loads those subsequent sectors.

Related Question