|
在EasyBoot如何加载GRLDR菜单
grldr
GRUB版本 2011.6.5
pxe detect
configfile
default 0
timeout 1
title find /menu.lst, /boot/grub/menu.lst, /grub/menu.lst
errorcheck off
configfile /menu.lst || configfile /MENU.LST
configfile /boot/grub/menu.lst || configfile /BOOT/GRUB/MENU.LST
configfile /grub/menu.lst || configfile /GRUB/MENU.LST
find --set-root --ignore-floppies --ignore-cd /menu.lst && configfile /menu.lst
find --set-root --ignore-floppies --ignore-cd /boot/grub/menu.lst && configfile /boot/grub/menu.lst
find --set-root --ignore-floppies --ignore-cd /grub/menu.lst && configfile /grub/menu.lst
errorcheck on
commandline
title commandline
commandline
title reboot
reboot
title halt
halt
grub版本2011.01
pxe detect
configfile
default 0
fontfile /GRUB/FONT.GZ
timeout 30
title [01] PPM分区
find --set-root /ISO/ppm.iso
map /ISO/ppm.iso (0xff)
map --mem /ISO/ppm.iso (0xff)
map --hook
chainloader (0xff)
title [02] ADDS分区
find --set-root /ISO/adds.iso
map /ISO/adds.iso (0xff)
map --mem /ISO/adds.iso (0xff)
map --hook
chainloader (0xff)
title [03] DG分区
find --set-root /ISO/dg.iso
map /ISO/dg.iso (0xff)
map --mem /ISO/dg.iso (0xff)
map --hook
chainloader (0xff)
title [04] 从硬盘启动计算机
commandline
title [05] 重新启动计算机
reboot
title [06] 关闭计算机
halt
问题是:
把2011.1的内容COPY2011.6引导不了菜单的软件。如果用NENU。LST
如何写,加载ISO内容。
# This is a sample menu.lst file. You should make some changes to it.
# The old install method of booting via the stage-files has been removed.
# Please install GRLDR boot strap code to MBR with the bootlace.com
# utility under DOS/Win9x or Linux.
color blue/green yellow/red white/magenta white/magenta
timeout 30
default /default
title find and load NTLDR of Windows NT/2K/XP
fallback 1
find --set-root --ignore-floppies --ignore-cd /ntldr
map () (hd0)
map (hd0) ()
map --rehook
find --set-root --ignore-floppies --ignore-cd /ntldr
chainloader /ntldr
savedefault --wait=2
title find and load BOOTMGR of Windows VISTA/WIN7/WIN2008
fallback 2
find --set-root --devices=h /bootmgr
# did not need swap device
#map () (hd0)
#map (hd0) ()
#map --rehook
#find --set-root --devices=h /bootmgr
chainloader /bootmgr
savedefault --wait=2
title find and load CMLDR, the Recovery Console of Windows NT/2K/XP
fallback 3
find --set-root --ignore-floppies --ignore-cd /cmldr
map () (hd0)
map (hd0) ()
map --rehook
find --set-root --ignore-floppies --ignore-cd /cmldr
chainloader /cmldr
#####################################################################
# write string "cmdcons" to memory 0000:7C03 in 2 steps:
#####################################################################
# step 1. Write 4 chars "cmdc" at 0000:7C03
#write 0x7C03 0x63646D63
# step 2. Write 3 chars "ons" and an ending null at 0000:7C07
#write 0x7C07 0x00736E6F
# or.
#write --offset=3 (md)0x3e+1 cmdcons
# or
calc *0x7c03=0x00736E6F63646D63
savedefault --wait=2
title find and load IO.SYS of Windows 9x/Me
fallback 4
find --set-root /io.sys
chainloader /io.sys
savedefault --wait=2
# you can also use below commands.
# find --set-root chainloader /io.sys
# boot
# the boot is necessary,
# please see "Delimitors or comments between titles" in grub4dos_readme.txt.
title find and boot 0PE.ISO
fallback 5
find --set-root /0PE/0PE.ISO
map /0PE/0PE.ISO (0xff) || map --mem /0PE/0PE.ISO (0xff)
map --hook
chainloader (0xff)
savedefault --wait=2
title find and boot MicroPE.ISO
fallback 6
find --set-root /boot/MicroPE.ISO
map /boot/MicroPE.ISO (0xff) || map --mem /boot/MicroPE.ISO (0xff)
map --hook
chainloader (0xff)
savedefault --wait=2
title Parted Magic ISO
fallback 7
find --set-root /pmagic.iso
map /pmagic.iso (0xff) || map --mem /pmagic.iso (0xff)
map --hook
chainloader (0xff)
savedefault --wait=2
title Ultimate Boot CD ISO
fallback 8
find --set-root /ubcd.iso
map /ubcd.iso (0xff) || map --mem /ubcd.iso (0xff)
map --hook
chainloader (0xff)
savedefault --wait=2
title SliTaz ISO
find --set-root /slitaz.iso
map /slitaz.iso (0xff) || map --mem /slitaz.iso (0xff)
map --hook
chainloader (0xff)
title commandline
commandline
title floppy (fd0)
chainloader (fd0)+1
rootnoverify (fd0)
# or use below commands.
# rootnoverify (fd0)
# chainloader +1
title back to dos
quit
title reboot
reboot
title halt
halt
title MAXDOS.IMG
find --set-root --ignore-floppies /boot/MAXDOS.IMG
map --mem /boot/MAXDOS.IMG (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0) |
|