|
gdufsh
初级用户
 
积分 28
发帖 8
注册 2006-5-2
状态 离线
|
『楼 主』:
为什么无法实现XP和DOS的双启动
使用 LLM 解释/回答一下
楼主所说的实现两者的双启动似乎是将DOS也安装在XP所在的C盘下吧,但是我把硬盘化了两个主分区了,一个是C盘(NTFS格式,装了XP),一个是G盘(FAT32格式,装了MS-DOS7.10),活动分区是C盘.我用XP安装盘里的PROBE工具把G盘的第一个扇区的内容读了出来(据说就是DOS系统的引导扇区啦),并用BOOTSECT.DOS的文件保存到C:\下,然后也在BOOT.INI最后加了C:\BOOTSECT.DOS="MS-DOS7.10"
以后启动的时候是有双启动菜单供选择,但是只有默认的XP可以启动,选中MS-DOS7.10则没办法启动DOS,屏幕上就一个光标在最顶端,其他的什么都没有,等了半天都没反应,请问各位这个是怎么回事啊?问题出在了哪里啊?急急急......
What the LZ said about implementing dual-boot between the two seems to be installing DOS in the same C drive where XP is installed, but I have divided the hard drive into two primary partitions, C drive (NTFS format, with XP installed) and G drive (FAT32 format, with MS-DOS 7.10 installed), the active partition is C drive. I used the PROBE tool in the XP installation disc to read the content of the first sector of G drive (said to be the boot sector of DOS system), saved it as BOOTSECT.DOS file to C:\, and also added "C:\BOOTSECT.DOS="MS-DOS7.10"" at the end of BOOT.INI. There is a dual-boot menu for selection when booting, but only default XP can boot, when selecting MS-DOS7.10, can't boot DOS, there is just a cursor at the top, nothing else, waited for a long time with no response, please ask everyone where the problem is? Urgent...
|
|
2006-5-12 18:08 |
|
|
Wengier
系统支持
             “新DOS时代”站长
积分 27736
发帖 10521
注册 2002-10-9
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
楼主不就是你自己么?关于XP下安装DOS的正确方法,请参见论坛中的一些相关帖子。
The owner of the post is just yourself? For the correct method of installing DOS under XP, please refer to some related posts in the forum.
|

Wengier - 新DOS时代
欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/
E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)
 |
|
2006-5-12 23:09 |
|
|
gdufsh
初级用户
 
积分 28
发帖 8
注册 2006-5-2
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
呵呵,不好意思,这个帖子本来是在别的版面以回复别人的形式时问的,但是后来觉得不妥当就移到这个版块来了,所以内容没改就称"楼主"啦~~~
相关的帖子我都看了,但是找不到我的问题啊,就是说XP和DOS安在了两个不同的主分区,而且是通过自己建立BOOTSECT.DOS的方式做的,就是不知道哪里出了问题啊,希望高手帮忙分析下可能出问题的地方啊,感激不尽~~~
Hehe, sorry. This post was originally asked as a reply to someone in another section, but then I thought it wasn't appropriate and moved it to this section, so the content hasn't been changed and I called myself "the original poster"~~~
I've read all the relevant posts, but I can't find my problem. That is, XP and DOS are installed in two different primary partitions, and it's done by creating BOOTSECT.DOS by myself. I just don't know where the problem is. I hope experts can help analyze the possible problem areas. Thanks a million~~~
|
|
2006-5-13 11:02 |
|
|
fujianabc
金牌会员
     
积分 3467
发帖 1616
注册 2004-6-21
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
按你一楼所说的,似乎没多大问题,这样应该可以启动dos。
请确认几个问题:
1、提取的启动扇区是512字节;
2、g:盘你是怎样格式化的,dos下格的,还是xp下格的。
还有,既然硬盘只有两个分区,怎么是c和g,def是什么?
According to what you said on the first floor, it seems there's not much problem. This should be able to boot DOS.
Please confirm a few questions:
1. The extracted boot sector is 512 bytes;
2. How did you format drive g:? Was it formatted under DOS or under XP.
Also, since there are only two partitions on the hard drive, why are they C and G, and what are DEF?
|
|
2006-5-13 11:32 |
|
|
martin325
银牌会员
    
