dual-boot

use grub2 make dual boot cd(support bios and UEFI)

不问归期 提交于 2019-12-04 21:14:10
使用grub2 制作支持BIOS&UEFI 双启动的ISO镜像 首先就是准备grub2了。最新的Release版本可以从这里获取: ftp://ftp.gnu.org/gnu/grub . 其他信息参考 http://www.gnu.org/software/grub/ Compiler: a. Download the newest released grub2 package b. Decompress the package to path $grub2 c. mkdir ~/grub2-bios ~/grub2-uefi, cd $grub2 mkdir build build-uefi d. cd build, ../configure --prefix=${HOME}/grub2-bios, make , make install #compiler bios version e: cd ../build-uefi ../configure --with-platform=efi --target=x86_64 --prefix=${HOME}/grub2-uefi, make, make install Note: 正确的编译grub2, 你需要安装一些工具与lib,请参考grub INSTALL document。 Make bin: Bios: cd ~