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 05:42
中国DOS联盟论坛 » GRUB4DOS、SYSLINUX及其它启动管理软件讨论专区 » The new version of grub for dos may have problems reading files on NTFS partitions View 1,931 Replies 5
Original Poster Posted 2007-11-04 20:32 ·  中国 浙江 温州 电信
初级用户
Credits 127
Posts 9
Joined 2004-03-02 00:00
22-year member
UID 18937
Gender Male
Status Offline
Previously, for some reason, I had been using grub for dos 0.4.2 (01/07/2007). Recently, I saw that version 0.4.3 was officially released, so I updated it.

The C drive was formatted as NTFS with XP SP2, and after installing Windows, I used boot.ini to load grldr, then used map --mem to boot a gz-compressed 2.88M floppy disk image file.

Now I found that just after installing the system (that is, when there are many file fragments on the C drive), g4d starts normally, and there are no errors when loading the floppy disk image, but it often has errors when booting the image file. The most common one is that Ghost 8.2 cannot run, and it prompts a bunch of register information; once, when booting a certain image file, it reported that command.com was not found, but booting another image file with similar content could succeed.

When encountering these problems, as long as I use the "Disk Defragmenter" that comes with Windows to defragment the C drive and then restart to enter grub for booting, the problem can be solved. Or reverting to the above-mentioned old version of g4d can also solve the problem.

I have tested version 0.4.3 official version and the versions downloaded from grub4dos.jot.com on 10/25/2007 and 10/26/2007, and all three have the same problem. I initially suspect that there is a problem with the code for reading NTFS in the new version. When the file is not stored continuously, the read data is incorrect.

In addition, let's mention the problem of the g4d menu shortcut keys. The current menu shortcut keys define the first item as 0 and the second item as 1. From the programmer's perspective, this is very correct, and we users can gradually get used to it. But if I teach others how to use the menu, I have to tell them "you select the first item of the menu, or press the shortcut key 0", or "you select the 6th item, or press the number key 5", which is very awkward and not in line with user habits.

Can the development team consider arranging the shortcut keys starting from 1 again, to be consistent with the order of the number keypad on the keyboard?

[ Last edited by Sense on 2007-11-4 at 08:35 PM ]
Floor 2 Posted 2007-11-04 20:43 ·  中国 安徽 马鞍山 电信
金牌会员
★★★★
Credits 3,946
Posts 1,884
Joined 2006-01-20 13:00
20-year member
UID 49283
Gender Male
Status Offline
When you teach others, just leave out the words after "or", heh heh.
Windows 一键还原
http://www.yjhy.com
Floor 3 Posted 2007-11-04 20:44 ·  中国 安徽 马鞍山 电信
金牌会员
★★★★
Credits 3,946
Posts 1,884
Joined 2006-01-20 13:00
20-year member
UID 49283
Gender Male
Status Offline
For these users, telling them more methods won't help much. One is enough.
Windows 一键还原
http://www.yjhy.com
Floor 4 Posted 2007-11-05 10:44 ·  中国 河南 南阳 联通
银牌会员
★★★★
不甘寂寞的人
Credits 2,491
Posts 1,115
Joined 2003-09-24 00:00
22-year member
UID 10292
Gender Male
Status Offline
A very small issue, just leave it.

The original developers of GRUB like to count from 0 like in the C language. People who like the BASIC language find this inconvenient.

But this has become a standard, and changing it would only add confusion. So, I don't advocate changing these aspects. Also, I won't add an option that allows users to adjust the "menu item base," because that would still cause confusion, and end users facing different interpretations of menu numbers across different GRUB4DOS versions is also not good. We shouldn't create our own troubles.

Regarding the issue of accessing files on NTFS partitions, we will pay attention to it. bean is mainly responsible for related issues in this area.
因为我们亲手创建,这个世界更加美丽。
Floor 5 Posted 2007-11-14 18:45 ·  中国 上海 浦东新区 电信
初级用户
Credits 80
Posts 38
Joined 2007-03-24 09:32
19-year member
UID 82765
Gender Male
Status Offline
Please use fstest.exe for testing. Assume the problematic file is C:\aa.img, run the following commands:

fstest info C:\
fstest list C:\
fstest comp C:\aa.img
fstest inode C:\aa.img

fstest.exe runs in the Win32 environment. Download URL:

http://grub4dos.sourceforge.net/grub4dos/
Floor 6 Posted 2007-11-18 10:47 ·  中国 浙江 温州 联通
初级用户
Credits 127
Posts 9
Joined 2004-03-02 00:00
22-year member
UID 18937
Gender Male
Status Offline
The test is done. The detailed situation has been posted on the Sysoft Shikong Forum. To save resources, it won't be transferred here. The test result is that the problem exists in versions from 2007-06-06 and later.
Forum Jump: