|
不点
银牌会员
     不甘寂寞的人
积分 2491
发帖 1115
注册 2003-9-24
状态 离线
|
|
2006-6-17 15:53 |
|
|
fastslz
铂金会员
       DOS一根葱
积分 5493
发帖 2315
注册 2006-5-1 来自 上海
状态 离线
|
『第 47 楼』:
使用 LLM 解释/回答一下
试过了,以下真机测试
menu.lst配置情况:
title 虚拟软驱文件1
map --mem /boot/grub/288.img (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)
menu.lst和img同在主分区的3个不同目录能引导
menu.lst在主分区,img在其他分区能引导
menu.lst在(hd0,4)分区,img在(hd0,4)分区不同目录能引导
menu.lst在(hd0,4)分区,img在(hd0,5)分区不同目录不能引导
menu.lst配置,先fonts后bj2008.xpm.gz和以前一样不能显示中文
只有fonts没有bj2008.xpm.gz也无法显示中文
Tried it, and the following is the real machine test.
Configuration of menu.lst:
title Virtual Floppy File 1
map --mem /boot/grub/288.img (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)
menu.lst and img can be booted when they are in 3 different directories of the main partition.
menu.lst can be booted when it is in the main partition and img is in other partitions.
menu.lst can be booted when it is in the (hd0,4) partition and img is in different directories of the (hd0,4) partition.
menu.lst cannot be booted when it is in the (hd0,4) partition and img is in different directories of the (hd0,5) partition.
For the menu.lst configuration, the Chinese cannot be displayed if fonts are used first and then bj2008.xpm.gz as before.
The Chinese cannot be displayed even if there are only fonts and no bj2008.xpm.gz.
|
|
2006-6-17 18:02 |
|
|
不点
银牌会员
     不甘寂寞的人
积分 2491
发帖 1115
注册 2003-9-24
状态 离线
|
『第 48 楼』:
使用 LLM 解释/回答一下
你这个用法是错误的。
map --mem /boot/grub/288.img (fd0)
这条命令不能单独使用,必须在它之前运行 root (...) 或者 find --set-root /boot/grub/288.img 命令才行。
凡是只有路径名(/.../.../filename)而省略设备名(例如(hd0,0))的文件,都需要在该文件所在的命令之前先运行 root (...) 或者 find --set-root 命令,否则,这个文件就不具有完整的文件名,打开该文件时会失败的。
Your usage is incorrect.
map --mem /boot/grub/288.img (fd0)
This command cannot be used alone; you must run the root (...) or find --set-root /boot/grub/288.img command before it.
For any file that only has a pathname (/.../.../filename) and omits the device name (such as (hd0,0)), you need to run the root (...) or find --set-root command before the command that refers to this file. Otherwise, the file will not have a complete filename, and opening the file will fail.
|

因为我们亲手创建,这个世界更加美丽。 |
|
2006-6-17 18:34 |
|
|
fastslz
铂金会员
       DOS一根葱
积分 5493
发帖 2315
注册 2006-5-1 来自 上海
状态 离线
|
『第 49 楼』:
使用 LLM 解释/回答一下
郁闷啊....
以前因为只要把menu.lst和img放在一起不管哪个分区都能启动所以被忽略了今天才知道这个用法用是错误的,grub就是强!
难怪刚才find到另外一个menu.lst配置能启动的
哦今天A20 显示off的
Depressed....
Previously, because as long as menu.lst and img are placed together and can be booted regardless of which partition, it was ignored. Today I just found out that this usage is wrong. GRUB is powerful!
No wonder I just found another menu.lst configuration that can boot.
Oh, today A20 is shown as off.
|
|
2006-6-17 19:04 |
|
|
不点
银牌会员
     不甘寂寞的人
积分 2491
发帖 1115
注册 2003-9-24
状态 离线
|
『第 50 楼』:
使用 LLM 解释/回答一下
A20 是 IBM 糟糕的设计。在机器上电时,A20 处于允许状态,当 BIOS 把控制权交给磁盘上的引导扇区时,A20 已经被 BIOS 禁止了,这样可以较好的兼容以前的老的 BUGGY 程序。可是如今,那些满身臭虫的程序早都不存在了,所以,A20 就没必要再关闭了,也就是说,始终打开 A20 并无坏处。
然而,为了兼容某些破旧的机器,在启动一个操作系统之前,还是要关闭 A20,否则,那些机器有可能不正常。
A20 is a bad design by IBM. When the machine is powered on, A20 is in an enabled state. When the BIOS hands control over to the boot sector on the disk, A20 has already been disabled by the BIOS, which can better be compatible with the old buggy programs before. However, nowadays, those bug - ridden programs are long gone, so there is no need to keep A20 disabled anymore, that is to say, keeping A20 always enabled does no harm.
However, in order to be compatible with some old - fashioned machines, before booting an operating system, it is still necessary to disable A20, otherwise, those machines may not work properly.
|

