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 21:45
中国DOS联盟论坛 » GRUB4DOS、SYSLINUX及其它启动管理软件讨论专区 » Is GRUB4DOS only able to boot from the primary partition (including the first disk of the extended partition)? View 2,039 Replies 8
Original Poster Posted 2004-12-01 00:00 ·  中国 广东 广州 教育网
铂金会员
★★★★
C++启程者
Credits 5,154
Posts 1,827
Joined 2003-07-18 00:00
22-year member
UID 7105
Gender Male
Status Offline
The description in grub says that it can boot from the logical drive of the extended partition, such as (HD0,6) which is the seventh partition of the first hard disk, but it didn't work when I tried (using MAP). The first logical drive of the extended partition can work. Is it that it can only boot from the primary partition (including the first disk of the extended partition)?
Floor 2 Posted 2004-12-02 00:00 ·  中国 山东 济宁 兖州区 联通
钻石会员
★★★★★
Credits 10,046
Posts 3,039
Joined 2002-11-11 00:00
23-year member
UID 223
Gender Male
Status Offline
I've never used Grub for DOS before, but it looks awkward, like Linux style.
简单就是美
Floor 3 Posted 2004-12-02 00:00 ·  中国 河南 南阳 联通
银牌会员
★★★★
不甘寂寞的人
Credits 2,491
Posts 1,115
Joined 2003-09-24 00:00
22-year member
UID 10292
Gender Male
Status Offline
Thanks for the bug report. Although I can't be sure this is really a bug.

You can search in a search engine for the article "------------------ GRUB FOR DOS Disk Emulation Command Introduction -----------------------" which has a more detailed description of hard disk emulation. If you can be sure it's not your operation error, then it can be confirmed as a bug.

You can post detailed operation steps, error messages, or other information you think is useful to help locate and solve the bug. It would be most helpful if you can (for example, using debug assembly language) post your primary partition table and all extended partition tables. In fact, without this partition table information, even if it is confirmed that such a bug exists, it may be difficult to solve. Thank you again for providing the report.
因为我们亲手创建,这个世界更加美丽。
Floor 4 Posted 2004-12-02 00:00 ·  中国 广东 广州 教育网
铂金会员
★★★★
C++启程者
Credits 5,154
Posts 1,827
Joined 2003-07-18 00:00
22-year member
UID 7105
Gender Male
Status Offline
In Virtual PC, the main partition C and the extended partition have three partitions D, E, F. Is the description like this? (C-(hd0,0), D-(hd0,1), E-(hd0,2), F-(hd0,3)). Both D and E were formatted with FORMAT /S to build DOS systems. To boot from a non-first drive in the extended partition, MAP must be used. Trying to boot from E: map --read-only (hd0,2)+1 (hd0) gives an error message: no such partition. Booting from D is successful.
Floor 5 Posted 2004-12-03 00:00 ·  中国 河南 南阳 联通
银牌会员
★★★★
不甘寂寞的人
Credits 2,491
Posts 1,115
Joined 2003-09-24 00:00
22-year member
UID 10292
Gender Male
Status Offline
You seem to have not understood the corresponding relationship and differences between GRUB's partition representation and DOS/WINDOWS's partition representation. It is suggested that you first read the GRUB introductory materials before using GRUB. Judging from the phenomenon you described, this is not a bug of GRUB for DOS. But anyway, thank you for reporting the problem and thank you for paying attention to and using GRUB. I hope you will continue to support it.

Searching "GRUB introduction" in a search engine should be able to find some useful materials.
因为我们亲手创建,这个世界更加美丽。
Floor 6 Posted 2004-12-04 00:00 ·  中国 广东 广州 教育网
铂金会员
★★★★
C++启程者
Credits 5,154
Posts 1,827
Joined 2003-07-18 00:00
22-year member
UID 7105
Gender Male
Status Offline
Successfully booted the hard disk partitions and floppy disk using GRUB FOR DOS, but always failed to boot the CD-ROM. When using the command line, "scdrom --install" reported an error saying "Invalid system partition" and "scdrom --bootcd" had the same error. "root (cd)" was invalid, and there was no chance to load chainloader /boot/grub/cdboot.bs. I don't know why.
Floor 7 Posted 2004-12-05 00:00 ·  中国 广东 广州 教育网
铂金会员
★★★★
C++启程者
Credits 5,154
Posts 1,827
Joined 2003-07-18 00:00
22-year member
UID 7105
Gender Male
Status Offline
The problem of GRUB booting from the CD - ROM is solved. I used to use WENGIER's GRUB FOR DOS, and there was an error when I typed commands to boot from the CD - ROM. Later, I downloaded CLIMBING's Chinese GRUB4DOS, and it was solved. It feels quite cool. Thanks...

But when using MAP to boot to DOS, there are many confusions in the logical partitions. I don't know if it is related to my previous partition modifications?

After MAP boots to DOS, there will be a strange phenomenon that the same partition is repeatedly assigned many drive letters..

Floor 8 Posted 2004-12-06 00:00 ·  中国 河南 南阳 联通
银牌会员
★★★★
不甘寂寞的人
Credits 2,491
Posts 1,115
Joined 2003-09-24 00:00
22-year member
UID 10292
Gender Male
Status Offline
Congratulations on solving the several problems you encountered.

The issue of drive letter confusion caused by map is sometimes normal. For example, if you map the first logical partition on the second hard disk as C:, then the second hard disk itself is still recognizable by BIOS, so DOS can also recognize it. In this way, you not only have the C: drive (which is the first logical partition of the original second hard disk), but also have drives like D: and E: (which are all partitions on the entire second hard disk. Obviously, C: is one of them). Such duplication is normal.

The usage of map for partitions seems that I haven't heard anyone say they have used it before, and you seem to be the first one. This usage is not used by many people, so the possibility of bugs is relatively high. I just tested it successfully on my own machine, but haven't tested it on more machines. I hope there are no serious problems. Thank you for using and reporting.
因为我们亲手创建,这个世界更加美丽。
Floor 9 Posted 2006-01-07 12:02 ·  中国 吉林 通化 联通
新手上路
Credits 18
Posts 7
Joined 2006-01-04 23:48
20-year member
UID 48452
Status Offline
Thanks to Budian for the detailed introduction.
Forum Jump: