Home » grub
  • 12
  • 11月

介绍如何制作Slackware 14.1的安装DVD,包括32位和64位,在一张4.37GB的DVD是可以包含的。

制作g2ldr,用于引导32位和64位安装程序

$ grub-mkimage -o core.img --format i386-pc biosdisk ext2 fat iso9660 halt reboot \
    normal minicmd ntfs chain configfile ntldr search search_fs_file \
    search_fs_uuid search_label usb usb_keyboard extcmd echo linux vga \
    gfxmenu gfxterm vbe

生成一个core.img,包含GRUB2启动所需要的基础模块。

$ cat cdboot.img core.img > g2ldr

生成可用于引导CD …

Read More...

  • 24
  • 10月

GRUB, GRUB2 and GRUB4DOS

用GRUB制作可引导光盘

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

CDlinux's mkisofs.sh:

#!/bin/sh
#
# build CDlinux ISO image                               -- zxh(imzxh@yahoo.com)
MKISO=`which genisoimage 2>/dev/null` || MKISO=`which mkisofs 2>/dev/null` || {
  echo "Sorry, you don't have genisoimage or mkisofs installed …

Read More...