因为我们亲手创建,这个世界更加美丽。 |
|
2006-6-17 19:22 |
|
|
不得不爱
超级版主
         我爱DOS
积分 5310
发帖 2044
注册 2005-9-26 来自 四川南充
状态 离线
|
|
2006-6-17 20:13 |
|
|
不得不爱
超级版主
         我爱DOS
积分 5310
发帖 2044
注册 2005-9-26 来自 四川南充
状态 离线
|
|
2006-6-17 20:29 |
|
|
不得不爱
超级版主
         我爱DOS
积分 5310
发帖 2044
注册 2005-9-26 来自 四川南充
状态 离线
|
『第 53 楼』:
使用 LLM 解释/回答一下
Originally posted by 不点 at 2006-6-17 18:34:
你这个用法是错误的。
map --mem /boot/grub/288.img (fd0)
这条命令不能单独使用,必须在它之前运行 root (...) 或者 find --set-root /boot/grub/288.img 命令才行〠...
可是map --mem /boot/grub/288.img (fd0)的确可以启动呀,而且比map --mem (hd0,4)/boot/grub/288.img (fd0)用起来要方便多了!不知道GRUB对map --mem /boot/grub/288.img (fd0)这样的命令的支持能改进一下吗?
Originally posted by Buddha's light at 2006-6-17 20:14:
But the map --mem /boot/grub/288.img (fd0) can indeed boot, and it is much more convenient than map --mem (hd0,4)/boot/grub/288.img (fd0)! I wonder if GRUB can improve the support for commands like map --mem /boot/grub/288.img (fd0)?
|

我的网络U盘 我的网络第2个U盘
论坛软件下载链接
灵雨飘零论坛
论坛新手必读,所有人的基本行为准则
刷QQ空间人气、留言的小软件 |
|
2006-6-17 20:36 |
|
|
fastslz
铂金会员
       DOS一根葱
积分 5493
发帖 2315
注册 2006-5-1 来自 上海
状态 离线
|
『第 54 楼』:
使用 LLM 解释/回答一下
Originally posted by 不点 at 2006-6-17 18:34:
你这个用法是错误的。
map --mem /boot/grub/288.img (fd0)
这条命令不能单独使用,必须在它之前运行 root (...) 或者 find --set-root /boot/grub/288.img 命令才行。
凡是只有路径名(/.../.../filename)而省略设备名(例如(hd0,0))的文件,都需要在该文件所在的命令之前先运行 root (...) 或者 find --set-root 命令,否则,这个文件就不具有完整的文件名,打开该文件时会失败的。
我的那用法用到现在也能实现只要目录结构是/boot/grub不管在哪个分区上也能启动,但是这方法总是另类的<img src="images/smilies/face-smile-big.png" align="absmiddle" border="0">今天想改写menu.lst配置碰到一点问题想请教
用find --set-root /..../..../.....img装载镜像
那 bj2008.xpm.gz或fonts怎么装载?
find --set-root /boot/grub/bj2008.xpm.gz
savedefault
splashimage /boot/grub/bj2008.xpm.gz
find --set-root /boot/grub/fonts
savedefault
fontfile /boot/grub/fonts
不知道有这样行不?这样一来多个menu.lst使用一个bj2008.xpm.gz或fonts,拽吧<img src="images/smilies/face-grin.png" align="absmiddle" border="0">
Last edited by fastslz on 2006-6-17 at 20:46 ]
Originally posted by Budong at 2006-6-17 18:34:
Your usage here is incorrect.
map --mem /boot/grub/288.img (fd0)
This command cannot be used alone; you must run the root (...) or find --set-root /boot/grub/288.img command before it.
For any file that only has a pathname (/.../.../filename) and omits the device name (e.g., (hd0,0)), you need to run the root (...) or find --set-root command before the command that accesses this file; otherwise, the file does not have a complete filename, and opening the file will fail.
My previous usage has worked so far as long as the directory structure is /boot/grub, no matter which partition it is on, but this method is always unconventional :D Today I wanted to rewrite the menu.lst configuration and encountered a problem, so I want to ask.
Using find --set-root /..../..../.....img to load the image
Then how to load bj2008.xpm.gz or fonts?
find --set-root /boot/grub/bj2008.xpm.gz
savedefault
splashimage /boot/grub/bj2008.xpm.gz
find --set-root /boot/grub/fonts
savedefault
fontfile /boot/grub/fonts
I don't know if this works. In this way, multiple menu.lsts can use one bj2008.xpm.gz or fonts, cool :lol:
Last edited by fastslz on 2006-6-17 at 20:46 ]
|
|
2006-6-17 20:42 |
|
|
不点
银牌会员
     不甘寂寞的人
