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-07-01 13:24
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » An insight into the phenomenon of "program too big to fit in memory" when booting DOS from a USB drive View 1,698 Replies 10
Original Poster Posted 2007-06-08 14:41 ·  中国 广西 桂林 永福县 电信
新手上路
Credits 12
Posts 5
Joined 2007-06-08 13:31
19-year member
UID 90662
Gender Male
Status Offline
An Insight into the "Program Too Big to Fit in Memory" Phenomenon When Booting DOS from USB Flash Drive:

I. Preparation: U-ZIP drive with DOS + Windows PE (Yangzhou March);
Host 1: Tualatin / 815 motherboard / 128m
Host 2: nVIDIA 6100 + 410 / Athlon64 3200+ / 512
Host 3: VIAK8M800 + 8237 / Sempron 2800+64bit / 256
Host 4: SiS661FX / P42.66 / 256

II. Start: On Host 1, booting basic DOS + winpe is normal, and booting with config.sys for UMBPCI and config.sys for emm386 is normal;
Runs normally on Host 2.
There are problems on Hosts 3 and 4. They have commonalities: basic DOS can be booted, but config.sys and autoexec.bat cannot be read. After entering DOS, dir is normal, but when entering subdirectories, dir cannot display correct content. Except for commands resident in memory, all.exe and.com files of DOS in the root directory cannot run, and the "program too big to fit in memory" phenomenon will occur. Manually configuring himem.sys, EMM386, or UMBPCI will cause a system crash. But there is a very wonderful thing: these commands (including ghost, vb) pre-placed in the hard disk can run.
Only some like grub.exe have the "program too big to fit in memory" phenomenon. I checked the memory situation of each step in detail on Host 3 as follows:
1. When entering DOS, loading config.sys will have
There is an unrecognized command in your config.sys file
There is an error in your config.sys file on line 1

There is an unrecognized command in your config.sys file
There is an error in your config.sys file on line 2
...
Then the DOS prompt appears, and running those on the root directory of drive A will have the "program too big to fit in memory" or "Bad Command or file name" phenomenon, and grub on the hard disk also has the "program too big to fit in memory" phenomenon.
The memory usage:

Name Total Conventional Upper Memory
-------- ---------------- ---------------- ----------------
msdos 79k 79k 0
command 10k 10 k 0

Type of Memory Total Used Free
---------------- ----------- ----------- -----------
Conventional 638k 89k 549k
Upper 0
Reserved 0
Extended (XMS) 65,472k 65,472k 0

It can be seen that the configuration of config.sys is not successful. Then manually loading himem.sys, at this time the memory usage:

Name Total Conventional Upper Memory
-------- ---------------- ---------------- ----------------
msdos 79k 79k 0
command 10k 10 k 0
device 5k 5k 0


Type of Memory Total Used Free
---------------- ----------- ----------- -----------
Conventional 638k 94k 544k
Upper 0
Reserved 0
Extended (XMS) 288,288k 64k 288,224k

Then loading emm386.exe or umbpci.sys, the result is that Upper Memory and XMS don't change much, and basic memory is eaten up by another 13k (11k for emm386.exe, 2k for umbpci.sys). At this time, running ghost on the hard disk can still start, but grub.exe cannot be started.
The result of Host 4 is the same as that of Host 3.

III. Personal Conclusion: There are two aspects. First, the motherboard has problems with the support for the USB flash drive. This is also the most likely aspect I summarized from the U-ZIP booting of countless hosts in the past three years. As soon as I see what motherboard it is, I know it. Intel basically can boot completely, nVIDIA can boot completely, but for VIA and SIS, I don't have the memory of complete booting. ATI is not used much, so I don't remember. Second, my USB flash drive has problems, but I think the possibility is not high. Can my USB flash drive not recognize what chipset the motherboard of the host it is booting from is? Does it just not like SIS and VIA so much?