积分 1582
发帖 603
注册 2006-2-20
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
Originally posted by fujianabc at 2006-5-13 11:32:
按你一楼所说的,似乎没多大问题,这样应该可以启动dos。
请确认几个问题:
1、提取的启动扇区是512字节;
2、g:盘你是怎样格式化的,dos下格 ...
楼主的意思大概是硬盘上有两个主分区C和G。C是活动的,G是不活动的。其中D、E、F都是扩展分区了。跟我类似的。呵呵……
不知用Diskgen重写G分区的主引导记录,这个主引导记录是不是就是启动扇区的512字节的部分。用什么工具提取比较方便?好像在Diskgen没有这项功能。
Last edited by martin325 on 2006-5-14 at 10:37 ]
Originally posted by fujianabc at 2006-5-13 11:32:
According to what you said in the first floor, it doesn't seem to be a big problem. In this way, DOS should be able to start.
Please confirm a few questions:
1. The extracted boot sector is 512 bytes;
2. How did you format drive G, under DOS...
The landlord probably means that there are two primary partitions C and G on the hard drive. C is active, and G is inactive. Among them, D, E, and F are all extended partitions. Similar to mine. Hehe...
I don't know if rewriting the master boot record of partition G with Diskgen is this part of the 512-byte boot sector. What tool is more convenient to extract? It seems that Diskgen doesn't have this function.
Last edited by martin325 on 2006-5-14 at 10:37 ]
|
|
2006-5-14 10:34 |
|
|
fujianabc
金牌会员
     
积分 3467
发帖 1616
注册 2004-6-21
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
Originally posted by martin325 at 2006-5-14 10:34 AM:
楼主的意思大概是硬盘上有两个主分区C和G。C是活动的,G是不活动的。其中D、E、F都是扩展分区了。跟我类似的。呵呵……
不知用Diskgen重写G分区 ...
用winhex复制硬盘前512字节至一个文件就是mbr,另外,dos下用debug,也能读取mbr并保存成一个文件。
Originally posted by martin325 at 2006-5-14 10:34 AM:
The owner's meaning is probably that there are two primary partitions C and G on the hard drive. C is active, and G is inactive. Among them, D, E, and F are all extended partitions. Similar to mine. Hehe...
I don't know. Rewrite the G partition with Diskgen...
Copying the first 512 bytes of the hard drive to a file with Winhex is the MBR. Also, under DOS, using debug, you can also read the MBR and save it as a file.
|
|
2006-5-14 11:15 |
|
|
xuantian
高级用户
   
积分 587
发帖 282
注册 2006-4-10
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
与安装在什么分区没有关系,应该是你的 BOOTSECT.DOS 文件有问题
It has nothing to do with which partition it is installed on. It should be that your BOOTSECT.DOS file is problematic.
|
|
2006-5-14 12:43 |
|
|
gdufsh
初级用户
 
积分 28
发帖 8
注册 2006-5-2
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
Originally posted by martin325 at 2006-5-14 10:34:
楼主的意思大概是硬盘上有两个主分区C和G。C是活动的,G是不活动的。其中D、E、F都是扩展分区了。跟我类似的。呵呵……
我的分区就是这样的.我是先用PATITIONMAGIC读出G盘的第一个物理扇区102414438,然后用XP盘自带的TOOLS里面的PROBE工具提取的这个扇区的内容(512字节),最后的标志是55AA,这个应该说明G盘的这个扇区可以引导DOS的,但是我把这个扇区的内容以BOOTSECT.DOS保存到C:\并在BOOT.INI里加入C:\BOOTSECT.DOS="MS-DOS7.10"(保存)后,启动的时候可以显示启动菜单里有两个选项,可是选MS-DOS7.10后就黑屏了,只剩光标在原位置动,等好长时间都没反应.具体情况就这样,请各位再帮忙分析下.
(我的硬盘在装XP和DOS前全部是FAT32,其中C盘是活动主分区,DEFG是逻辑分区,然后在C盘上装了XP,并通过CONVERT命令把C盘转换成了NTFS.然后我想装DOS,就用PATITIONMAGIC把G盘设置成了主分区(文件格式还是FAT32),后来在G盘上就装了DOS,再后来就按上面说的做了,结果就那样了)
Originally posted by martin325 at 2006-5-14 10:34:
The owner probably means there are two primary partitions on the hard disk, C and G. C is active, and G is inactive. Among them, D, E, and F are all extended partitions. It's similar to mine. Hehe...
My partition is like this. I first used PARTITIONMAGIC to read the first physical sector 102414438 of drive G, then used the PROBE tool in TOOLS of the XP disc to extract the content (512 bytes) of this sector. The last flag is 55AA, which should indicate that this sector of drive G can boot DOS. But I saved the content of this sector as BOOTSECT.DOS to C:\ and added C:\BOOTSECT.DOS="MS-DOS7.10" to BOOT.INI (saved), then when booting, there are two options in the boot menu. But when selecting MS-DOS7.10, it goes black screen, only the cursor is moving in the original position, and it doesn't respond after waiting for a long time. That's the specific situation. Please help analyze again.
(My hard disk was all FAT32 before installing XP and DOS. Among them, C drive is the active primary partition, DEFG are logical partitions. Then I installed XP on C drive and converted C drive to NTFS using the CONVERT command. Then I wanted to install DOS, so I used PARTITIONMAGIC to set drive G as a primary partition (file format is still FAT32). Then I installed DOS on drive G, and then did what was said above, and the result is like that.)
|
|
2006-5-14 14:08 |
|
|
fujianabc
金牌会员
     
积分 3467
发帖 1616
注册 2004-6-21
状态 离线
|
『第 9 楼』:
使用 LLM 解释/回答一下
Originally posted by gdufsh at 2006-5-14 02:08 PM:
我的分区就是这样的.我是先用PATITIONMAGIC读出G盘的第一个物理扇区102414438,然后用XP盘自带的TOOLS里面的PROBE工具提取的这个扇区的内容(512字节),最后皠...
你的这个启动扇区是dos启动扇区吗?用记事本打开看看,里面是否有io.sys,msdos.sys这样的字符,如果没有就不是dos启动扇区。
Originally posted by gdufsh at 2006-5-14 02:08 PM:
My partition is like this. I first used PARTITIONMAGIC to read the first physical sector 102414438 of drive G, then used the PROBE tool in TOOLS of the XP disk to extract the content (512 bytes) of this sector, and finally...
Is this boot sector a DOS boot sector? Open it with Notepad and see if there are characters like io.sys, msdos.sys in it. If not, it is not a DOS boot sector.
|
|
2006-5-14 16:47 |
|
|
DOSforever
金牌会员
     
积分 4639
发帖 2239
注册 2005-1-30
状态 离线
|
『第 10 楼』:
使用 LLM 解释/回答一下
我今天遇到了和楼主一样的现象,但情况不完全一样。我是想把 XP 和 MS-DOS 7.10 装在同一分区中:
在一台已经安装好XP的机器上,所以分区都是FAT32文件系统。先把C盘的分区引导扇区内容保存下来,然后用 Win98 的启动软盘启动, SYS C: ,再保存 DOS 7.10 的引导扇区内容为 BOOTSECT.DOS 文件,然后恢复 XP 的引导扇区内容,再修改 boot.ini 文件,加入 C:\="Microsoft Windows" 一行。
启动时出现了引导选择菜单,证明了 XP 相关的启动文件和顺序没有被破坏,选择 XP 也能正常进入系统。但是,如果选择 MS-DOS 7.10 就发生和楼主描述的一模一样的现象——“屏幕上就一个光标在最顶端”。请问,如果要在已有 XP 的情况下安装 DOS 还有什么步骤没做对?
I encountered the same phenomenon as the original poster today, but the situation is not exactly the same. I want to install XP and MS-DOS 7.10 in the same partition:
On a machine where XP has already been installed, so all partitions are in FAT32 file system. First, save the content of the partition boot sector of drive C, then boot with the Win98 startup floppy disk, SYS C:, then save the boot sector content of DOS 7.10 as the BOOTSECT.DOS file, then restore the boot sector content of XP, and then modify the boot.ini file, adding the line C:\="Microsoft Windows".
When booting, the boot selection menu appears, which proves that the XP-related startup files and sequence are not damaged, and selecting XP can also enter the system normally. However, if you select MS-DOS 7.10, the same phenomenon as described by the original poster occurs - "there is just a cursor at the top of the screen". May I ask, what steps are not done correctly if I want to install DOS in the presence of XP?
|

DOS倒下了,但永远不死
DOS NEVER DIES !
投票调查:
http://www.cn-dos.net/forum/viewthread.php?tid=46187
本人尚未解决的疑难问题:
http://www.cn-dos.net/forum/viewthread.php?tid=15135
http://www.cn-dos.net/forum/viewthread.php?tid=47663
http://www.cn-dos.net/forum/viewthread.php?tid=48747 |
|
2006-8-21 17:10 |
|
|
DOSforever
金牌会员
     
