无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站投放广告、加入VIP会员,请联系 微信:wuyouceo
查看: 4766|回复: 2
打印 上一主题 下一主题

为什么启动时就显示stage1??

[复制链接]
跳转到指定楼层
1#
发表于 2006-8-31 14:55:04 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
为什么启动时就显示stage1??

请问我用winimage.exe改的一张msdos7.10启动盘,1.44M。但只要更改格式,改为

1.44M以上时启动时就显示stage1,停留在这里不动了。改别的启动盘时没有问题。
请问哪位高手帮我看看怎么给它改大容量,,img文件里还有个boot的文件夹,里面有
cdboot.bs,menu.lst,msdos.bs,stage1,stage2几个文件.
下边是autoexec.bat config.sys

config.sys:::::::::::::::
[MENU]
MENUITEM=M1,Boot with EMM386(NOEMS) [Protected Mode]
MENUITEM=M2,Boot with UMBPCI [Real Mode]
MENUITEM=M3,Boot with EMM386(NOEMS), NTFS and SCSI/USB drives support(if

any)
MENUITEM=M4,Boot with UMBPCI, NTFS and SCSI/USB drives support(if any)
MENUITEM=M5,View the README file only(with Chinese support)
MENUITEM=M6,Shutdown or restart the computer
MENUDEFAULT=M1,15

[M1]
DEVICE=ECHO.SYS L/o/a/d/i/n/g CONFIG.SYS /w/i/t/h EMM386...
DEVICE=HIMEM.SYS
DEVICE=EMM386.EXE NOEMS
INCLUDE CD

[M2]
DEVICE=ECHO.SYS L/o/a/d/i/n/g CONFIG.SYS /w/i/t/h UMBPCI...
DEVICE=ECHO.SYS
DEVICE=UMBPCI.SYS
DEVICE=LOWDMA.SYS
DEVICE=HIRAM.EXE
DEVICEHIGH=HIMEM.SYS
INCLUDE CD

[M3]
DEVICE=ECHO.SYS L/o/a/d/i/n/g CONFIG.SYS /w/i/t/h EMM386...
DEVICE=HIMEM.SYS
DEVICE=DUSE.EXE INT EMU CDW=3 DDW=3 XFER=32 DRIVES=2 CDD=USB-CD
DEVICE=EMM386.EXE NOEMS
INCLUDE CD
INCLUDE USB

[M4]
INCLUDE M2
DEVICE=DUSE.EXE INT EMU CDW=3 DDW=3 XFER=32 DRIVES=2 CDD=USB-CD
INCLUDE USB

[M5]
DEVICE=ECHO.SYS Y/o/u /h/a/v/e /c/h/o/s/e/n /t/o /v/i/e/w README

/o/n/l/y.
INCLUDE M6

[M6]
DEVICE=ECHO.SYS P/l/e/a/s/e /w/a/i/t...
DEVICE=HIMEM.SYS

[USB]
DEVICE=ECHO.SYS L/o/a/d/i/n/g SCSI//USB /d/r/i/v/e/s /s/u/p/p/o/r/t...
DEVICE=USBASPI.SYS /R /V /NORST
DEVICE=ASPIOHCI.SYS /INT /ALL
DEVICE=ASPIUHCI.SYS /INT /ALL
DEVICEHIGH=DI1000DD.SYS
DEVICEHIGH=USBCD.SYS /D:USB-CD
DEVICE=ECHO.SYS

[CD]
DEVICEHIGH=VIDE-CDD.SYS /D:IDE-CD

[COMMON]
DEVICE=ECHO.SYS M/a/d/e /b/y W/e/n/g/i/e/r. C/h/i/n/a DOS U/n/i/o/n.
DEVICE=ECHO.SYS A/l/l /r/i/g/h/t/s /r/e/s/e/r/v/e/d. 2002-2003.
SHELL=COMMAND.COM /P /E:640
SET TMP=C:\
SET TEMP=C:\
DOS=HIGH,UMB,AUTO
NUMLOCK=OFF
FCBSHIGH=4,0
FILESHIGH=30
BUFFERSHIGH=20,0
LASTDRIVEHIGH=32
STACKSHIGH=9,256
COMMENT Made by Wengier. China DOS Union.
COMMENT All rights reserved. 2002-2003.
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

autoexec.bat::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

@ECHO OFF
KPUSH 27 27
KPUSH>NUL
REM Made by Wengier. China DOS Union.
REM All rights reserved. 2002-2003.
TM /F
LH KILLER
LH DOSKEY
LH CTMOUSE
::Note: The following line is for the compatibility on some systems:
LH CTMOUSE>NUL
IF %CONFIG%#==M6# GOTO SHUT
IF NOT %CONFIG%#==M5# GOTO BOOT
ECHO.
ECHO Now preparing to open README with Chinese support...
XMSDSK 80 /Y>NUL
FINDRAMD>NUL
IF %RAMDRIVE%#==# ECHO Can't create RAM disk!
IF %RAMDRIVE%#==# GOTO SHUT
EXTRACT /E /L %RAMDRIVE%\ DOSET.CAB EDIT.COM>NUL
XZL
%RAMDRIVE%\EDIT README.TXT
CLS
XZL /Q
:SHUT
CLS
WBAT BOX "Please enter your choice:",Shutdown the computer,Restart the

computer
IF NOT ERRORLEVEL 3 GOTO ANS
WBAT BOX (RED ON YELLOW) "Note: Please make a choice!",OK
GOTO SHUT
:ANS
IF ERRORLEVEL 2 GOTO RES
ECHO Now trying to shutdown the computer..
ECHO.
SHUTDOWN S
ECHO.
ECHO Shutdown failed. Your computer may not have an ATX power.
:RES
ECHO Now restart the computer..
ECHO.
SHUTDOWN R
GOTO END
:BOOT
SET SM=
DREADY C:
IF ERRORLEVEL 1 ECHO Warning: Can't find any valid hard drives!
IF ERRORLEVEL 1 GOTO NOHD
ECHO Y|LOCK C:>NUL
ECHO.
ECHO Now trying to load the hard disk cache to speed the drives up...
WBAT BOX "Please choose the hard disk cache you like in 8 seconds:",PC-

CACHE,SMARTDRV,Cancel #1,8
IF ERRORLEVEL 3 ECHO Cancelled.
IF NOT ERRORLEVEL 2 PCCACHE /SIZEXT:4096 /WRITE:OFF /WIN /MINI
IF ERRORLEVEL 2 IF NOT ERRORLEVEL 3 SET SM=Y
:NOHD
LH SHSUCDX /D:?IDE-CD /D:?USB-CD
XMSDSK 10240 /Y
ECHO Now setting up the RAM disk...
FINDRAMD>NUL
IF %RAMDRIVE%#==# GOTO NORAM
IF NOT EXIST %RAMDRIVE%\TEMP\NUL MD %RAMDRIVE%\TEMP
SET TMP=%RAMDRIVE%\TEMP
SET TEMP=%RAMDRIVE%\TEMP
IF NOT EXIST %RAMDRIVE%\SYSTEM\NUL MD %RAMDRIVE%\SYSTEM
IF NOT EXIST %RAMDRIVE%\hd\NUL MD %RAMDRIVE%\hd
COPY COMMAND.COM %RAMDRIVE%\SYSTEM>NUL
IF NOT EXIST %RAMDRIVE%\SYSTEM\COMMAND.COM ECHO Warning: Failed to copy

files!
IF NOT EXIST %RAMDRIVE%\SYSTEM\COMMAND.COM GOTO COPYERR
SET COMSPEC=%RAMDRIVE%\SYSTEM\COMMAND.COM
EXTRACT /E /Y /L %RAMDRIVE%\SYSTEM DOSET.CAB>NUL
EXTRACT /E /Y /L %RAMDRIVE%\SYSTEM VC.CAB>NUL
EXTRACT /E /Y /L %RAMDRIVE%\hd VC.CAB>NUL

ECHO The necessary tools have been successfully loaded to drive %

RAMDRIVE%.
:COPYERR
PATH=%RAMDRIVE%.;%RAMDRIVE%\SYSTEM
IF %SM%#==Y# LH SMARTDRV 4096 2048 /X
GOTO NEXT
:NORAM
ECHO Warning: Can't create RAM disk!
IF %SM%#==Y# ECHO          Can't load SMARTDRV!
SET COMSPEC=A:\COMMAND.COM
:NEXT
SET SM=
SET DIRCMD=/OGN /4
SET PROMPT=$P$G
PATH=%PATH%;C:.;A:.;..
LH ZENO /Q
LH MOUSCLIP /M
WBAT BOX "Please choose the code page for LFNs you want to use:",CP437

(English),CP936(S.Chinese),Disable LFN #1,8
IF ERRORLEVEL 1 IF NOT ERRORLEVEL 2 LH DOSLFN /C- /Z:CP437UNI.TBL
IF ERRORLEVEL 2 IF NOT ERRORLEVEL 3 LH DOSLFN /C- /Z:CP936UNI.TBL
IF %CONFIG%#==M3# IF %RAMDRIVE%#==# ECHO Warning: Can't load NTFS drives

support!
IF %CONFIG%#==M4# IF %RAMDRIVE%#==# ECHO Warning: Can't load NTFS drives

support!
IF %CONFIG%#==M3# IF NOT %RAMDRIVE%#==# NTFSDOS /U
IF %CONFIG%#==M4# IF NOT %RAMDRIVE%#==# NTFSDOS /U
LH ESCAPE
FINDCD /Q
CLS
WRITEXT 1 1 -f15 Note:
ECHO.
IF NOT %CDROM%#==# ECHO For accessing CD/DVD drive, use the drive letter

%CDROM%(1st).
IF NOT %RAMDRIVE%#==# ECHO For accessing RAM drive, use the drive letter

%RAMDRIVE%.
IF NOT %CONFIG%#==M3# IF NOT %CONFIG%#==M4# ECHO For accessing NTFS

drives(if any), type NTFSDOS on the command line.
ECHO At any time, you can press F12 key to return to DOS, or use the

mouse.
BREAK ON
LFNFOR ON
IF %RAMDRIVE%#==# GOTO END
ECHO.
ECHO Press ENTER in 2 seconds if you want to start Volkov Commander..
WAIT 2
SET VC=
IF ERRORLEVEL 13 IF NOT ERRORLEVEL 14 SET VC=1
IF %VC%#==# ECHO Skipped.
ECHO.
ECHO Now you're in MS-DOS 7.10 prompt. [Made by Wengier, China DOS Union]
ECHO.
ECHO For more information, please look at README.TXT on this disk.
ECHO To start Chinese system for Chinese, type XZL on the command line.
WRITEXT 0+ 1 "Any comments, please come to the forum at: " -f15

http://dosbbs.2ya.com/ -f7
ECHO.
IF %VC%#==# GOTO END
SET VC=
ECHO.
ECHO Starting Volkov Commander...
ECHO.
SET DIF=
STRINGS UMB=UMBLARGE >NUL
STRINGS DIF=SUB %UMB%,30720 >NUL
SET UMB=
IF NOT %DIF%#==# GOTO LH
VC
GOTO END
:LH
SET DIF=
LH VC
:END
ECHO.

[ 本帖最后由 abccabcc 于 2006-8-31 04:21 PM 编辑 ]
2#
发表于 2006-9-8 15:05:40 | 只看该作者
这是GRUN的引导信息。
回复

使用道具 举报

3#
发表于 2007-6-22 03:45:01 | 只看该作者
这个问题困扰了我有好几天啦,在网上查找了N多资料,总算让我搞懂了。
为什么显示stage 1,然后就停住,不能启动,是这样的吧?
因为那张MSDOS 7.1的启动盘是基于Grub的,先启动Grub,再由Grub来启动DOS。
如果用winimage更改了镜像大小的话,同时也更改了启动扇区,再Grub引导原来的启动文件就不行了。
最好的方法是Gandalf的GImage重新生成一个大镜像,然后把原来那个镜像里的文件释放出来,打开menu.lst(一般在/boot/grub/下),找到启动dos的那项,可能是这样的:
title 1. Super MS-DOS 7.10 Copyright (c) 2005-2008 Guoxiang.Pu
root (fd0)
chainloader /boot/grub/msdos.bs
修改为
title 1. Super MS-DOS 7.10 Copyright (c) 2005-2008 Guoxiang.Pu
root (fd0)
chainloader /io.sys
按照你的要求更改镜像里的工具和配置,然后通过winimage把这些文件添加到GImage生成的那个空白镜像中就行了。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|捐助支持|无忧启动 ( 闽ICP备05002490号-1 )

闽公网安备 35020302032614号

GMT+8, 2024-11-16 00:44

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表