命令:find --set-root /hbcd.txt
结构:
U 盘/HBCD
U 盘/hbcd.txt
命令:find --set-root /HBCD/hbcd.txt
结构:
U 盘/HBCD
U 盘/HBCD/hbcd.txt
命令:find --set-root /Tool/hbcd.txt
结构:
U 盘/Tool/HBCD
U 盘/Tool/hbcd.txt
原帖由 wind_fsm 于 2009-4-22 12:33 发表未必是 find --set-root 的错吧,下面这种方法不知楼主试过没有在 grub4dos 菜单按 c 进入命令行,然后输入你的语句如:find --set-root /HBCD/hbcd.txt,回车看提示是什么,如果是 File Not Find,那就表明 ...
原帖由 wind_fsm 于 2009-4-22 15:51 发表
呵呵,你的提示好奇怪,会提示“找不到 HBCD 文件夹”,你翻译过了?不是在开玩笑吧,什么版本的Grub4Dos?你的 grldr 传上来测试一下
112.94 KB, 下载次数: 69, 下载积分: 无忧币 -2
原帖由 wind_fsm 于 2009-4-22 17:48 发表
你用的版本居然是 GRUB4DOS 0.4.4 2009-04-06,在哪儿下载的啊?
我在 http://download.gna.org/grub4dos/ 最新的只找到 grub4dos-0.4.4.zip 31-Mar-2009
原帖由 Climbing 于 2009-4-22 19:29 发表
到现在我也没有搞明白楼主遇到了什么问题,总之,问题描述不清,无从判断。
最新版的grub4dos下载在这个链接上:
http://grub4dos.nufans.net
原帖由 xiaoyuan0417 于 2009-4-22 20:19 发表
现在的理解是:find --set-root /Tool/hbcd.txt 命令只是将 hbcd.txt 所在的驱动器设为要目录……
******************************************************************************
*** New Feature of Relative Path Support ***
******************************************************************************
Use the `root' or `rootnoverify' command to specify the `working directory'.
For example:
root (hd0,0)/boot/grub
This specifies that the working dir is (hd0,0)/boot/grub. So all subsequent
filenames of the form "/..." will actually refer to (hd0,0)/boot/grub/...
That is to say:
cat /menu.lst
will be equivalent to
cat (hd0,0)/boot/grub/menu.lst
******************************************************************************
*** Notation For The Current Root Device ***
******************************************************************************
The notation `()' can be used to access the current root device. You may use
`find --set-root ...' to set the current root device, but the find command
does not set the `working dir' of the root device. In this case you should
use `()' to set the working dir after the find command:
root ()/boot/grub
Update 2008-05-01:
FIND can also set the `working directory' now. For example:
find --set-root=/tmp /boot/grub/menu.lst
It is equivalent to this pair of commands:
find --set-root /boot/grub/menu.lst
root ()/tmp
原帖由 Climbing 于 2009-4-24 13:48 发表
所谓的莫名其妙,是因为你缺乏基础知识。在我看来,很少遇到grub4dos的莫名其妙问题,至于大写小写,该大写的就大写,该小写的就小写,没有什么好莫名其妙的。
例如,grub4dos本身是区分大小写的软件,所以, ...
原帖由 shn 于 2009-4-24 12:50 发表
学习了。grub4dos需要定义hd0,0这个位置,u盘启动非常难弄,有的机子能在u盘启动时把u盘当第一个分区,有的就死活不成,联想的removeable.dev如此……
还是我学习不到家啊,难道有什么命令能够搞定这个吗? ...
原帖由 wind_fsm 于 2009-4-24 17:32 发表
1. 解压 HBCD 下面的 boot.gz 得到文件 boot.img
2. 提取 boot.img 中文件 AUTOEXEC.BAT、STARTUP.BAT,修改这两个文件中的 hbcd 为你想要的路径
3. 提取 boot.img 中文件 DRIVERS.CAB
4. 解压 DRIVERS.CAB, ...
原帖由 Climbing 于 2009-4-24 22:49 发表
这个帖子充分说明了“提问的智慧”这篇文章的重要性和实用性。
直到看到楼主在23楼的回复,我才算明白了到底是怎么回事。我没有用过Hiren的bootcd,但从上面的反馈看,它应该是一张基于DOS的启动光盘,它的启 ...
原帖由 Climbing 于 2009-4-24 22:57 发表
在grub4dos下没有盘符这个概念,请你自己先搞清楚这些基本概念。
grub4dos的find搜索是有其内置的顺序的,一般来说先从硬盘开始挨个分区搜索,并将找到的第一个匹配的分区作为结果返回。假设你的U盘排在搜索 ...
欢迎光临 无忧启动论坛 (http://bbs.c3.wuyou.net/) | Powered by Discuz! X3.3 |