Jump to content











Photo
- - - - -

make a DOS boot drive read only with driver or other way


  • Please log in to reply
4 replies to this topic

#1 MichaelWeaser

MichaelWeaser

    Member

  • Members
  • 46 posts
  •  
    United States

Posted 2 weeks ago

I have been attempting to make a DOS boot drive read-only with a driver but can't find such a driver to do it. I was told a long time ago its possible to make any hard drive within dos read-only with a driver but just can't find such a driver. I know its possible using grub4dos with map --read-only (hd0) (hd0) and than  chainloader /io.sys. But for reasons I don't want to to use this method. There has to be another away to make DOS think the drive is write protected with a driver, or another way.



#2 Blackcrack

Blackcrack

    Frequent Member

  • Advanced user
  • 340 posts
  •  
    Germany

Posted 2 weeks ago

if you boot from a medium with dos, must be there a modification command.com with usb-informations
or an "device".sys file where it is load in config.sys as tsr file where makes ro the system-partition
with maybe switches like "LOADHIGH blabla.sys /syspart=ro" to hold it ro and the other possibility an autorun.exe for win/nt ot at the sdcard the switch by side of the hardware to switching ro

41M94ZqDZwL._AC_UL130_.jpg

 

best regards

Blacky



#3 MichaelWeaser

MichaelWeaser

    Member

  • Members
  • 46 posts
  •  
    United States

Posted 2 weeks ago

if you boot from a medium with dos, must be there a modification command.com with usb-informations
or an "device".sys file where it is load in config.sys as tsr file where makes ro the system-partition
with maybe switches like "LOADHIGH blabla.sys /syspart=ro" to hold it ro and the other possibility an autorun.exe for win/nt ot at the sdcard the switch by side of the hardware to switching ro

41M94ZqDZwL._AC_UL130_.jpg

 

best regards

Blacky

 

I am trying to make a real IDE hard drive read-only , not anything usb 



#4 steve6375

steve6375

    Platinum Member

  • Developer
  • 6688 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars
  •  
    United Kingdom

Posted 2 weeks ago

You can use grub4dos to load a DOS img\ima file into memory and run it from there.

Any changes you make during that session will be lost.

 

If you write-protect the drive, no files (even temporary files) can be created by DOS - is that what you want?

 

Must the IDE drive directly boot to DOS via PBR to IO.SYS? What 'reasons' do you have for not wanting to use grub4dos?

Just trying to find out if there is another way to skin the cat...

 

P.S. I have not tried this but may work under MS-DOS? .. http://help.fdos.org...se/fdshield.htm


Edited by steve6375, 2 weeks ago.


#5 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 14093 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 2 weeks ago

Another semi-random idea.

What would happen with an image of a CD-ROM set to "hard disk emulation"? :dubbio:

 

Still booting to grub4dos would be needed, though.

 

If there is any actual reason NOT to use grub4dos there are other possible booting mechanisms (Syslinux/memdisk), once - one way or the other - a DOS has been loaded there are a number of DOS Ramdisks (Frank Uberto's one comes to mind, but also SRDISK might do) and one of the various drivers by Jason Hood:

http://adoxa.altervista.org/shsucdx/

might well do, still the issue is the initial loading (before the driver mounts the image).

 

Another possible tool could be NTFSDOS, a driver of which two versions exist, one (free) which is read-only and one (not anymore available, Commercial) that had both read and write capabilities:

https://web.archive....es/NtfsDos.html

here the read-only is at (NTFS) volume level (NOT at physical disk level) though.

 

 

:duff:

Wonko 






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users