Upgrade grub for Fedora 7 to support ext3 256 byte inode
The grub version for Fedora 7 is 0.97-13, which do not support ext3 256 byte inode, for example could not load Debian 5 system.
The grub version for Fedora 8 is 0.97-33.1, which support ext3 256 byte inode:
* Tue Aug 7 2007 Peter Jones <pjones@redhat.com> - 0.97-16
- Add ext[23] large inode support (patch from Eric Sandeen)
- Fix auto* breakage that happened when we switched from autoreconf to autoconf
- Move to original tarball + patch generated from git
So we just need install the grub-0.97-33.1.fc8.src.rpm into Fedora 7. But this version of grub need objcopy works for absolute addresses, so we need install the binutils-2.18.50.0.6-2.src.rpm from Fedora 9 first.
rpm binutils-2.18.50.0.6-2.src.rpm
rpmbuild -bb --target=`uname -m` /usr/src/redhat/SPECS/binutils.spec
yum --nogpgcheck localupdate /usr/src/redhat/RPMS/x86_64/binutils-2.18.50.0.6-2.x86_64.rpm
rpm -ivh grub-0.97-33.1.fc8.src.rpm
rpmbuild -bb --target=`uname -m` /usr/src/redhat/SPECS/grub.spec
yum --nogpgcheck localupdate /usr/src/redhat/RPMS/x86_64/grub-0.97-33.1.x86_64.rpm