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-23 04:38
中国DOS联盟论坛 » DOS启动盘 & LOGO技术 (启动盘室) » [Urgent] My universal boot disk caused trouble View 1,668 Replies 8
Original Poster Posted 2003-06-29 00:00 ·  中国 宁夏 银川 联通
初级用户
Credits 110
Posts 3
Joined 2003-06-29 00:00
23-year member
UID 6100
Gender Male
Status Offline
Friends:
I downloaded the universal boot disk MS-DOS 7.10. After trying it on my machine, I found that my Win98 could no longer boot. When booting, it shows: Write Protect error writing drive C
Abort,Retry,Fail? Then nothing happens. After booting with a Win98 startup disk, reinstalling the system won't work either. The hard disk is set to read-only, and even formatting doesn't work. I can boot with WinXP and Win2000, though (my machine has three systems installed). What should I do? Thanks!
Floor 2 Posted 2003-06-29 00:00 ·  中国 河南 郑州 联通
初级用户
Credits 128
Posts 9
Joined 2002-11-01 00:00
23-year member
UID 122
Gender Male
Status Offline
First use 2000 and take a look.
Floor 3 Posted 2003-06-29 00:00 ·  中国 黑龙江 哈尔滨 道外区 联通
高级用户
★★
Credits 830
Posts 233
Joined 2002-11-29 00:00
23-year member
UID 364
Gender Male
Status Offline
It seems like your machine's hardware has a problem! It says it's a write error, not a read error!
┃ \\\\//// ┃通缉:杨小邪 特点:贼丑
┃ (-●●-) ┃年龄:刚成年 性别:男
┃ \ / ┃罪名:长的丑/总想见网友
┃ \︶/ ┃犯罪事实:吓死一片~
Floor 4 Posted 2003-06-29 00:00 ·  中国 江西 吉安 电信
版主
★★★★
Credits 7,296
Posts 1,628
Joined 2002-10-16 12:00
23-year member
UID 10
Gender Male
Status Offline
Generally, in my understanding, a hard disk (partition) is different from a file, and its read-only attribute cannot be set.
But in fact we do see that some hard disks are read-only under special circumstances. How is that done?
Generally speaking, it is done by modifying an interrupt. It changes the interrupt used for writing data to the hard disk (I don't remember exactly which one), and when there is an interrupt request to write data to the hard disk, it redirects to the modified interrupt handler. There, it determines whether you are trying to write data to the hard disk, and which hard disk you are writing to. If it specifies that writing to drive C is not allowed, then there will be a jump to the error message telling you that drive C is write-protected!

But if you boot with a Win98 startup floppy (or CD), then since the interrupt has not been modified at that time, drive C will not be write-protected. In other words, drive C is writable.


“I downloaded the universal boot disk MS-DOS 7.10. After trying it on my machine, I found that my Win98 could no longer boot.”
How exactly did you try it? Please explain in detail, because this is the key. If you don't explain clearly, others can't reproduce your problem. The way we normally test it, this kind of thing does not happen.

In fact, I think maybe it was just a coincidence, but you cannot conclude that it was definitely the “universal boot disk” that caused the trouble.
ko20010214
=================================
大功告成,打个Kiss!
ko20010214@MSN.com
神州优雅Q300C
Intel CeleronM 370处理器 | 256MbDDR内存
40G硬盘 | USB2.0 | IEEE 1394
13.3 ' WXGA 宽屏(16:10) | COMBO光驱
10/100M网卡 | 四合一读卡器
Floor 5 Posted 2003-06-29 00:00 ·  中国 江西 吉安 电信
版主
★★★★
Credits 7,296
Posts 1,628
Joined 2002-10-16 12:00
23-year member
UID 10
Gender Male
Status Offline
The following is quoted from minisheep posted on 2003-6-29 8:58:07:
It seems like your machine's hardware has a problem! It says it's a write error, not a read error!

Maybe not.
Because the other drives don't have a “write error”.
Win2000 and XP both work.

I just don't know whether the OP can write to drive C under Win2000.
I think it should be possible.
ko20010214
=================================
大功告成,打个Kiss!
ko20010214@MSN.com
神州优雅Q300C
Intel CeleronM 370处理器 | 256MbDDR内存
40G硬盘 | USB2.0 | IEEE 1394
13.3 ' WXGA 宽屏(16:10) | COMBO光驱
10/100M网卡 | 四合一读卡器
Floor 6 Posted 2003-06-29 00:00 ·  中国 广东 佛山 禅城区 电信
元老会员
★★★★
Credits 5,170
Posts 1,637
Joined 2002-10-16 00:00
23-year member
UID 8
Gender Male
From 广东佛山
Status Offline
This is probably not a failure caused by the boot disk. But it's not clear what could make the hard disk become write-protected.
我的网志
http://hzmys.blog.163.com/
我的网盘
firststep.qjwm.com
fsmys.ys168.com
ssmys.ys168.com
www.brsbox.com/fsmys
www.brsbox.com/ssmys
www.brsbox.com/ccdos
Floor 7 Posted 2003-06-29 00:00 ·  中国 宁夏 银川 联通
初级用户
Credits 110
Posts 3
Joined 2003-06-29 00:00
23-year member
UID 6100
Gender Male
Status Offline
Thank you. On my machine, everything works normally on drive C under Win2000 and WinXP.
Floor 8 Posted 2003-06-30 00:00 ·  中国 山东 济南 广电网
中级用户
★★
Credits 364
Posts 95
Joined 2003-06-15 00:00
23-year member
UID 5250
Gender Male
Status Offline
The OP can try the following method. This is generally how I solve disk logical protection problems:
1 Use FDISK/MBR to rebuild the partition table
2 Use FDISK or PQ to delete the C partition and then recreate it

Hard disk write protection can be implemented by writing a piece of checking code into a later free sector on track 0, then modifying the jump in the track 0 boot information. After booting, it first calls the checking code in the back to stay resident in memory, and then this program can take over INT13 to determine whether the operation is writing to the hard disk. If it is a write, then it intercepts it; otherwise it normally calls the original INT1
3 so that it can run normally.

In principle it can be implemented like this, but I don't know how to do it in programming terms~~~ because I don't know programming, hehe~~~

I wonder whether the OP ever installed things like Restore Wizard or Kingsoft Protector. If so, they very likely caused this~~~
Floor 9 Posted 2003-06-30 00:00 ·  中国 山东 滨州 联通
高级用户
★★
Credits 948
Posts 271
Joined 2002-12-13 00:00
23-year member
UID 502
Gender Male
From sd
Status Offline
Try setting the “virus protection” option in BIOS to “disabled”.
Forum Jump: