home *** CD-ROM | disk | FTP | other *** search
-
-
-
-
-
-
- 2k Clusters on a 10 meg Hard Disk drive - DOS 3.1-3.3
-
- Written ( 07/26/87 )
-
- Author: Joe Moor ( 74365,757 )
-
- This article is based on an article written by Bill Higgins
- that allowed you to have a 10 meg hard disk with 2k clusters
- under dos 3.1.
-
- Why re-invent the wheel?
-
- I found that there have been some changes in DOS 3.3, and
- the patches that circulate the BBS's unfortunately don't cover
- these changes, and since I run under DOS 3.3 it was time to do
- some investigating.
-
- Background - Why the need for any changes?
-
- The standard 10 meg hard drive allocates space in 4k
- clusters, that is each file you create needs a minimum of 4,096
- bytes of disk space. This does not present a problem if all of
- your files are large or are on average bigger than 4k.
- My problem was that my hard disk is populated with BAT files
- and many script files, not to mention all those useful Shareware
- utilities that float around. Financial constraints hold to me to
- 10 meg at the moment so I need to stretch my resources to the
- limit. So here is the way I was able to regain about 800k worth
- of disk space (plus more as future additions are made to it).
-
- What will you need to perform this patch?
-
- 1 - A sector editing program such as NU (Norton's
- Utilities) or PCTOOLS (Central Point Software). I
- prefer PCTOOLS because of it's speed and features,
- however any sector editor will work.
-
- 2 - PC-DOS versions 3.1-3.3.
-
-
- What do I do now that I'm ready?
-
- 1 - THIS STEP IS THE MOST CRITICAL!!!
-
- *** BACKUP YOU ENTIRE HARD DISK TO FLOPPY ***
- *** YOU WILL BE VERY SORRY YOU DIDN'T IF ***
- *** THIS PATCH DOES NOT WORK ON YOU HD ***
- *** OR IF A MISTAKE IS MADE ***
-
- 2 - Cold boot the version of DOS you are running.
-
-
-
- 2k Cluster modifications - Page 1
-
-
-
-
-
- 3 - FDISK the hard disk you wish to modify to create a
- DOS partition.
-
- 4 - FORMAT the hard disk using the DOS FORMAT program
- (do not specify any switches IE: /s /v).
-
- 5 - Using the sector editor you must modify 2 bytes in
- the boot sector.
-
- a) Search for the following sequence of bytes in
- the Boot Sector (Sector 0).
-
- 02 08 01 00 02 00 02 F3 50 F8 08 00
-
- (They are located in the beginning of the
- Boot sector under DOS 3.3)
-
- b) First we must change the number of sectors
- per cluster from 8 to 4 ( 1 sector = 512
- bytes : 8 x 512 = 4096 cluster : 4 x 512 =
- 2048 cluster). In the above sequence of
- bytes change the 08 to 04 as described below.
-
- Before 02 08 01 00 02 00 02 F3 50 F8 08 00
- ^^
- After 02 04 01 00 02 00 02 F3 50 F8 08 00
- ^^
-
- c) Next we must change the number of possible
- FAT entries ( twice as many now ) and change
- the FAT coding from 12 bits to 16 bit coding.
- In the above sequence of bytes change the 08
- to 15 as described below.
-
- Before 02 04 01 00 02 00 02 F3 50 F8 08 00
- ^^
- After 02 04 01 00 02 00 02 F3 50 F8 15 00
- ^^
-
- * This line also reflects the changes made
- in step 5b.
-
- d) Write the sector back to disk.
-
- e) Exit sector editor.
-
-
- 6 - Do a cold boot of DOS from the A: drive. This is
- necessary so the boot sector will be read and so
- that BIOS can find the changes made to the boot
- sector. ( The boot sector is only read once during
-
-
- 2k Cluster modifications - Page 2
-
-
-
-
-
- a cold boot by BIOS to build the BPB BIOS
- Parameter Block )
-
- 7 - FORMAT the hard drive using DOS FORMAT specifying
- any options you like /s/v etc...
-
- 8 - RESTORE all the files to your hard disk. DO NOT
- RESTORE THE SYSTEM FILES IBMBIO.COM IBMDOS.COM or
- COMMAND.COM ( this is in case you are changing DOS
- versions or upgrading to DOS 3.1, it does not
- effect the cluster size modification ).
-
- 9 - That's it..Take a break.
-
-
- I cannot guarantee this change will work on all Hard
- Disk/Controller combinations. I use a AT&T 6300 with a Tandon
- hard disk and Western Digital controller. If the change does
- work for you I'm sure you'll be please to see the amount of disk
- space available decrease much slower than before (especially for
- those with many small COM, BAT or script files).
-
- Please send any comments/suggestions to Joe Moor CIS:
- 74365,757 or at 'THE BOSS BBS' (201) 568-7293.
-
- Good Luck!
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 2k Cluster modifications - Page 3
-