本帖最后由 2011cwj6958 于 2013-5-13 18:35 编辑
版主的 WinLy4.1 Grub2 for dos 提供的代码真是强大,可以启动不同版本到现在的最新版本Linux。
ubuntu LiveCD模式代码还可以启动ubuntu系列的不同版本,edubuntu kubuntu xubuntu lubuntu mythbuntu 以及最新的UbuntuKylin。
我的ubuntu.cfg子菜单
menuentry "启动开拓者ktz5_1 LiveCD模式" --class ubuntu {
insmod ntfs
set root='(hd0,2)'
loopback loop (hd0,2)/ktz5_1.iso
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/ktz5_1.iso locale=zh_CN.UTF-8 splash
initrd (loop)/casper/initrd.lz
}
menuentry "启动开拓者ktz-ubuntu-9.10 LiveCD模式" --class ubuntu {
insmod ntfs
set root='(hd0,2)'
loopback loop (hd0,2)/ktz-ubuntu.iso
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/ktz-ubuntu.iso locale=zh_CN.UTF-8 splash
initrd (loop)/casper/initrd.lz
}
menuentry "启动ubuntu-10.10 LiveCD模式" --class ubuntu {
insmod ntfs
set root='(hd0,2)'
loopback loop (hd0,2)/ubuntu.iso
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/ubuntu.iso locale=zh_CN.UTF-8 splash
initrd (loop)/casper/initrd.lz
}
menuentry "启动edubuntu-10.10 LiveCD模式" --class edubuntu {
insmod ntfs
set root='(hd0,2)'
loopback loop (hd0,2)/edubuntu.iso
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/edubuntu.iso locale=zh_CN.UTF-8 splash
initrd (loop)/casper/initrd.lz
}
menuentry "启动edubuntu-11.04 LiveCD模式" --class edubuntu {
insmod ntfs
set root='(hd0,2)'
loopback loop (hd0,2)/edubuntu1.iso
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/edubuntu1.iso locale=zh_CN.UTF-8 splash
initrd (loop)/casper/initrd.lz
}
menuentry "启动kubuntu-10.10 LiveCD模式" --class kubuntu {
insmod ntfs
set root='(hd0,2)'
loopback loop (hd0,2)/kubuntu.iso
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/kubuntu.iso locale=zh_CN.UTF-8 splash
initrd (loop)/casper/initrd.lz
}
menuentry "启动kubuntu-11.04 LiveCD模式" --class kubuntu {
insmod ntfs
set root='(hd0,2)'
loopback loop (hd0,2)/kubuntu1.iso
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/kubuntu1.iso locale=zh_CN.UTF-8 splash
initrd (loop)/casper/initrd.lz
}
menuentry "启动xubuntu-10.10 LiveCD模式" --class xubuntu {
insmod ntfs
set root='(hd0,2)'
loopback loop (hd0,2)/xubuntu.iso
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/xubuntu.iso locale=zh_CN.UTF-8 splash
initrd (loop)/casper/initrd.lz
}
menuentry "启动xubuntu-11.04 LiveCD模式" --class xubuntu {
insmod ntfs
set root='(hd0,2)'
loopback loop (hd0,2)/xubuntu1.iso
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/xubuntu1.iso locale=zh_CN.UTF-8 splash
initrd (loop)/casper/initrd.lz
}
menuentry "启动lubuntu-10.10 LiveCD模式" --class lubuntu {
insmod ntfs
set root='(hd0,2)'
loopback loop (hd0,2)/lubuntu.iso
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=lubuntu.iso locale=zh_CN.UTF-8 splash
initrd (loop)/casper/initrd.lz
}
menuentry "启动lubuntu-11.04 LiveCD模式" --class lubuntu {
insmod ntfs
set root='(hd0,2)'
loopback loop (hd0,2)/lubuntu1.iso
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=lubuntu1.iso locale=zh_CN.UTF-8 splash
initrd (loop)/casper/initrd.lz
}
menuentry "启动mythbuntu-10.10 LiveCD模式" --class mythbuntu {
insmod ntfs
set root='(hd0,2)'
loopback loop (hd0,2)/mythbuntu.iso
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/mythbuntu.iso locale=zh_CN.UTF-8 splash
initrd (loop)/casper/initrd.lz
}
menuentry "启动mythbuntu-11.04 LiveCD模式" --class mythbuntu {
insmod ntfs
set root='(hd0,2)'
loopback loop (hd0,2)/mythbuntu1.iso
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/mythbuntu1.iso locale=zh_CN.UTF-8 splash
initrd (loop)/casper/initrd.lz
}
menuentry "启动kanas-ubuntu-10.10 LiveCD模式" --class ubuntu {
insmod ntfs
set root='(hd0,2)'
loopback loop (hd0,2)/kanas-ubuntu.iso
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/kanas-ubuntu.iso locale=zh_CN.UTF-8 splash
initrd (loop)/casper/initrd.lz
}
menuentry "启动BUYIOS.iso LiveCD模式" --class ubuntu {
insmod ntfs
set root='(hd0,1)'
loopback loop (hd0,1)/BUYIOS.iso
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/BUYIOS.iso locale=zh_CN.UTF-8 splash
initrd (loop)/casper/initrd.lz
}
menuentry "启动UbuntuKylin LiveCD模式" --class ubuntu {
insmod ntfs
set root='(hd0,1)'
loopback loop (hd0,1)/raring-desktop-amd64.iso
linux (loop)/casper/vmlinuz.efi boot=casper iso-scan/filename=/raring-desktop-amd64.iso locale=zh_CN.UTF-8 splash
initrd (loop)/casper/initrd.lz
}
我的mint.cfg子菜单
menuentry "启动Lindows7 LiveCD模式" --class linuxmint {
insmod ntfs
set root='(hd0,2)'
loopback loop (hd0,2)/Lindows7.iso
linux (loop)/casper/vmlinuz file=/cdrom/preseed/mint.seed boot=casper persistent iso-scan/filename=/Lindows7.iso splash
initrd (loop)/casper/initrd.lz
}
menuentry "启动kanas-mint LiveCD模式" --class linuxmint {
insmod ntfs
set root='(hd0,2)'
loopback loop (hd0,2)/kanas-mint.iso
linux (loop)/casper/vmlinuz file=/cdrom/preseed/mint.seed boot=casper persistent iso-scan/filename=/kanas-mint.iso splash
initrd (loop)/casper/initrd.lz
}
menuentry "启动linuxmint-9-kde LiveCD模式" --class linuxmint {
insmod ntfs
set root='(hd0,2)'
loopback loop (hd0,2)/linuxmint-kde.iso
linux (loop)/casper/vmlinuz file=/cdrom/preseed/mint.seed boot=casper persistent iso-scan/filename=/linuxmint-kde.iso splash
initrd (loop)/casper/initrd.lz
}
menuentry "启动linuxmint-9-gnome LiveCD模式" --class linuxmint {
insmod ntfs
set root='(hd0,2)'
loopback loop (hd0,2)/linuxmint-gnome.iso
linux (loop)/casper/vmlinuz file=/cdrom/preseed/mint.seed boot=casper persistent iso-scan/filename=/linuxmint-gnome.iso splash
initrd (loop)/casper/initrd.lz
}
menuentry "启动linuxmint-10-kde LiveCD模式" --class linuxmint {
insmod ntfs
set root='(hd0,2)'
loopback loop (hd0,2)/linuxmint-10-kde.iso
linux (loop)/casper/vmlinuz file=/cdrom/preseed/mint.seed boot=casper persistent iso-scan/filename=/linuxmint-10-kde.iso splash
initrd (loop)/casper/initrd.lz
}
menuentry "启动linuxmint-fluxbox LiveCD模式" --class linuxmint {
insmod ntfs
set root='(hd0,2)'
loopback loop (hd0,2)/linuxmint-fluxbox.iso
linux (loop)/casper/vmlinuz file=/cdrom/preseed/mint.seed boot=casper persistent iso-scan/filename=/linuxmint-fluxbox.iso splash
initrd (loop)/casper/initrd.lz
}
menuentry "启动linuxmint-xfce LiveCD模式" --class linuxmint {
insmod ntfs
set root='(hd0,2)'
loopback loop (hd0,2)/linuxmint-xfce.iso
linux (loop)/casper/vmlinuz file=/cdrom/preseed/mint.seed boot=casper persistent iso-scan/filename=/linuxmint-xfce.iso splash
initrd (loop)/casper/initrd.lz
}
menuentry "启动linuxmint-11-lxde LiveCD模式" --class linuxmint {
insmod ntfs
set root='(hd0,2)'
loopback loop (hd0,2)/linuxmint-lxde.iso
linux (loop)/casper/vmlinuz file=/cdrom/preseed/mint.seed boot=casper persistent iso-scan/filename=/linuxmint-lxde.iso splash
initrd (loop)/casper/initrd.lz
}
menuentry "启动linuxmint-11-gnome LiveCD模式" --class linuxmint {
insmod ntfs
set root='(hd0,2)'
loopback loop (hd0,2)/linuxmint-11-gnome.iso
linux (loop)/casper/vmlinuz file=/cdrom/preseed/mint.seed boot=casper persistent iso-scan/filename=/linuxmint-11-gnome.iso splash
initrd (loop)/casper/initrd.lz
}
我的ylmf.cfg子菜单
menuentry "启动雨林木风Ylmf_OS_3.0 LiveCD模式" --class ylmf {
insmod ntfs
set root='(hd0,2)'
loopback loop (hd0,2)/Ylmf2.iso
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/Ylmf2.iso locale=zh_CN.UTF-8 noprompt noeject splash
initrd (loop)/casper/initrd.img
}
menuentry "启动雨林木风ylmf_os4-20110222 LiveCD模式" --class ylmf {
insmod ntfs
set root='(hd0,2)'
loopback loop (hd0,2)/Ylmf3.iso
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/Ylmf3.iso locale=zh_CN.UTF-8 noprompt noeject splash
initrd (loop)/casper/initrd.img
}
menuentry "启动雨林木风ylmf_os4-20110326 LiveCD模式" --class ylmf {
insmod ntfs
set root='(hd0,2)'
loopback loop (hd0,2)/Ylmf4.iso
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/Ylmf4.iso locale=zh_CN.UTF-8 noprompt noeject splash
initrd (loop)/casper/initrd.img
}
menuentry "启动雨林木风ylmf_os4-20110510 LiveCD模式" --class ylmf {
insmod ntfs
set root='(hd0,2)'
loopback loop (hd0,2)/Ylmf5.iso
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/Ylmf5.iso locale=zh_CN.UTF-8 noprompt noeject splash
initrd (loop)/casper/initrd.img
}
menuentry "启动雨林木风ylmf_os_4.0 LiveCD模式" --class ylmf {
insmod ntfs
set root='(hd0,2)'
loopback loop (hd0,2)/Ylmf6.iso
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/Ylmf6.iso locale=zh_CN.UTF-8 noprompt noeject splash
initrd (loop)/casper/initrd.img
}
menuentry "启动雨林木风ylmf_os4-20110830LiveCD模式" --class ylmf {
insmod ntfs
set root='(hd0,2)'
loopback loop (hd0,2)/Ylmf7.iso
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/Ylmf7.iso locale=zh_CN.UTF-8 noprompt noeject splash
initrd (loop)/casper/initrd.img
}
我的Deepin.cfg子菜单
menuentry "启动Deepin-9.12-final深度LiveCD模式" --class ld {
insmod ntfs
set root='(hd0,2)'
loopback loop (hd0,2)/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.lz
}
menuentry "启动LinuxDeepin v10.06.0 测试版深度Linux系统模式" --class ld {
insmod ntfs
set root='(hd0,2)'
loopback loop (hd0,2)/deepin1.iso
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/deepin1.iso locale=zh_CN.UTF-8 noprompt noeject splash
initrd (loop)/casper/initrd.lz
}
menuentry "启动Deepin-10.06深度LiveCD模式" --class ld {
insmod ntfs
set root='(hd0,2)'
loopback loop (hd0,2)/deepin2.iso
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/deepin.iso locale=zh_CN.UTF-8 noprompt noeject splash
initrd (loop)/casper/initrd.lz
}
menuentry "启动deepin-10.12-beta-i386深度LiveCD模式" --class ld {
insmod ntfs
set root='(hd0,2)'
loopback loop (hd0,2)/deepin3.iso
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/deepin3.iso locale=zh_CN.UTF-8 noprompt noeject splash
initrd (loop)/casper/initrd.lz
}
menuentry "启动deepin-10.12-i386深度LiveCD模式" --class ld {
insmod ntfs
set root='(hd0,2)'
loopback loop (hd0,2)/deepin4.iso
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/deepin4.iso locale=zh_CN.UTF-8 noprompt noeject splash
initrd (loop)/casper/initrd.lz
}
menuentry "启动Linux Deepin 11.06深度LiveCD模式" --class ld {
insmod ntfs
set root='(hd0,2)'
loopback loop (hd0,2)/deepin5.iso
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/deepin5.iso locale=zh_CN.UTF-8 noprompt noeject splash
initrd (loop)/casper/initrd.lz
}
menuentry "启动deepin_11.06.1_i386深度LiveCD模式" --class ld {
insmod ntfs
set root='(hd0,2)'
loopback loop (hd0,2)/deepin6.iso
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/deepin6.iso locale=zh_CN.UTF-8 noprompt noeject splash
initrd (loop)/casper/initrd.lz
}
我的puppy.cfg子菜单
menuentry "启动xbarbie_xfce-4.1-20081223-linux系统" --class puppy {
insmod ntfs
set root='(hd0,2)'
linux /puppy/vmlinuz pmedia=hd
initrd /puppy/initrd.gz
}
menuentry "启动小芭比413-openbox-2009系统" --class puppy {
insmod ntfs
set root='(hd0,2)'
linux /puppy1/vmlinuz pmedia=hd
initrd /puppy1/initrd.gz
}menuentry "启动puppy-420ebobo26291cn" --class puppy {
insmod ntfs
set root='(hd0,2)'
linux /puppy2/vmlinuz pmedia=hd
initrd /puppy2/initrd.gz
}menuentry "启动小芭比421-cn-linux系统" --class puppy {
insmod ntfs
set root='(hd0,2)'
linux /puppy3/vmlinuz pmedia=hd
initrd /puppy3/initrd.gz
}
menuentry "启动小芭比431之wine集成版系统" --class puppy {
insmod ntfs
set root='(hd0,2)'
linux /puppy4/vmlinuz pmedia=hd
initrd /puppy4/initrd.gz
}
menuentry "启动小芭比432-cn-linux系统" --class puppy {
insmod ntfs
set root='(hd0,2)'
linux /puppy5/vmlinuz pmedia=hd
initrd /puppy5/initrd.gz
}
menuentry "启动苏奇小芭比-linux系统" --class puppy {
insmod ntfs
set root='(hd0,2)'
linux /puppy6/vmlinuz pmedia=hd
initrd /puppy6/initrd.gz
}
menuentry "启动puppy520_cn_pps-linux系统" --class puppy {
insmod ntfs
set root='(hd0,2)'
linux /puppy7/vmlinuz pmedia=hd
initrd /puppy7/initrd.gz
}
menuentry "启动PUPPY525PAE-linux系统" --class puppy {
insmod ntfs
set root='(hd0,2)'
linux /puppy8/vmlinuz pmedia=hd
initrd /puppy8/initrd.gz
}
menuentry "启动Mac OS X风格的Macis Puppy 525 Linux系统" --class puppy {
insmod ntfs
set root='(hd0,2)'
linux /mac/vmlinuz pmedia=hd
initrd /mac/initrd.gz
}
menuentry "启动小芭比X离子版macis-531系统" --class puppy {
insmod ntfs
set root='(hd0,2)'
linux /mac1/vmlinuz pmedia=hd
initrd /mac1/initrd.gz
}
menuentry "启动启动qrky-130-linux系统" --class puppy {
insmod ntfs
set root='(hd0,2)'
linux /qrky/vmlinuz pmedia=hd
initrd /qrky/initrd.gz
}
menuentry "title 【c】 启动xuppy-FF系统" --class puppy {
insmod ntfs
set root='(hd0,2)'
linux /xuppy/vmlinuz pmedia=hd
initrd /xuppy/initrd.gz
}
我的veket.cfg子菜单
menuentry "启动a-linux-1.0-linux系统" --class puppy {
insmod ntfs
set root='(hd0,2)'
linux /veket/vmlinuz pmedia=hd
initrd /veket/initrd.gz
}
menuentry "启动veket-2.39-linux系统" --class puppy {
insmod ntfs
set root='(hd0,2)'
linux /veket1/vmlinuz pmedia=hd
initrd /veket1/initrd.gz
}
menuentry "启动veket-3.11-linux系统" --class puppy {
insmod ntfs
set root='(hd0,2)'
linux /veket2/vmlinuz pmedia=hd
initrd /veket2/initrd.gz
}
menuentry "启动veket-5.29-linux系统" --class puppy {
insmod ntfs
set root='(hd0,2)'
linux /veket3/vmlinuz pmedia=hd
initrd /veket3/initrd.gz
}
menuentry "启动e-veket-linux系统" --class puppy {
insmod ntfs
set root='(hd0,2)'
linux /e-veket/vmlinuz pmedia=hd
initrd /e-veket/initrd.gz
}
menuentry "启动lucky8k-veket-1.2a系统" --class puppy {
insmod ntfs
set root='(hd0,2)'
linux /lucky8k//vmlinuz pmedia=hd
initrd /lucky8k//initrd.gz
}
menuentry "启动lucky8k-veket-378r系统" --class puppy {
insmod ntfs
set root='(hd0,2)'
linux /lucky8kr/vmlinuz pmedia=hd
initrd /lucky8kr/initrd.gz
}
menuentry "启动lucky8k儿童操作系统" --class puppy {
insmod ntfs
set root='(hd0,2)'
linux /lucky8kr1/vmlinuz pmedia=hd
initrd /lucky8kr1/initrd.gz
}
menuentry "启动微型芭比puppy桌面系统" --class puppy {
insmod ntfs
set root='(hd0,2)'
linux /puppy/vmlinuz pmedia=hd
initrd /puppy/initrd.gz
}
我的WXlinux.cfg子菜单
menuentry "运行无线破解 beini-1.0-rc5.2系统" --class windows {
set root='(hd0,1)'
linux16 /burg/memdisk iso raw
initrd16 /TYPE/Beini2.iso
}
menuentry "无线破解bt6系统" --class windows {
set root='(hd0,1)'
linux16 /burg/memdisk iso raw
initrd16 /TYPE/bt6.iso
}
menuentry "运行cdlinux0.9.6.1万能无线破解系统" --class puppy {
insmod ntfs
set root='(hd0,2)'
linux /CDlinux/bzImage CDL_LANG=zh_CN.UTF-8 CDL_DIR=/CDlinux
initrd /CDlinux/initrd
}
menuentry "运行cdlinux0.9.6.1社区版" --class puppy {
insmod ntfs
set root='(hd0,2)'
linux /CDlinux1/bzImage CDL_LANG=zh_CN.UTF-8 CDL_DIR=/CDlinux1
initrd /CDlinux1/initrd
}
menuentry "GeeXBox免费影音系统" --class windows {
set root='(hd0,1)'
linux16 /burg/memdisk iso raw
initrd16 /TYPE/GeexBox.ISO
}
menuentry "启动GeexBox多媒体系统" --class puppy {
insmod ntfs
set root='(hd0,2)'
linux/geexbox/vmlinuz root=/dev/ram0 rw lang=zh_CN remote=atiusb receiver=atiusb keymap=qwerty splash=silent vga=789 video=vesafb:ywrap,mtrr quiet
initrd /geexbox/initrd.gz
}
menuentry "启动easeboot vod视频点播系统" --class puppy {
insmod ntfs
set root='(hd0,2)'
linux /easeboot/bzImage root=/dev/ram0 vga=771 ramdisk_size=100000
initrd /easeboot/rootfs.gz
}
menuentry "启动slitazcn Linux系统" --class puppy {
insmod ntfs
set root='(hd0,2)'
linux /Slitaz/boot/bzImage root=/dev/ram0 vga=771 ramdisk_size=100000
initrd /Slitaz/boot/rootfs.gz
}
menuentry "启动slitazcn Linux开发版系统" --class puppy {
insmod ntfs
set root='(hd0,2)'
linux /Slitaz1/boot/bzImage root=/dev/ram0 vga=771 ramdisk_size=100000
initrd /Slitaz1/boot/rootfs.gz
}
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请
点击举报。