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 20:17
中国DOS联盟论坛 » GRUB4DOS、SYSLINUX及其它启动管理软件讨论专区 » Can PCDOS use GRUB? View 1,612 Replies 12
Original Poster Posted 2006-04-12 23:38 ·  中国 浙江 杭州 拱墅区 电信
银牌会员
★★★
Credits 1,582
Posts 603
Joined 2006-02-20 20:26
20-year member
UID 50690
Status Offline
As the title says.

How do I use it? How do I configure it?

Mine always gives errors!
Floor 2 Posted 2006-04-13 09:18 ·  中国 河南 南阳 联通
初级用户
★★
Credits 137
Posts 57
Joined 2005-09-29 21:23
20-year member
UID 42974
Status Offline
Thank you for your interest in GRUB4DOS. At present there is no support for PC DOS yet. It will be supported in the future, but work on this issue has not started yet. The implementation of some functions is not a priority and has been placed later in the queue. For example, CDROM and ISO booting: the issue itself involves a standard maliciously polluted by Microsoft (bootable CD-ROM specification), so it is very tricky to handle and can only be put at the lowest priority and solved last. As for support for DOSes such as PC DOS, because they have relatively few users, they also do not have very high priority. Also, for example, NTFS support has already been frozen. This is because Microsoft maliciously broke GRUB4DOS's calling of the NT bootsector, making this support unstable, and they can continue to break it at any time, so we can only freeze support for NTFS (that is, no further development, and no more handling of BUG reports related to NTFS). In any of the above situations, everyone can provide patches; even for frozen items, patches can still be accepted.
Floor 3 Posted 2006-04-13 13:28 ·  中国 浙江 杭州 电信
银牌会员
★★★
Credits 1,582
Posts 603
Joined 2006-02-20 20:26
20-year member
UID 50690
Status Offline
Patches like this: grub-0.97-patch7-scdrom
How should they be applied?
Floor 4 Posted 2006-04-13 13:42 ·  中国 上海 黄浦区 电信
金牌会员
★★★★
Credits 4,639
Posts 2,239
Joined 2005-01-30 00:00
21-year member
UID 35785
Gender Male
Status Offline
I recommend that you use System Commander
but it itself can only be installed on a partition with a FAT file system type.
Floor 5 Posted 2006-04-13 17:34 ·  中国 河南 南阳 联通
初级用户
★★
Credits 137
Posts 57
Joined 2005-09-29 21:23
20-year member
UID 42974
Status Offline
scdrom has also been frozen. This is mainly because the scdrom module cannot perfectly solve the CDROM boot problem; it only solves part of the CDROM boot problem. Users have reported that this module is actually unusable under the current GRUB4DOS, so it is being prepared for deletion. If I have time in the future, I will consider rewriting the CDROM driver.

Those patch files you saw are accessed automatically by the compile file, so there is no need to handle them manually. Study the compile file and it will become clear. This requires some understanding of LINUX.
Floor 6 Posted 2006-04-20 15:01 ·  中国 浙江 杭州 电信
银牌会员
★★★
Credits 1,582
Posts 603
Joined 2006-02-20 20:26
20-year member
UID 50690
Status Offline
Question for tinybit:
We know that writing this in menu.lst:

title Boot from HDD
rootnoverify (hd0,0)
makeactive
chainloader +1

title Boot from CDROM
map --mem --read-only (hd0,0)/boot/cd.vfd (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)
map --floppies=1

title Boot from Floppy
chainloader (fd0)+1
rootnoverify (fd0)

means booting from the hard disk, CD-ROM drive, and floppy drive respectively. So is there some simple way to also write something in menu.lst so that booting from a USB drive can be achieved?
Floor 7 Posted 2006-04-20 15:16 ·  中国 广东 佛山 电信
金牌会员
★★★★
Credits 3,467
Posts 1,616
Joined 2004-06-21 00:00
22-year member
UID 27148
Status Offline
Originally posted by martin325 at 2006-4-20 03:01 PM:
Question for tinybit:
We know that writing this in menu.lst:

title Boot from HDD
rootnoverify (hd0,0)
makeactive
chainloader +1

title Boot from CDROM
map --mem --read-only (hd0,0)/boot/cd.vfd ( ...

That depends on what your BIOS recognizes the USB drive as. Generally, on some machines it is emulated as a floppy drive (fd0), and on others it is emulated as a hard disk (hd1) (assuming your computer has only one hard disk).

If it is recognized as (fd0),
chainloader (fd0)+1
boot

If it is recognized as (hd1),
map (hd0) (hd1)
map (hd1) (hd0)
map --hook
chainloader (hd0)+1
boot

Of course, there is another possibility: the computer has a floppy drive, and the USB drive is recognized as (fd1), but I have not run into this situation. If so,
map (fd1) (fd0)
map (fd0) (fd1)
map -hook
chainloader (fd0)+1
boot
Floor 8 Posted 2006-04-21 08:13 ·  中国 浙江 杭州 电信
银牌会员
★★★
Credits 1,582
Posts 603
Joined 2006-02-20 20:26
20-year member
UID 50690
Status Offline
Thanks to fujianabc for the reply.
Looks like the parameter settings for recognizing a USB drive depend on the BIOS.

Is there any kind of setting that can cover all three situations mentioned by fujianabc?
Floor 9 Posted 2006-04-21 11:37 ·  中国 广东 佛山 电信
金牌会员
★★★★
Credits 3,467
Posts 1,616
Joined 2004-06-21 00:00
22-year member
UID 27148
Status Offline
For a USB drive, there should be no universal method; it completely depends on what the motherboard emulates the USB drive as. The above three cases are emulating the USB drive as the first floppy drive, the second hard disk, and the second floppy drive.
Floor 10 Posted 2006-05-01 20:14 ·  中国 上海 闵行区 电信
银牌会员
★★★
Credits 1,582
Posts 603
Joined 2006-02-20 20:26
20-year member
UID 50690
Status Offline
My friend's computer has an NTFS C partition.
Right now I have copied the three files grldr, menu.lst, and winmedos.ima to the root directory of C:\.
Under this situation, how should I adjust things so that GRLDR can use grub-0.97-patch3-ntfs,
and make the computer successfully boot the virtual image boot file "winmedos.ima" from GRLDR?
Floor 11 Posted 2006-05-01 20:37 ·  中国 上海 闵行区 电信
银牌会员
★★★
Credits 1,582
Posts 603
Joined 2006-02-20 20:26
20-year member
UID 50690
Status Offline
I copied grub-0.97-patch3-ntfs, grub-0.97-patch4-emulation, grub-0.97-patch7-scdrom, and compile all to the root directory of C. After booting the computer, MENU.LST can start, but when I choose to boot from the image file in MENU.LST, the computer hangs. So depressing...
Floor 12 Posted 2006-05-02 08:06 ·  中国 四川 南充 电信
超级版主
★★★★
我爱DOS
Credits 5,310
Posts 2,044
Joined 2005-09-26 12:00
20-year member
UID 42843
Gender Male
From 四川南充
Status Offline
Floor 13 Posted 2006-05-02 16:35 ·  中国 上海 闵行区 电信
银牌会员
★★★
Credits 1,582
Posts 603
Joined 2006-02-20 20:26
20-year member
UID 50690
Status Offline
2.88 standard image file
Forum Jump: