China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-06-25 03:41
中国DOS联盟论坛 » GRUB4DOS、SYSLINUX及其它启动管理软件讨论专区 » GRUB4DOS cannot run MHDD? View 3,985 Replies 15
Original Poster Posted 2007-08-19 21:34 ·  中国 广东 广州 越秀区 电信
初级用户
Credits 21
Posts 9
Joined 2007-07-05 21:51
18-year member
UID 93254
Gender Male
Status Offline
Whether using MAP or MEMDISK to run the MHD.DISK file, this happens (picture) ~ Every time it reaches "STARTING MS-DOS" it stops ~ no matter how I press, there's no response ~ I changed several MHD.DISK files, still the same ~ but that MHD.DISK file works fine when put into the CD boot ~

Picture:


[ Last edited by mikoto on 2007-8-19 at 10:18 PM ]
Floor 2 Posted 2007-08-20 09:04 ·  中国 河南 南阳 联通
银牌会员
★★★★
不甘寂寞的人
Credits 2,491
Posts 1,115
Joined 2003-09-24 00:00
22-year member
UID 10292
Gender Male
Status Offline
Try the latest version of grub4dos? Download: http://download.gna.org/grub4dos/

Or try replacing it with a pure DOS boot disk IMG?

Or try the map method without --mem?

The information you provided is not enough. Especially the map command sequence is not provided.
因为我们亲手创建,这个世界更加美丽。
Floor 3 Posted 2007-08-20 15:50 ·  中国 陕西 西安 电信
初级用户
Credits 23
Posts 10
Joined 2007-04-15 08:46
19-year member
UID 85252
Gender Male
Status Offline
It seems that the problem is with the IMG, and it hasn't reached MHDD yet.

But it can be certain that the MAP needs improvement. Suppose the size of an IMG file is 2048K, Grub4dos will definitely not read the CHS of the IMG, but look at the actual size of this IMG disk. This.IMG is very likely 4096 or larger, but the subsequent sectors are not used.
Floor 4 Posted 2007-08-20 18:20 ·  中国 广东 广州 电信
初级用户
Credits 21
Posts 9
Joined 2007-07-05 21:51
18-year member
UID 93254
Gender Male
Status Offline
Originally posted by Buddy at 2007-8-20 09:04 AM:
Try using the latest version of grub4dos? Download: http://download.gna.org/grub4dos/

Or replace with a pure DOS bootable disk IMG and try again?

Or try the map method without --mem...

It's already the version from August 17
===============Dividing line (2007-08-19)================
First, let's talk about the directory
menu.lst
|-menu_1.lst (disk tools)
|-menu_2.lst (backup tools)
|-menu_3.lst (virus-killing tools)
|-Enter PE
|-Restart
|-Shut down

If I put MHDD.IMA above the MENU.LST directory ~ using MAP can run normally ~ no problem at all

But if I put MHDD.IMA above MENU_1.LST, this situation will occur ~ and it seems like it's dead (as shown in Figure 1) ~

MENU.LST to MENU_1.LST is pasted with CONFIGFILE ~

Why is this happening??? The same file is placed
There are two results when executed in two directories

(Figure 1):


==============Dividing line (2007-08-20)=================
Just tried again~ If it's on MENU.LST, MHDD.IMA can be run

But if it jumps from MENU.LST to MENU_1.LST, and then jumps back to MENU.LST, MHDD.IMA cannot be run anymore~
============Another dividing line=========
Tried methods:
title MHDD
map --mem (cd)/boot/grub/MHDD.IMA (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)

title mhdd
kernel (cd)/boot/grub/mem/memdisk.gz
initrd (cd)/boot/grub/MHDD.IMA

[ Last edited by mikoto on 2007-8-20 at 09:49 PM ]
Floor 5 Posted 2007-08-21 08:29 ·  中国 河南 南阳 联通
银牌会员
★★★★
不甘寂寞的人
Credits 2,491
Posts 1,115
Joined 2003-09-24 00:00
22-year member
UID 10292
Gender Male
Status Offline
Originally posted by uindex at 2007-8-20 03:50 PM:
But it can be affirmed that MAP needs to be improved. Suppose the size of an IMG file is 2048K, Grub4dos will definitely not read the CHS of the IMG and look at the actual size of this IMG disk. This.IMG is very likely to be 4096 or larger, but the subsequent sectors are not used.


MAP should be able to judge the value of chs and adopt it. If there is a problem, you can give a detailed report.

In addition, if the first sector of your image has no BPB or its partition table is wrong, then MAP will indeed ignore the value of chs, and at this time the length of the memory disk image cannot be adjusted automatically. But you can adjust it manually. The method is to replace map --mem with map --mem=-8192.

The meaning of map --mem=-8192 is to reserve at least 8192 sectors (that is, 4096K) for the memory disk.
因为我们亲手创建,这个世界更加美丽。
Floor 6 Posted 2007-08-21 08:59 ·  中国 河南 南阳 联通
银牌会员
★★★★
不甘寂寞的人
Credits 2,491
Posts 1,115
Joined 2003-09-24 00:00
22-year member
UID 10292
Gender Male
Status Offline

If I put MHDD.IMA on the directory above MENU.LST ~ using MAP can run normally ~ no problem at all


Seeing this, I'm very happy. I want you to confirm if this is really the case? Did you succeed with map --mem? Or with memdisk? Or both? I need your exact answer.

