http://www.nenew.net/grub2-compile-and-install.html
in this blog ,the blogger compiled and installed the grub2.the cmd is as follows:
编译安装一次grub2,发现./configure会报错,很纠结。于是乎看.configure –help,知道可以添加 –disable-werror选项来把warning不归结到error中,然后编译成功。
记录下流程
mkdir grub
cd grub
wget ftp://ftp.gnu.org/gnu/grub/grub-1.99.tar.gz
tar xzvf grub-1.99.tar.gz
cd grub-1.99
./configure --prefix=/usr --sysconfdir=/etc --disable-werror
make
make install