中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-11-25 08:32
47,820 topics / 349,938 posts / today 0 new / 48,298 members
GRUB4DOS、SYSLINUX及其它启动管理软件讨论专区 » GRUB4DOS mailing lists and resource links
Printable Version  50,164 / 29
Floor16 不点 Posted 2007-07-12 15:20
银牌会员 Posts 1,115 Credits 2,491
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).
Floor17 chenall Posted 2007-07-12 18:49
银牌会员 Posts 469 Credits 1,276 From 福建泉州
```
get_cdinfo(7f),int13/4B01(7F),err=0,drive=7f, int13/4B01(9F),err=0,drive=9F
cdrom_drive==9F.



Floor18 不点 Posted 2007-07-12 20:49
银牌会员 Posts 1,115 Credits 2,491
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.
Floor19 chenall Posted 2007-07-12 22:05
银牌会员 Posts 469 Credits 1,276 From 福建泉州
```
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
```
Floor20 wang6610 Posted 2007-07-12 22:07
银牌会员 Posts 488 Credits 1,246
Hope the problem can be solved...
Floor21 不点 Posted 2007-07-13 07:44
银牌会员 Posts 1,115 Credits 2,491
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 ]
Floor22 chenall Posted 2007-07-13 11:57
银牌会员 Posts 469 Credits 1,276 From 福建泉州
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).

Floor23 不点 Posted 2007-07-13 18:27
银牌会员 Posts 1,115 Credits 2,491
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.
Floor24 rsea Posted 2007-07-13 18:58
初级用户 Posts 19 Credits 47
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).

Floor25 不点 Posted 2007-07-13 20:36
银牌会员 Posts 1,115 Credits 2,491
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.
Floor26 chenall Posted 2007-07-13 20:40
银牌会员 Posts 469 Credits 1,276 From 福建泉州
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.
Floor27 zmq Posted 2007-10-08 17:17
新手上路 Posts 6 Credits 14
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
Floor28 bxtemp Posted 2008-04-09 17:38
新手上路 Posts 6 Credits 14
Floor29 haiou327 Posted 2008-05-06 16:24
高级用户 Posts 348 Credits 713
These days the updates are really fast.
Support you
Floor30 mydossky Posted 2010-06-14 15:49
新手上路 Posts 3 Credits 6
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.
Prev  1 2
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023