笔记:GRUB4DOS中文自述文档

http://mkv.cn/Html/Article/813_P6.html

你也可能希望为不同的客户端加载一个不同的menu.lst 。GRUB4DOS将在以下位置查找配置文件:

[/mybootdir]/menu.lst/01-88-99-AA-BB-CC-DD
[/mybootdir]/menu.lst/C000025B
[/mybootdir]/menu.lst/C000025
[/mybootdir]/menu.lst/C00002
[/mybootdir]/menu.lst/C0000
[/mybootdir]/menu.lst/C000
[/mybootdir]/menu.lst/C00
[/mybootdir]/menu.lst/C0
[/mybootdir]/menu.lst/C
[/mybootdir]/menu.lst/default

Here, we assume the network card mac for the client machine is
88:99:AA:BB:CC:DD, and the ip address is 192.0.2.91 (C000025B). /mybootdir is
the directory of the boot file, for example, if boot file is /tftp/grldr, then
mybootdir=tftp.
这里,我们假设客户端的网卡mac地址是 88:99:AA:BB:CC:DD ,而且ip地址是192.0.2.91 (C000025B)。
/mybootdir 是引导文件所在目录,例如,如果引导文件是 /tftp/grldr ,那么mybootdir=tftp 。

If none of the above files is present, grldr will use its embeded menu.lst.
如果上面的文件都未出现,grldr将使用它的内置的menu.lst 。

This is a menu.lst to illstrate how to use files from the tftp server.
这是一个怎样使用tftp服务器上文件的menu.lst文件。

title Create ramdisk using map
map –mem (pd)/floppy.img (fd0)
map –hook
rootnoverify (fd0)
chainloader (fd0)+1

title Create ramdisk using memdisk
kernel (pd)/memdisk
initrd (pd)/floppy.img

You can see that the menu.lst is very similar to normal disk boot, you just
need to replace device like (hd0,0) with (pd).
你可以看到这个 menu.lst 和在普通磁盘上引导的是相似的,你只是需要把象(hd0,0)
这样的设备用(pd) 来代替。

No comment
www.luowei620.com www.luowei620.com www.luowei620.com