积分 4639
发帖 2239
注册 2005-1-30
状态 离线
|
『第 11 楼』:
使用 LLM 解释/回答一下
我的问题现在解决了,在一台新的XP上重新按照原来的步骤做了一遍,成功了。唯一不同的是原来我是用 diskedit 来处理引导扇区的,后来干脆用 debug ,按理这应该是一样的,而且我看过保存的引导扇区,应该没什么问题。这就不知道是什么原因了,不过至少说明了这样的步骤没错。
至于楼主的问题我估计可能是由于盘符或/和是否是活动分区的问题引起的。因为你的 DOS 装在 G: (对 XP 而言),而当你从 C: 的 ntldr 引导 bootsect.dos 后 bootsect.dos 不能找到 C: 下的 IO.SYS ,所以就死机了(但按理也应该有提示)由于不清楚 NTs 是从什么时候开始分配盘符的,所以不知道 bootsect.dos 以后所认为的 C: 是谁的 C: 。
另一种可能是 bootsect.dos 成功的引导了 IO.SYS ,但 DOS 认为它不是从活动分区启动的,所以就死机了。由于不太清楚 DOS 从非活动分区启动有什么表现,所以这只是猜测。
我认为后一种可能性比较大,因为没有任何提示死机。另外,假如 C: 不是 NTFS 的,那又会是一种什么表现?
是不是可以把 bootsect.dos 仍然放在 G: ,把 C:\BOOTSECT.DOS 改为 G:\BOOTSECT.DOS ?因为你的 DOS 启动文件是装在 G: 的,等 DOS 启动后它会认为 XP 的 G: 是它的 C: ?
My problem is now solved. I did it again step by step on a new XP and succeeded. The only difference is that I originally used diskedit to handle the boot sector, and later simply used debug. It should be the same, and I checked the saved boot sector, which should be fine. I don't know the reason, but at least it shows that this step is correct.
As for the landlord's problem, I estimate it may be caused by the problem of the drive letter or/and whether it is an active partition. Because your DOS is installed on G: (for XP), and when you boot bootsect.dos from ntldr on C:, bootsect.dos cannot find IO.SYS on C:, so it crashes (but there should be a prompt按理说). Since I don't know when NTs starts assigning drive letters, I don't know whose C: bootsect.dos thinks it is after that.
Another possibility is that bootsect.dos successfully boots IO.SYS, but DOS thinks it doesn't boot from the active partition, so it crashes. Since I don't know the performance of DOS booting from a non-active partition, this is just a guess.
I think the latter possibility is relatively large because there is no prompt to crash. Also, what would be the performance if C: is not NTFS?
Can we still put bootsect.dos on G:, and change C:\BOOTSECT.DOS to G:\BOOTSECT.DOS? Because your DOS startup file is installed on G:, and after DOS starts, it will think that XP's G: is its C:?
|

DOS倒下了,但永远不死
DOS NEVER DIES !
投票调查:
http://www.cn-dos.net/forum/viewthread.php?tid=46187
本人尚未解决的疑难问题:
http://www.cn-dos.net/forum/viewthread.php?tid=15135
http://www.cn-dos.net/forum/viewthread.php?tid=47663
http://www.cn-dos.net/forum/viewthread.php?tid=48747 |
|
2006-8-22 18:13 |
|
|
fujianabc
金牌会员
     
积分 3467
发帖 1616
注册 2004-6-21
状态 离线
|
『第 12 楼』:
使用 LLM 解释/回答一下
boot.ini中只能用c:,其他盘符一律无效。
Only C: can be used in boot.ini, and other drive letters are all invalid.
|
|
2006-8-22 19:50 |
|
|
Jneny
高级用户
    中國DOS聯盟常任參議员
积分 686
发帖 318
注册 2005-11-4
状态 离线
|
『第 13 楼』:
使用 LLM 解释/回答一下
fujianabc:如果我安装了DOS放到d:盘。提取了D盘的引导扇区成dos.bin 这样的话我放在C盘,再用c:\dos.bin="start dos"这时NTLDR肯定能找到文件,如何使它引导到D盘呢
NTLDR加载成功后它会认识出C盘和D盘这样的盘吗,?
fujianabc: If I install DOS to drive D: and extract the boot sector of drive D into dos.bin, then place it on drive C, and then use c:\dos.bin="start dos", the NTLDR will definitely find the file. How to make it boot to drive D?
After NTLDR is successfully loaded, will it recognize drives like C and D?
|

. 繽紛色彩閃出的美麗是因為它沒有分開每種色彩...>/
我的百度空间: BEYOND超越 为什么用DOS |
|
2008-5-4 13:30 |
|
|
3791436
新手上路

积分 6
发帖 3
注册 2008-5-3
状态 离线
|
『第 14 楼』:
是不是无法识别NTFS 的格式啊,
使用 LLM 解释/回答一下
是不是无法识别NTFS 的格式啊,你把要引导的文件放在第一个FAT32的分区看看行不行.
Is it that NTFS format is not recognized? Try putting the file you want to boot in the first FAT32 partition and see if it works.
|
|
2008-5-5 13:08 |
|
|
Jneny
高级用户
    中國DOS聯盟常任參議员
积分 686
发帖 318
注册 2005-11-4
状态 离线
|
『第 15 楼』:
使用 LLM 解释/回答一下
不是無法識別,C盤用NTFS裝XP照樣能啟動,
It's not unrecognizable. Installing XP on the C drive with NTFS can still boot.
|

. 繽紛色彩閃出的美麗是因為它沒有分開每種色彩...>/
我的百度空间: BEYOND超越 为什么用DOS |
|
2008-5-6 22:46 |
|
|