If map --mem succeeded, I also want you to clearly point out one thing: Could map --mem before August 17 succeed? That is, did the August 17 version solve the previous死机 problem? Because someone else reported elsewhere that the August 17 map --mem all failed, while the August 12 version all succeeded. So, I want to know more accurate information. This is important because it determines whether to use the code before August 12 or the code from August 17 (this involves the A20 control code). If the August 17 code is better, we will use the August 17 code. Conversely, we will use the August 12 code.

Your other question (configfile) seems not particularly serious (from a developer's perspective). I suspect it's a hidden problem with the configfile command. Can you further test that whenever the configfile command is used, this problem occurs? For example, does using configfile to directly boot menu.lst itself also have this problem? After using configfile, enter the command line, and then execute a few random commands to see if there are other anomalies? Try to find out more anomalies.
因为我们亲手创建,这个世界更加美丽。
Floor 7 Posted 2007-08-21 18:22 ·  中国 广东 广州 电信
初级用户
Credits 21
Posts 9
Joined 2007-07-05 21:51
18-year member
UID 93254
Gender Male
Status Offline
My bootable CD started to be made on August 18th~ I haven't tried GRUB4DOS before August 17th~ I'll try the one released on August 12th tonight~

I successfully booted MHDD using map --mem (cd)/**/**/MHDD.IMA in the MENU.LST directory and it can run normally

P.S: How to use CONFIGFILE to start MENU.LST?? MENU.LST is the basic directory~ I don't know~ I'm just starting to learn GRUB.....
Floor 8 Posted 2007-08-21 19:27 ·  中国 陕西 西安 电信
初级用户
Credits 23
Posts 10
Joined 2007-04-15 08:46
19-year member
UID 85252
Gender Male
Status Offline
My IMG indeed has no BPB, so sorry about that.
Floor 9 Posted 2007-08-21 23:56 ·  中国 广东 广州 电信
初级用户
Credits 21
Posts 9
Joined 2007-07-05 21:51
18-year member
UID 93254
Gender Male
Status Offline
Originally posted by Buddha](不点) at 2007-8-21 08:59 AM:

I am very happy to see this. I would like you to confirm whether this is really the case? Did you succeed with map --mem? Or with memdisk? Or both? I need your accurate reply...

I found that it turned out to be a problem with that FONTS file~ Just now I tried both August 17th and August 12th~
The one on August 12th can run normally~ But I also found a little problem~ That is, the GRUB on August 12th did not display Chinese correctly~
The one on August 12th did not run the line fontfile (cd)/boot/grub/fonts in MENU.LST

So I also deleted the FONTS file of August 17th~ MHDD can run normally~

P.S: Both map --mem and memdisk can run MHDD normally

The one on August 21st hasn't been tried yet

[ Last edited by mikoto on 2007-8-22 at 12:03 AM ]
Floor 10 Posted 2007-08-22 09:39 ·  中国 河南 南阳 联通
银牌会员
★★★★
不甘寂寞的人
Credits 2,491
Posts 1,115
Joined 2003-09-24 00:00
22-year member
UID 10292
Gender Male
Status Offline
I see, thank you for your hard work. It is suggested that you study the command line of grub4dos more, which is very beneficial for debugging your own menu.
因为我们亲手创建,这个世界更加美丽。
Floor 11 Posted 2007-08-22 22:35 ·  中国 广东 广州 荔湾区 电信
初级用户
Credits 21
Posts 9
Joined 2007-07-05 21:51
18-year member
UID 93254
Gender Male
Status Offline
Originally posted by Buddy Don't Click at 2007-8-22 09:39 AM:
I see, thank you for your hard work. It is suggested that you study more about the command line of grub4dos, which is very helpful for debugging your own menu.

But where exactly did I go wrong there??? Could it be the syntax of the command line???

[ Last edited by mikoto on 2007-8-22 at 10:39 PM ]
Floor 12 Posted 2007-08-23 08:17 ·  中国 河南 南阳 联通
银牌会员
★★★★
不甘寂寞的人
Credits 2,491
Posts 1,115
Joined 2003-09-24 00:00
22-year member
UID 10292
Gender Male
Status Offline
I guess it should be caused by some kind of error in the usage method.
因为我们亲手创建,这个世界更加美丽。
Floor 13 Posted 2007-08-25 14:46 ·  中国 广东 广州 海珠区 电信
初级用户
Credits 21
Posts 9
Joined 2007-07-05 21:51
18-year member
UID 93254
Gender Male
Status Offline
It feels like it's the problem with the FONTS file.
Reasons:
1. The MHDD in the sub - menu can't run~No other files are found to be unable to run for the time being.
2. Tested versions 7 - 10, 8 - 12, 8 - 17, 8 - 21, 8 - 24, all are like this.
3. As long as the FONTS file is not used, there are no problems! Whether it is the Chinese version of GRUB or the English version of GRUB.
Floor 14 Posted 2007-08-25 17:17 ·  中国 河南 南阳 联通
银牌会员
★★★★
不甘寂寞的人
Credits 2,491
Posts 1,115
Joined 2003-09-24 00:00
22-year member
UID 10292
Gender Male
Status Offline
Using mkisofs to create an ISO won't have all sorts of strange errors. Just search for information online first.
因为我们亲手创建,这个世界更加美丽。
Floor 15 Posted 2007-08-28 19:20 ·  中国 广东 广州 越秀区 电信
初级用户
Credits 21
Posts 9
Joined 2007-07-05 21:51
18-year member
UID 93254
Gender Male
Status Offline
Report not click: There is a netizen from Wuyou Boot who helped test~ He tested on a real machine~ The result is also the same screen corruption

Is it really the problem of the software for making ISO??!?!?

[ Last edited by mikoto on 2007-8-28 at 07:24 PM ]
Forum Jump: