Kill Boot Sector Script?


Recommended Posts

I had a script about a year ago, but lost it. It was a debug script that ran from a boot floppy to delete the master boot record of the first drive.

The script was in a test file and then I ran it like "debug killbs.txt" from the command line.

Anyone have this script or can make one for me?

Any way to go further than that. Like is there a way to copy the boot sector to the floppy and then delete the master boot record and then later if need be, have the floppy restore the master boot record to get everything back?

That would be a great security script.

Link to comment
https://www.neowin.net/forum/topic/135642-kill-boot-sector-script/
Share on other sites

No, it's something else. I remember it, let me pull it off...

At least you have the necessary commands right there...

  Quote
Run the Debug Script

The following debug script removes DOS and non-DOS partitions on the hard drive. This debug script allows you to convert a drive from an incompatible partition structure to one that will work with FDISK.EXE such as converting Linux partitions to MS-DOS partitions.

Insert the boot disk that contains the Debug command into the floppy disk drive.

Restart the computer.

A black screen with the Microsoft Windows? 95 Startup Menu appears.

Press the <5> key, and then press the <Enter> key.

The boot process concludes with an A:\> prompt followed by a blinking cursor (underline).

From the A:\> prompt, type the following commands, and then press the <Enter> key after each command:

NOTE: Type the bolded text only (the debug prompt is a dash). You may receive an error if you type anything other than the bold text. The non-bolded text represents the system response that will appear after typing each command and pressing the <Enter> key.

debug

-F 200 L1000 0

-A CS:100

xxxx:0100 MOV AX,301

xxxx:0103 MOV BX,200

xxxx:0106 MOV CX,1

xxxx:0109 MOV DX,80

NOTE: Type 80 for the primary hard drive - HD 0, or type 81 for the secondary hard drive - HD 1.

In most cases, the primary hard drive is required 80.

xxxx:010C INT 13

xxxx:010E INT 20

xxxx:0110 (Leave this line blank. Press the <Enter> key to continue.)

-G

The message Program terminated normally appears.

Press the power button to turn off your computer.

On the ensuing startup, the hard drive must be partitioned and formatted. Refer to the Additional Information section for further instructions.

Return to Overview

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • it looks the same only smaller icons and more clutter
    • PDF Shaper 15.2 by Razvan Serea PDF Shaper is a set of feature-rich PDF software that makes it simple to split, merge, watermark, sign, optimize, convert, encrypt and decrypt your PDF documents, also delete and move pages, extract text and images. The program is optimized for low CPU resource usage and operates in batch mode, allowing users to process multiple PDF files while doing other work on their computers. PDF Shaper is available in three editions - Free, Premium and Ultimate. Compare and pick edition which is suitable for you. Compatible with Windows 7, 8, 10, 11. Features: Extract text, images of other objects from single or multiple PDFs Convert PDF to Word RTF or image, or convert image to PDF Extract pages from PDF and save them as separate PDF files Combine several PDF files into single PDF Encrypt and decrypt PDF with password, set user permissions Rotate, crop and normalize pages, set meta data Add watermark or remove images from PDF Benefits: Easy-to-use, intuitive user interface Low CPU resource usage during any process, including conversion Free for personal use and for any non-commercial organization Supports Unicode characters Supports batch processing for any operation Small installation size PDF Shaper 15.2 changelog: Updated translations. Improved table positioning for better layout accuracy (DOC to PDF). Enhanced image resizing to more accurately reflect DPI settings (Image to PDF). Improved text positioning for consistent formatting (TXT to PDF). Optimized overall performance on 64-bit systems. Enhanced support for Unicode text documents. Fixed an issue where font settings were not applied correctly to text files Download: PDF Shaper 15.2 | 7.9 MB (Free for personal use only) Link: PDF Shaper Home Page | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • I kind of do not engage much with people whose first retort is an ad hominem. Nevertheless the data is there.
    • I don't know if this is helpful or not, but just something I have an opinion on... Gaming PC builds where you've specced up the parts you want, built the system, colour matched things, etc... They may well be a labour of love, but on the 2nd hand market - nobody cares.  People are looking for deals, not your passion project
  • Recent Achievements

    • Reacting Well
      Alan- earned a badge
      Reacting Well
    • Week One Done
      IAMFLUXX earned a badge
      Week One Done
    • One Month Later
      Æhund earned a badge
      One Month Later
    • One Month Later
      CoolRaoul earned a badge
      One Month Later
    • First Post
      Kurotama earned a badge
      First Post
  • Popular Contributors

    1. 1
      +primortal
      493
    2. 2
      ATLien_0
      267
    3. 3
      +FloatingFatMan
      225
    4. 4
      +Edouard
      199
    5. 5
      snowy owl
      141
  • Tell a friend

    Love Neowin? Tell a friend!