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-24 16:53
中国DOS联盟论坛 » GRUB4DOS、SYSLINUX及其它启动管理软件讨论专区 » GRUB4DOS mailing lists and resource links StickyI View 47,766 Replies 29
Floor 16 Posted 2007-07-12 15:20 ·  中国 河南 南阳 联通
银牌会员
★★★★
不甘寂寞的人
Credits 2,491
Posts 1,115
Joined 2003-09-24 00:00
22-year member
UID 10292
Gender Male
Status Offline
The problem is here:
get_cdinfo(7f),int13/4B01(7F),err=0,drive=7f, cdrom_drive==9F.

Using DL=7F to call, the successfully returned 9F is actually a useless value.

Just now, I have uploaded the test grldr and grub.exe to http://grub4dos.jot.com/, please download and test.

If it still fails, then still use Insert single-step debugging, just post the above get_cdinfo line, the purpose is to see the CDROM drive number.

Whether it succeeds or not, with debug on, post the display of geometry (cd) and root (cd).
因为我们亲手创建,这个世界更加美丽。
Floor 17 Posted 2007-07-12 18:49 ·  中国 福建 泉州 石狮市 电信
银牌会员
★★★
Credits 1,276
Posts 469
Joined 2002-12-23 13:00
23-year member
UID 586
Gender Male
From 福建泉州
Status Offline
```
get_cdinfo(7f),int13/4B01(7F),err=0,drive=7f, int13/4B01(9F),err=0,drive=9F
cdrom_drive==9F.




>debug on
>root (cd)
int13/41(9F),version=0,int13/4B01(9F),err=1,drive=9F,int13/48(9f),err=1,c/H/S=0/0/0,sector count/size=0/0,
int13/08(9f),version=1,C/H/S=16383/255/63,
ERROR 26:Selected disk does not exist
>geometry (cd)
int13/41(9f),version=0, int13/4B01(9f),err=1,drive=9F, int13/48(9F),err=1,c/H/S=0/0/0,sector count/size=0/0,
int13/08(9f),version=1,C/H/S=65536/255/15,
QQ:366840202
http://chenall.net
Floor 18 Posted 2007-07-12 20:49 ·  中国 河南 南阳 联通
银牌会员
★★★★
不甘寂寞的人
Credits 2,491
Posts 1,115
Joined 2003-09-24 00:00
22-year member
UID 10292
Gender Male
Status Offline
This is very strange. When booting, executing get cdinfo succeeded, and the returned 9F was the CD.

But when executing get cdinfo the second time, it failed. Could it be that after executing 4B01 once, the CD is unloaded? If so, that's too bad!

Uploaded a new version again (still at http://grub4dos.jot.com/). This time----during booting----executed several more get cdinfo to see if it would fail. Guessed it should fail.

Still using the Insert key for step-by-step debugging. This time just pay attention to posting the situation of get cdinfo.
因为我们亲手创建,这个世界更加美丽。
Floor 19 Posted 2007-07-12 22:05 ·  中国 福建 泉州 石狮市 电信
银牌会员
★★★
Credits 1,276
Posts 469
Joined 2002-12-23 13:00
23-year member
UID 586
Gender Male
From 福建泉州
Status Offline
```
get_cdinfo(7F),int13/4B01(7F),err=0,drive=7f,
int13/4B01(9F),err=0,drive=9F,int13/4B01(9f),err=0,drive=9F.
(Repeated 14 times,...),cdrom_drive==9F

No more display this time.
biosdisk_int13_extensions read=0,drive=0x9f,dap=580,err=0x1
```
QQ:366840202
http://chenall.net
Floor 20 Posted 2007-07-12 22:07 ·  中国 山东 菏泽 联通
银牌会员
★★★
Credits 1,246
Posts 488
Joined 2003-11-11 00:00
22-year member
UID 12699
Gender Male
Status Offline
Hope the problem can be solved...
Floor 21 Posted 2007-07-13 07:44 ·  中国 河南 南阳 联通
银牌会员
★★★★
不甘寂寞的人
Credits 2,491
Posts 1,115
Joined 2003-09-24 00:00
22-year member
UID 10292
Gender Male
Status Offline
Try starting again by pressing c instead of Insert to enter the command line. The meaning of this c is that the built-in preset_menu is not executed either. Let's see under such a situation,

debug on

cat --hex (cd)16+4

and

geometry (cd)

root (cd)

Are there any different results?

Note: Run geometry (cd) multiple times continuously and see if its results change.

=====================

wang6610: This problem can definitely be solved. I am also researching the code in ioslinux right now. This is really a very good code, and there are many methods for dealing with different BIOS bugs in it. No wonder it can be ranked among the top 100 on freshmeat. Our grub4dos is currently ranked among the top 2000 on freshmeat. GNU GRUB is ranked among the top 200.

[ Last edited by 不点 on 2007-7-13 at 10:50 AM ]
因为我们亲手创建,这个世界更加美丽。
Floor 22 Posted 2007-07-13 11:57 ·  中国 福建 泉州 石狮市 电信
银牌会员
★★★
Credits 1,276
Posts 469
Joined 2002-12-23 13:00
23-year member
UID 586
Gender Male
From 福建泉州
Status Offline
I use GRLDR as the bootloader.
Directly press the C key to enter the command line.
The following each segment is the data obtained after restarting. Because after executing once.
The subsequent data is the same as the previous one (the last post).


>debug on
>cat --hex (cd)16+4
int13/41(9F), version=0, int13/4B01(9F), err=0, drive=9F,
biosdisk_int13_extensions read=0, drive=0x9f, dap=580, err=0x1
Error 30: disk read error

>debug on
>root (cd)
The same as above..

>debug on
>geometry (cd)
int13/41(9f), version=0, int13/4B01(9f), err=0, drive=9F, drive 0x9f(lba): C/H/S=65536/255/15
Sector Count/Size=250675200/2048
int13/41(9f), version=0, int13/4B01(9f), err=1, drive=9F, int13/48(9F), err=1, c/H/S=0/0/0, sector count/size=0/0,
int13/08(9f), version=1, C/H/S=0/0/0

QQ:366840202
http://chenall.net
Floor 23 Posted 2007-07-13 18:27 ·  中国 河南 南阳 联通
银牌会员
★★★★
不甘寂寞的人
Credits 2,491
Posts 1,115
Joined 2003-09-24 00:00
22-year member
UID 10292
Gender Male
Status Offline
Just uploaded two versions to http://grub4dos.jot.com/

Note that there are two versions: there are two grldr uploaded today, and two grub.exe as well.

Please give it a try.

This time, still press c to enter the command line first. However, after executing debug on this time, you don't need to execute other commands, just execute

geometry (cd)

Execute this command repeatedly, see if the displayed information changes, and if there are changes, see if there are any patterns in these changes.

Note that for the two uploaded versions, test each version.
因为我们亲手创建,这个世界更加美丽。
Floor 24 Posted 2007-07-13 18:58 ·  中国 福建 福州 仓山区 电信
初级用户
Credits 47
Posts 19
Joined 2007-07-11 19:57
18-year member
UID 93735
Gender Male
Status Offline
Originally posted by chenall at 2007-7-13 11:57 AM:
I use GRLDR as the bootloader.
Directly press the C key to enter the command line.
Each of the following segments is the data obtained after restarting. Because after executing once.
The subsequent data is the same as the previous one (the last post).


>debug on
...

What version are the newly uploaded two files? Are they also 0.43?
Floor 25 Posted 2007-07-13 20:36 ·  中国 河南 南阳 联通
银牌会员
★★★★
不甘寂寞的人
Credits 2,491
Posts 1,115
Joined 2003-09-24 00:00
22-year member
UID 10292
Gender Male
Status Offline
It's for testing/debugging bugs. You don't need to care.

The version released by bean from July to October is still the one for everyone at present.
因为我们亲手创建,这个世界更加美丽。
Floor 26 Posted 2007-07-13 20:40 ·  中国 福建 泉州 石狮市 电信
银牌会员
★★★
Credits 1,276
Posts 469
Joined 2002-12-23 13:00
23-year member
UID 586
Gender Male
From 福建泉州
Status Offline
In order to facilitate testing, download both files completely. One is named GRUB40.EXE and the other is GRUB41.EXE. After booting through the ISO - LINUX of the CD - ROM, then load these two files respectively for testing.

GRUB.EXE VER 40
>debug on
>geometry (cd)
int13/41(9F),version=0, int13/4B01(9F),err=0,drive=9F,drive 0x9f(LBA):C/H/S
=65536/255/15,Sector Count/Size=250675200/2048

>geometry (cd)
int13/41(9F0,verion=0, int13/4B01(9F0,err=1,drive=9F, int13/48(9F),err=1,C
/H/S=0/0/0,Sector Count/Size=0/0, int13/08(9F),version=1,C/H/S=65536/255/15,

Error 26: Selected disk does not exist
>geometry (cd)
The same as above..
....
Executed multiple times or the same as above...

GRUB.EXE VER41

The result is the same.
QQ:366840202
http://chenall.net
Floor 27 Posted 2007-10-08 17:17 ·  中国 山东 聊城 联通
新手上路
Credits 14
Posts 6
Joined 2006-03-27 09:57
20-year member
UID 52870
Status Offline
1. This win98.img can be normally booted with memdisk.
2. GRUB version 0.4.3 2007-10-08
3. Fault phenomenon: Freezes when starting Windows 98
4. Command line sequence
map (hd0,0)/boot/sources/win98.img (hd0)
map (hd0) (hd2)
chainloader (hd0)+1
boot
Floor 28 Posted 2008-04-09 17:38 ·  中国 河南 郑州 联通
新手上路
Credits 14
Posts 6
Joined 2008-04-09 17:13
18-year member
UID 115377
Gender Male
Status Offline
Floor 29 Posted 2008-05-06 16:24 ·  中国 广东 汕头 潮阳区 电信
高级用户
★★★
DOS时空
Credits 713
Posts 348
Joined 2007-02-10 13:59
19-year member
UID 79169
Gender Male
Status Offline
These days the updates are really fast.
Support you
Floor 30 Posted 2010-06-14 15:49 ·  中国 福建 厦门 电信
新手上路
Credits 6
Posts 3
Joined 2007-11-04 02:52
18-year member
UID 101632
Gender Male
Status Offline
Please provide the specific link you are referring to. If there is no specific content related to the link context here, I can't give a specific translated link output. Please provide more context information about the link you want to refer to.
Forum Jump: