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中,然后编译成功。

记录下流程


  1. mkdir grub 

  2. cd grub 

  3. wget ftp://ftp.gnu.org/gnu/grub/grub-1.99.tar.gz 

  4. tar xzvf grub-1.99.tar.gz 

  5. cd grub-1.99 

  6. ./configure --prefix=/usr --sysconfdir=/etc --disable-werror 

  7. make 

  8. make install 



相关文章:

  • 2021-09-27
  • 2021-06-07
  • 2021-06-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-04-01
猜你喜欢
  • 2021-06-15
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-25
  • 2021-12-12
相关资源
相似解决方案