中国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-08-12 00:34
47,811 topics / 349,897 posts / today 0 new / 48,256 members
GRUB4DOS、SYSLINUX及其它启动管理软件讨论专区 » Can PCDOS use GRUB?
Printable Version  1,728 / 12
Floor1 martin325 Posted 2006-04-12 23:38
银牌会员 Posts 603 Credits 1,582
As the title says.

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

Mine always gives errors!
Floor2 tinybit Posted 2006-04-13 09:18
初级用户 Posts 57 Credits 137
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.
Floor3 martin325 Posted 2006-04-13 13:28
银牌会员 Posts 603 Credits 1,582
Patches like this: grub-0.97-patch7-scdrom
How should they be applied?
Floor4 DOSforever Posted 2006-04-13 13:42
金牌会员 Posts 2,239 Credits 4,639
I recommend that you use System Commander
but it itself can only be installed on a partition with a FAT file system type.
Floor5 tinybit Posted 2006-04-13 17:34
初级用户 Posts 57 Credits 137
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.
Floor6 martin325 Posted 2006-04-20 15:01
银牌会员 Posts 603 Credits 1,582
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?
Floor7 fujianabc Posted 2006-04-20 15:16
金牌会员 Posts 1,616 Credits 3,467
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
Floor8 martin325 Posted 2006-04-21 08:13
银牌会员 Posts 603 Credits 1,582
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?
Floor9 fujianabc Posted 2006-04-21 11:37
金牌会员 Posts 1,616 Credits 3,467
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.
Floor10 martin325 Posted 2006-05-01 20:14
银牌会员 Posts 603 Credits 1,582
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?
Floor11 martin325 Posted 2006-05-01 20:37
银牌会员 Posts 603 Credits 1,582
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...
Floor12 不得不爱 Posted 2006-05-02 08:06
超级版主 Posts 2,044 Credits 5,310 From 四川南充
How large is the winmedos.ima file?
Floor13 martin325 Posted 2006-05-02 16:35
银牌会员 Posts 603 Credits 1,582
2.88 standard image file
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023