GRUB For CD-ROM

1、下载 GRUB

2、编译,生成 stage2_eltorito

$ tar xvf grub-0.97.tar.gz
$ cd grub-0.97
$ ./configure
$ make

3、生成光盘镜像

$ mkdir -p iso/boot/grub
$ cp stage2/stage2_eltorito iso/boot/grub
$ mkisofs -R -b boot/grub/stage2_eltorito -no-emul-boot -boot-load-size 4 -boot-info-table -o grub.iso iso

4、刻录光盘

$ cdrecord -v dev=/dev/scd0 grub.iso

留下评论

您的邮箱地址不会被公开。 必填项已用 * 标注