无忧启动论坛

标题: Autoexec.bat如何编辑? [打印本页]

作者: wangmeng052    时间: 2008-9-13 21:37
标题: Autoexec.bat如何编辑?
Autoexec.bat如何编辑?

usb-zip模式在dos下用grub,Autoexec.bat编辑为:“grub --config-file=(fd0)/menu.lst”,不加(fd0)可以吗?在识别为C:的机子上可以写成:
“grub --config-file=/menu.lst”,是否要加(hd0,0),有何规则,恳请帮助菜鸟说明,不胜感激!
作者: wowfans    时间: 2008-9-14 10:40
直接运行grub.exe就可以了
第一搜索的就是当前目录.....
自然也不用分A和C了
有空看看help文件

                Update 3(2006-12-23): By default, GRUB.EXE will locate its
                config file in the following order:

                        (DOS file) .\menu.lst, the MENU.LST in the current dir.

                        (DOS file) \menu.lst, the MENU.LST in the root dir of
                                                the current drive.
                        (GRUB file) /menu.lst, the MENU.LST in the root dir of
                                                the boot device.

                The default boot device is still (hd0,0).


先搜索当前目录,在搜索当前磁盘根目录,然后才是默认启动设备的根目录
作者: wangmeng052    时间: 2008-9-26 22:03
usb-zip模式下,不设置grub --config-file=(fd0)/menu.lst,直接运行grub.exe能加载当前目录menu.lst吗?     时空论坛说:zip模式下将u盘模拟成软驱,直接运行grub.exe不加以上参数,因不搜索软驱,将不会加载u盘里menu.lst。不知谁正确?

[ 本帖最后由 wangmeng052 于 2008-9-26 22:04 编辑 ]




欢迎光临 无忧启动论坛 (http://bbs.wuyou.net/) Powered by Discuz! X3.3