用GRUB啓動的菜單文件MENU.LST

    要使用 Linux ,先下載一個 Ubuntu 或 CDLinux 吧,用 壓縮軟件就可以打開,解壓縮到第一分區下,這個文件很容易的,現在文件名不是MENU.LST。

file:MENU.LST

timeout 10


default 0

find --set-root /fonts

# title Windows XP
# map --mem /BOOT/stat.ima (fd0)
# map --hook
# chainloader grldr

# 啓用 GFXMenu 功能: start the gfxmenu graphic menu.
gfxmenu /grub_chs.msg

fontfile /fonts


splashimage /bj2008.xpm.gz


title load staros51 iso  # 啓動liveCD  StartOS-5.1-LiveCD-i686.iso
kernel (hd0,0)/vmlinuz boot=casper iso-scan/filename=/staros51.iso

initrd (hd0,0)/initrd.img vga=788 quiet splash --


title 啓動 KiLin6

root (hd0,0)
kernel /vmlinuz iso-scan/filename=neokl6.iso ramdisk_size=1024000 root=/dev/ram0 devfs=mount,dall quiet showopts
initrd /initrd.img


title load XPE  # 啓動nt5 PE

chainloader /ldrxpe


title Boot Vista  # 啓動nt6
find --set-root /bootmgr

chainloader /bootmgr



title 運行矮人DOS4
kernel /memdisk.gz

initrd /ar4.img



title 運行arDOS5
kernel /memdisk.gz

initrd /ar5.img



title Load iso
find --set-root /io.sys

chainloader /ieldr



title Boot Win NT

chainloader /ntldr



title Boot from Hard Drive   # 分區1
root (hd0,0)

chainloader +1



title Boot HD 1 
rootnoverify (hd0,0)
makeactive

chainloader +1



title Boot HD 2  # 第二硬盤的分區1
rootnoverify (hd1,0)
makeactive
chainloader +1

title Boot cd

scdrom --bootcd


title Boot CD DVD 1
cdrom --init
chainloader (cd0)

boot


title 從網絡軟盤鏡像文件啓動  Boot from TFTP server

ifconfig --address=192.168.1.3
ifconfig --mask=255.255.255.0
ifconfig --gateway=192.168.1.1
tftpserver 192.168.1.1
kernel /memdisk.gz

initrd /exgrldr.img


title 啓動 Android NFS server

root (hd0,0)
kernel /vmlinuz iso-scan/filename=/my.iso init=/linuxrc root=/dev/nfs if=dhcp nfsroot=192.168.0.103:/opt/nfsroot
initrd /initrd.img quiet




發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章