无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站投放广告、加入VIP会员,请联系 微信:wuyouceo
查看: 2567|回复: 2
打印 上一主题 下一主题

Autoexec.bat如何编辑?

[复制链接]
跳转到指定楼层
1#
发表于 2008-9-13 21:37:19 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
Autoexec.bat如何编辑?

usb-zip模式在dos下用grub,Autoexec.bat编辑为:“grub --config-file=(fd0)/menu.lst”,不加(fd0)可以吗?在识别为C:的机子上可以写成:
“grub --config-file=/menu.lst”,是否要加(hd0,0),有何规则,恳请帮助菜鸟说明,不胜感激!
2#
发表于 2008-9-14 10:40:27 | 只看该作者
直接运行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).


先搜索当前目录,在搜索当前磁盘根目录,然后才是默认启动设备的根目录
回复

使用道具 举报

3#
 楼主| 发表于 2008-9-26 22:03:05 | 只看该作者
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 编辑 ]
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|捐助支持|无忧启动 ( 闽ICP备05002490号-1 )

闽公网安备 35020302032614号

GMT+8, 2025-8-2 20:23

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表