Computing.Net > Forums > Disk Operating System > Editing The IO.SYS

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

Editing The IO.SYS

Reply to Message Icon

Original Message
Name: Hardrive Crasher
Date: April 8, 2001 at 19:21:47 Pacific
Subject: Editing The IO.SYS
Comment:

I bet nobody wants to touch this one!

I have read that the IO.SYS is impossible to edit. Is this true? I would like to learn how to edit it if possible. Can somebody direct me to a good website tha might talk abou this. There are a few things in it that I'd like to edit. Thank you.


Report Offensive Message For Removal


Response Number 1
Name: Chris Hodapp
Date: April 8, 2001 at 19:43:02 Pacific
Reply:

Who in the bloody hell told you it's impossible? I HAVE DONE IT BEFORE! It works fine! All you have to do is unATTRIB the System, Read-Only, and Hidden attributes on it. Then get a good hexadecimal editor; don't use DOS's EDIT program unless you're in Binary mode (file menu) and extremely careful. Hey, give me the email address or website of whoever said you can't edit IO.SYS, they have a lot to learn. Disassembling and recompiling IO is a bit tedious, the ASM code is about a meg in size.
Any, yes, I did edit IO.SYS, just switched some messages and edited some text. Didn't modify any code, because I can't decifer machine opcodes by looking at them. Make a boot disk to try it on, then go to A: and ATTRIB IO.SYS -R -H -S and get a good hex edior. You don't need those attributes on it in order to boot, but it protects against accidental deletion and editing.


Report Offensive Follow Up For Removal

Response Number 2
Name: Hardrive Crasher
Date: April 8, 2001 at 19:54:10 Pacific
Reply:

Ok. How do I set EDIT to binary mode.


Report Offensive Follow Up For Removal

Response Number 3
Name: Hardrive Crasher
Date: April 8, 2001 at 19:57:59 Pacific
Reply:

OK I found it.


Report Offensive Follow Up For Removal

Response Number 4
Name: Hardrive Crasher
Date: April 8, 2001 at 21:37:27 Pacific
Reply:

I opened IO.SYS in binary mode and edited some text and it came back with bad results. I was just trying a little test edit. I wanted to make the startup read something besides "Starting Windows 98...". Anybody know what I did wrong. I have a fresh IO.SYS waiting.


Report Offensive Follow Up For Removal

Response Number 5
Name: hardrive Crasher
Date: April 8, 2001 at 22:02:52 Pacific
Reply:

I just tried editing IO.sys on a boot disk and everything worked fine but twice the same failed on a hardrive.


Report Offensive Follow Up For Removal


Response Number 6
Name: DoOMsdAY
Date: April 9, 2001 at 04:45:17 Pacific
Reply:

When you edit text strings inside of a binary file, you can not change the length of the strings. So if you're trying to make it say something other than "Starting Windows 98..." for example, which is 22 characters long, your replacement has to be 22 characters as well. A hex editor would maintain that length because changing characters overwrites the existing ones, it does not remove them and then replace them - thus giving the opportunity to change the length of that string. Edit on the other hand, unless you're using Insert and are careful not to Backspace, will not maintain that length. Anyway, so your new string would have to be 22 characters or less. If it is less, pad the end with spaces. For this type of work I generally rely on debug.com. It's basic but it's on all systems I encounter and I've gotten pretty good with it over the years.


Report Offensive Follow Up For Removal

Response Number 7
Name: Hardrive Crasher
Date: April 9, 2001 at 12:07:06 Pacific
Reply:

I kind of figured that. I dont know a lot about this but I do know that it is a touchy file. I was making it say:

"Starting MS Dos 710..."
"Starting Windows 98..."

They are the same lenth but it still came up with bad results on the Hardrive but worked fine on a floppy. I will try again maybe i made the same stupid mistake twice. My next goal is to learn to use debug. I don't know if it is tough or not but I'll figure it out. i haven't failed yet. See you


Report Offensive Follow Up For Removal

Response Number 8
Name: Hardrive Crasher
Date: April 9, 2001 at 12:38:07 Pacific
Reply:

I got it to work. I must have made the same mistake twice and not relized it. i changed a few things and everytime it came up good. thank you.


Report Offensive Follow Up For Removal






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Disk Operating System Forum Home



Results for: Editing The IO.SYS

HOW DO YOU EDIT THE CONFIG.SYS AND HOW DO YOU PROPERLY INSTALL MS-DOS?????
    Summary: go to www.bootdisk.com and download one of the bootdisk's. Put the info on a floppy and look inside the autoexec.bat file and the config.sys file for said info. use the edit command to view files....
www.computing.net/answers/dos/how-do-you-edit-the-configsys-and-how-do-you-properly-install-msdos/4944.html

IO.SYS & the hidden logo
    Summary: I'm just wondering if anyone has *any* information on where the hidden logo (logo.sys) is inside IO.SYS...is it compressed...or is it just encoded? The IO.SYS from MS-DOS 6.22 is about 50k...so I'm te...
www.computing.net/answers/dos/iosys-amp-the-hidden-logo/7480.html

Dos 7.10 or IO.SYS Source Code
    Summary: Does anybody have the Source Code for dos 7.10 or its IO.SYS. If you do I would appreciate a copy. I would like to learn more about the IO.SYS but it is difficult because detailed info on the subjec...
www.computing.net/answers/dos/dos-710-or-iosys-source-code/6624.html






Which MP3 player do you have?

iPod/iPhone
Zune
Something Else
None


View Results

Poll Finishes In 4 Days.
Discuss in The Lounge
Poll History






Data Recovery Software