积分 2491
发帖 1115
注册 2003-9-24
状态 离线
|
『第 55 楼』:
使用 LLM 解释/回答一下
qwe1234567:
通常你这么用也是可以的。这是新近的 GRUB4DOS 特有的,以前 0.2.0 的没有这个功能。菜单文件所在的分区,一般就是作为默认分区来的。所以,省略了分区号的文件名,也是可以打开的。但是,菜单文件中也可以使用 root 以及 find --set-root 命令,这些命令会改变默认分区,当默认分区改变时,以后的文件名如果没有带分区号,那么就把新的默认分区作为该文件的分区了。
fastslz:
你的这些用法应该都行,不行的话,可以报告 BUG。
qwe1234567:
Usually you can use it like this. This is a newly added feature specific to GRUB4DOS. The previous 0.2.0 version did not have this function. The partition where the menu file is located is generally taken as the default partition. So, file names that omit the partition number can also be opened. However, the menu file can also use the root and find --set-root commands. These commands will change the default partition. When the default partition is changed, if the file name in the future does not have a partition number, then the new default partition will be used as the partition of this file.
fastslz:
Your these usages should all work. If not, you can report a BUG.
|

因为我们亲手创建,这个世界更加美丽。 |
|
2006-6-17 21:45 |
|
|
Wengier
系统支持
             “新DOS时代”站长
积分 27736
发帖 10521
注册 2002-10-9
状态 离线
|
『第 56 楼』:
使用 LLM 解释/回答一下
Originally posted by 不点 at 2006-6-17 03:53 PM:
已经上载了新的编译, 还是在这里:
http://grub4dos.jot.com/
请试试看,情况有无变化?
嗯,现在这个问题已经解决了。
另外,发现如用GRUB4DOS来重启动DOS的话,在启动DOS的过程中常会发生一些不正常的结果(比如死机或显示错误信息),比如在加载EMM386时。
Originally posted by Budian at 2006-6-17 03:53 PM:
A new build has been uploaded, still here:
http://grub4dos.jot.com/
Please try it and see if the situation changes?
Well, now this problem has been resolved.
In addition, it is found that when using GRUB4DOS to restart DOS, some abnormal results often occur during the process of booting DOS (such as死机or displaying error messages), for example, when loading EMM386.
|

Wengier - 新DOS时代
欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/
E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)
 |
|
2006-6-17 23:09 |
|
|
不得不爱
超级版主
         我爱DOS
积分 5310
发帖 2044
注册 2005-9-26 来自 四川南充
状态 离线
|
|
2006-6-18 07:54 |
|
|
不点
银牌会员
     不甘寂寞的人
积分 2491
发帖 1115
注册 2003-9-24
状态 离线
|
『第 58 楼』:
使用 LLM 解释/回答一下
中文的问题我暂时还不能关注,请报告给 gandalf 吧。wengier 说的再次启动 DOS 会死机的问题,似乎以前我也有碰到,但后来很难碰到了。记得以前是仿真某个磁盘之后,就容易出现这样的情况。希望能把这个问题明朗化,找出它出现的规律,以便确定问题的根源。好了,既然前面所述问题都解决了,现在就准备发布 0.4.2pre6 了。
I can't pay attention to the Chinese problem for the time being. Please report it to gandalf. The problem that the DOS restarts and crashes again mentioned by wengier, it seems that I also encountered it before, but it is difficult to encounter it later. I remember that it was easy to have such a situation after simulating a certain disk. I hope to clarify this problem and find out the law of its occurrence, so as to determine the root cause of the problem. Well, since the problems mentioned above have been solved, now we are ready to release 0.4.2pre6.
|

因为我们亲手创建,这个世界更加美丽。 |
|
2006-6-18 09:55 |
|
|
不得不爱
超级版主
         我爱DOS
积分 5310
发帖 2044
注册 2005-9-26 来自 四川南充
状态 离线
|
|
2006-6-18 19:00 |
|
|
不得不爱
超级版主
         我爱DOS
积分 5310
发帖 2044
注册 2005-9-26 来自 四川南充
状态 离线
|
『第 60 楼』:
使用 LLM 解释/回答一下
能否增强find --set-root 命令让它支持find --map --mem /boot/grub/288.img (fd0)
这样的命令,而这个命令等同于find --set-root /boot/grub/288.img (fd0)和map --mem /boot/grub/288.img (fd0),可以吗?我知道这一定会给你带来不少的可能,不过这样功能就增强了,以后要加载什么文件可以直接用FIND命令来加载,这样不是就方便了用户了!
Can the find --set-root command be enhanced to support commands like find --map --mem /boot/grub/288.img (fd0)? This command is equivalent to find --set-root /boot/grub/288.img (fd0) and map --mem /boot/grub/288.img (fd0). Is this possible? I know this will definitely bring you many possibilities, but in this way the function is enhanced. In the future, any file to be loaded can be directly loaded using the FIND command, which will be more convenient for users!
|

我的网络U盘 我的网络第2个U盘
论坛软件下载链接
灵雨飘零论坛
论坛新手必读,所有人的基本行为准则
刷QQ空间人气、留言的小软件 |
|
2006-6-18 19:17 |
|