IV. Request for Help: Please let the moderator and all experts give reasonable explanations and solutions.
Floor 2 Posted 2007-06-08 22:36 ·  中国 河北 保定 移动
铂金会员
★★★★
网络独行侠
Credits 6,962
Posts 2,753
Joined 2003-04-16 00:00
23-year member
UID 1565
Gender Male
From 河北保定
Status Offline
I almost never use USB drive booting.
偶只喜欢回答那些标题和描述都很清晰的帖子!
如想解决问题,请认真学习“这个帖子”和“这个帖子”并努力遵守,如果可能,请告诉更多的人!
Floor 3 Posted 2007-06-22 10:40 ·  中国 广西 桂林 永福县 电信
新手上路
Credits 12
Posts 5
Joined 2007-06-08 13:31
19-year member
UID 90662
Gender Male
Status Offline
You have always enjoyed the fruits of others' labor, what U disk do you still need?
Floor 4 Posted 2007-06-22 18:55 ·  中国 河南 洛阳 电信
银牌会员
★★★
Credits 1,455
Posts 712
Joined 2006-01-20 10:26
20-year member
UID 49246
Status Offline
Hehe, I'm not "almost never using USB drive booting", but I never use USB drive booting! But I also really want to enjoy the fruits above, if your so-called "busyness" can be regarded as fruits.
Floor 5 Posted 2007-06-25 11:08 ·  中国 浙江 湖州 安吉县 电信
初级用户
Credits 125
Posts 13
Joined 2003-12-30 00:00
22-year member
UID 14662
Gender Male
Status Offline
It seems that the 815 motherboard doesn't support USB device boot.
Floor 6 Posted 2007-06-25 12:30 ·  中国 安徽 马鞍山 电信
金牌会员
★★★★
Credits 3,946
Posts 1,884
Joined 2006-01-20 13:00
20-year member
UID 49283
Gender Male
Status Offline
I also hardly use it, sometimes just try it during testing. Still, hard disk + CD-ROM are reliable.
Windows 一键还原
http://www.yjhy.com
Floor 7 Posted 2007-06-25 16:55 ·  中国 上海 电信
中级用户
★★
Credits 231
Posts 112
Joined 2007-06-19 20:44
19-year member
UID 91827
Gender Male
Status Offline
Related to BIOS, USB hard drives have a much higher probability of booting than USB flash drives~
Floor 8 Posted 2007-06-26 17:37 ·  中国 广西 桂林 永福县 电信
新手上路
Credits 12
Posts 5
Joined 2007-06-08 13:31
19-year member
UID 90662
Gender Male
Status Offline
Originally posted by ytfy at 2007-6-25 11:08:
It seems that the 815 motherboard doesn't support USB device boot.
:P It's the 815 that supports the Tualatin CPU.
Floor 9 Posted 2007-06-26 17:58 ·  中国 广西 桂林 永福县 电信
新手上路
Credits 12
Posts 5
Joined 2007-06-08 13:31
19-year member
UID 90662
Gender Male
Status Offline
Originally posted by bc12060101 at 2007-6-22 18:55:
Hehe, I'm not "almost never using USB drive booting", but I never use USB drive booting! But I also really want to enjoy the results upstairs, if your "busyness" can be regarded as results.



Hehe, you made a mistake, I have no results, it's someone else's results. When you download a bootable CD ISO, when you do one-click ghost, when you use矮人DOS tools, when you use a ghosted Windows, etc., those are all made by others. Even if you make a 98 boot disk with a floppy disk, that's made by 98 for you. Can you say you haven't used these? Then brother I admire YOU, if you really haven't enjoyed others' results, you disappear, just as if you've never seen this kind of person who only uses the moues to click IE.......
Floor 10 Posted 2007-06-26 19:31 ·  中国 安徽 马鞍山 电信
金牌会员
★★★★
Credits 3,946
Posts 1,884
Joined 2006-01-20 13:00
20-year member
UID 49283
Gender Male
Status Offline
The person upstairs, I really take my hat off to you. Everyone would think that all those are your achievements, otherwise how could it be so awesome?
Windows 一键还原
http://www.yjhy.com
Floor 11 Posted 2007-06-26 22:10 ·  中国 河南 洛阳 电信
银牌会员
★★★
Credits 1,455
Posts 712
Joined 2006-01-20 10:26
20-year member
UID 49246
Status Offline
Originally posted by yyuunnnn at 2007-6-26 17:58:

Hey, you got it wrong. I have no achievements, it's someone else's achievements. When you download a bootable CD ISO, when you use one-click ghost, when you use矮人DOS tools, when you use a ghosted Windows...

Hey, big brother, I really admire you.
Could it be that masters all think as "confused" as you? (Sorry, I really can't think of a better word to express my admiration for you)
Forum Jump: