首页 > 代码库 > grub4dos
grub4dos
default 1
timeout 5
gfxmenu (hd0,0)/grub/message
configfile
#####以上不在第一分区无法加载
title HITSZ_COMMAND
commandline
##############################################################################111以下是BCD文件
title BCD_WindowsNT6
chainloader (hd0,0)/bootmgr
title BCD_WindowsNT5
chainloader (hd0,0)/ntldr
title BCD_Ubuntu1010
chainloader (hd0,4)/ubuntu/winboot/wubildr.mbr
#####\ubuntu\winboot下的wubildr要复制到某一根分区目录下wubilidr.mbr才能定位到它
title BCD_Grub
chainloader (hd0,4)/grldr
##############################################################################222以下是ISO文件
title ISO_winpe1_dabaicai_v4.5.iso
map --mem /Grub/ISO/winpe1_dabaicai_v4.5.iso (hd32)
map --hook
chainloader (hd32)
title ISO_winpe3_dabaicai_v4.5.iso
map --mem /Grub/ISO/winpe3_dabaicai_v4.5.iso (hd32)
map --hook
chainloader (hd32)
title ISO_DG380DOS.iso
map --mem /Grub/ISO/DG380DOS.iso (hd32)
map --hook
chainloader (hd32)
##############################################################################333以下是IMG文件
title DG343DOS.IMG
map --mem /grub/IMG/DG343DOS.img (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)
title onekeyGhost.IMG
map --mem /grub/IMG/onekeyGhost.img (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)
##############################################################################444以下是最新Liunx Live文件
title ISO_StartOS-5.1-LiveCD-i686.iso
kernel (hd0,4)/startos/vmlinuz boot=casper iso-scan/filename=/startos/StartOS-5.1-LiveCD-i686.iso ro quiet splash locale=zh_CN.UTF-8
initrd (hd0,4)/startos/initrd.img
#####startos支持NFTS最多一级目录, FAT32多级目录(至20130628)
title ISO_ubuntu-12.10-desktop-i386.iso
kernel (hd0,0)/Linux/Ubuntu/vmlinuz boot=casper iso-scan/filename=/Linux/Ubuntu/ubuntu-12.10-desktop-i386.iso ro quiet splash locale=zh_CN.UTF-8
initrd (hd0,0)/Linux/Ubuntu/initrd.lz
#####Ubuntu支持NFTS仅根目录, FAT32多级目录(至20130628)
title ISO_Fedora-17-i686-Live-KDE.iso
kernel (hd0,4)/linux/fedora/isolinux/vmlinuz0 root=UUID=8C93-EAA5 live_dir=/linux/fedora/LiveOS liveimg quiet rhgb rootfstype=auto vga=791
initrd (hd0,4)/linux/fedora/isolinux/initrd0.img
#####Fedora支持NFTS仅根目录, FAT32多级目录(至20130628)
##############################################################################555以下是Ubuntu系列Live
title ISO_ubuntu-12.04.1-desktop-i386.iso
kernel (hd0,0)/Linux/Ubuntu/vmlinuz boot=casper iso-scan/filename=/Linux/Ubuntu/ubuntu-12.04.1-desktop-i386.iso ro quiet splash locale=zh_CN.UTF-8
initrd (hd0,0)/Linux/Ubuntu/initrd.lz
title ISO_ubuntu-11.10-desktop-i386.iso
kernel (hd0,0)/Linux/Ubuntu/vmlinuz boot=casper iso-scan/filename=/Linux/Ubuntu/ubuntu-11.10-desktop-i386.iso ro quiet splash locale=zh_CN.UTF-8
initrd (hd0,0)/Linux/Ubuntu/initrd.lz
title ISO_ubuntu-11.04-desktop-i386.iso
kernel (hd0,0)/Linux/Ubuntu/vmlinuz boot=casper iso-scan/filename=/Linux/Ubuntu/ubuntu-11.04-desktop-i386.iso ro quiet splash locale=zh_CN.UTF-8
initrd (hd0,0)/Linux/Ubuntu/initrd.lz
title ISO_ubuntu-10.10-desktop-i386.iso
kernel (hd0,0)/Linux/Ubuntu/vmlinuz boot=casper iso-scan/filename=/Linux/Ubuntu/ubuntu-10.10-desktop-i386.iso ro quiet splash locale=zh_CN.UTF-8
initrd (hd0,0)/Linux/Ubuntu/initrd.lz
title ISO_ubuntu-10.04-desktop-i386.iso
kernel (hd0,0)/Linux/Ubuntu/vmlinuz boot=casper iso-scan/filename=/Linux/Ubuntu/ubuntu-10.04-desktop-i386.iso ro quiet splash locale=zh_CN.UTF-8
initrd (hd0,0)/Linux/Ubuntu/initrd.lz
title ISO_ylmf4.ISO
kernel (hd0,0)/Linux/Ylmf/vmlinuz boot=casper iso-scan/filename=/Linux/Ylmf/Ylmf4.iso ro quiet splash locale=zh_CN.UTF-8
initrd (hd0,0)/Linux/Ylmf/initrd.img
##############################################################################666以下是Fedora系列Live and DVD
title ISO_Fedora-17-i686-Live-KDE.iso
kernel (hd0,0)/linux/fedora/isolinux/vmlinuz0 root=UUID=XXXX-YYYY live_dir=/linux/fedora/LiveOS liveimg quiet rhgb rootfstype=auto vga=791
initrd (hd0,0)/linux/fedora/isolinux/initrd0.img
title ISO_Fedora-16-i686-Live-KDE.iso
kernel (hd0,0)/linux/fedora/isolinux/vmlinuz0 root=UUID=XXXX-YYYY live_dir=/linux/fedora/LiveOS liveimg quiet rhgb rootfstype=auto vga=791
initrd (hd0,0)/linux/fedora/isolinux/initrd0.img
title ISO_Fedora-15-i686-Live-KDE.iso
kernel (hd0,0)/linux/fedora/isolinux/vmlinuz0 root=UUID=XXXX-YYYY live_dir=/linux/fedora/LiveOS liveimg quiet rhgb rootfstype=auto vga=791
initrd (hd0,0)/linux/fedora/isolinux/initrd0.img
title ISO_Fedora-14-i686-Live-KDE.iso
kernel (hd0,0)/linux/fedora/isolinux/vmlinuz0 root=UUID=XXXX-YYYY live_dir=/linux/fedora/LiveOS liveimg quiet rhgb rootfstype=auto vga=791
initrd (hd0,0)/linux/fedora/isolinux/initrd0.img
title ISO_Fedora-13-i686-Live-KDE.iso
kernel (hd0,0)/linux/fedora/isolinux/vmlinuz0 root=UUID=XXXX-YYYY live_dir=/linux/fedora/LiveOS liveimg quiet rhgb rootfstype=auto vga=791
initrd (hd0,0)/linux/fedora/isolinux/initrd0.img
title ISO_Fedora-12-i686-Live-KDE.iso
kernel (hd0,0)/LiveOS/vmlinuz0 root=/dev/sdb1 ro liveimg rhgb
initrd (hd0,0)/LiveOS/initrd0.img
title ISO_Fedora-11-i686-Live-KDE.iso
kernel (hd0,0)/LiveOS/vmlinuz0 root=/dev/sdb1 ro liveimg rhgb
initrd (hd0,0)/LiveOS/initrd0.img
title ISO_Fedora-11-i386-DVD.iso ###11到17的DVD安装法都一样
kernel (hd0,0)/Linux/Fedora/isolinux/vmlinuz
initrd (hd0,0)/Linux/Fedora/isolinux/initrd.img
##############################################################################以下是Fedora系统Live
title reboot
reboot
grub4dos