|
4#
楼主 |
发表于 2011-3-9 21:39:05
|
只看该作者
- # 以下是每个菜单的写法,可以自行参考资料增减或编辑******************************
- menuentry "启动本机的Windows系统(WinLy安装的位置)" --class windows {
- set root=$winboot
- chainloader +1
- }
- menuentry "启动雨林木风OS LiveCD模式" --class ylmf {
- insmod ntfs
- set root=$winboot
- loopback loop (hd0,1)/Ylmf.iso
- linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/Ylmf.iso locale=zh_CN.UTF-8 noprompt noeject splash
- initrd (loop)/casper/initrd.img
- }
- menuentry "启动Ubuntu 10.10 LiveCD模式" --class ubuntu {
- insmod ntfs
- set root=$winboot
- loopback loop (hd0,1)/ubuntu.iso
- linux (loop)/casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper iso-scan/filename=/ubuntu.iso locale=zh_CN.UTF-8 noprompt noeject splash
- initrd (loop)/casper/initrd.img
- }
- menuentry "启动LinuxDeepin深度LiveCD模式" --class ld {
- insmod ntfs
- set root='(hd0,1)'
- loopback loop (hd0,1)/deepin.iso
- linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/deepin.iso locale=zh_CN.UTF-8 noprompt noeject splash
- initrd (loop)/casper/initrd.img
- }
- menuentry "启动微型芭比puppy桌面系统" --class puppy {
- set root=$winboot
- chainloader +1
- }
- ##你要在C盘新建一个soft目录,将winpe.iso放到soft文件夹里
- menuentry "启动windows 2003PE镜像(示例)" --class windows {
- set root='(hd0,1)'
- linux16 /grub/memdisk iso raw
- initrd16 /soft/WINPE.iso
- }
- menuentry "启动Linux Mint LiveCD模式" --class linuxmint {
- insmod ntfs
- set root=$winboot
- loopback loop (hd0,1)/mint.iso
- linux (loop)/casper/vmlinuz file=/cdrom/preseed/mint.seed boot=casper persistent iso-scan/filename=/mint.iso splash
- initrd (loop)/casper/initrd.lz
- }
- menuentry "启动debian系统(示例)" --class debian {
- set root=$winboot
- chainloader +1
- }
- menuentry "启动opensuse系统(示例)" --class opensuse {
- set root=$winboot
- chainloader +1
- }
- menuentry "启动fedora系统 (示例)" --class fedora {
- set root=$winboot
- chainloader +1
- }
- menuentry "DOS下的小游戏打蜜蜂" --class invaders {
- set root=$winboot
- multiboot /grub/invaders.exec
- }
- ##你要在C盘新建一个soft目录,将img放到soft文件夹里
- menuentry "运行硬盘版IMG镜像文件(示例)" --class windows {
- set root=$winboot
- linux16 /grub/memdisk img raw
- initrd16 /soft/DOS.IMG
- }
- ##你要在C盘新建一个soft目录,将grub.exe和menu.lst放到soft文件夹里
- menuentry "进入grub4dos菜单(示例)" --class windows {
- linux16 /soft/grub.exe --config-file=/soft/menu.lst
- }
- ##你要在C盘新建一个soft目录,将xly.img放到soft文件夹里
- menuentry "运行金海硕硬盘修复IMG(示例)" --class windows --class os {
- set root='(hd0,1)'
- linux16 /grub/memdisk
- initrd16 /soft/XLY.IMG
- }
- ##你要在C盘新建一个soft目录,将winpe.iso放到soft文件夹里
- menuentry "运行Windows PE镜像文件(示例)" --class windows {
- set root='(hd0,1)'
- linux16 /boot/burg/memdisk iso raw
- initrd16 /soft/WINPE.iso
- }
- ##你要在C盘新建一个soft目录,将grub.exe和winpe.iso放到soft文件夹里
- menuentry "运行Windows PE(示例)另一种启动方式" --class windows {
- linux16 /soft/grub.exe --config-file="map /soft/WINPE.iso (hd32) || map --mem /soft/WINPE.iso (hd32); map --hook; chainloader (hd32); rootnoverify (hd32)"
- initrd16 /soft/WINPE.iso
- }
- # 菜单结尾 ********************************************************
复制代码 |
|