home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 8 Other / 08-Other.zip / fips15.zip / special.doc < prev    next >
Text File  |  1995-08-22  |  7KB  |  143 lines

  1. FIPS 1.5 - file SPECIAL.DOC
  2. ---------------------------
  3.  
  4. S1. Use with Stacker/SuperStor/Doublespace etc.
  5. S2. Use with OS/2
  6. S3. Use with OnTrack Disk Manager and similar drivers
  7.  
  8.  
  9. ------------------------------------------------------------------------------
  10.  
  11. S1. Use with Stacker/SuperStor/Doublespace etc.
  12.  
  13. These programs are used to increase disk space by compressing files. They
  14. all work similarly. When installed, they create a compressed volume on the
  15. disk, into which all the files are moved. This compressed volume is a big
  16. file that fills up almost all space on the disk. After booting with the
  17. compression driver, the previous drive C: that contains the compressed
  18. volume is renamed to D:, and the compressed volume itself becomes C:.
  19.  
  20. From reports I received from users of Stacker and DoubleSpace, I distilled
  21. the following scheme. If you have difficulties, please let me know.
  22.  
  23. a. Make sure that there is enough space on the compressed partition to be
  24.    split.
  25. b. Use the Checkdisk program that comes with the compression software.
  26. c. Remove the Windows swapfile if you have one.
  27. d. Decrease the size of the compressed volume with the utilities that come
  28.    with the compression software.
  29. e. Defragment the uncompressed drive that contains the compressed volume
  30.    (in most cases drive D:)
  31. f. use FIPS as described in FIPS.DOC
  32.  
  33. If your system will not let you defragment the uncompressed drive or if
  34. the compressed volume can not be defragmented because it has the hidden
  35. attribute set, FIPS might not offer as much space for the new partition
  36. as is shown in the directory listing of the uncompressed drive. You should
  37. add the following steps:
  38.  
  39. e1. Copy the defragmentation program (e.g. diskopt.exe, defrag.exe) of the
  40.     system to the boot disk
  41. e2. Boot without the compression device driver. This may be tricky, since in
  42.     some systems the driver is part of the system files on the boot disk. Try
  43.     using a boot disk from an older DOS version, or consult your manuals.
  44. e3. Remove Hidden, Readonly and System attributes from compressed volume
  45.     (use dir /a:h to find the name of the the compressed volume)
  46. e4. Defragment the partition.
  47.  
  48. It was reported that you can use FIPS either with or without the compression
  49. driver loaded.
  50.  
  51.  
  52. S2. Use with OS/2
  53.  
  54. FIPS is known to have problems with OS/2, especially with the dual boot
  55. feature. This is partly due to the fact that OS/2 dual boot uses two copies
  56. of the boot sector - if only one copy is changed by FIPS, OS/2 will not
  57. work properly.
  58. But even when taking this into consideration, some people have reported
  59. strange error messages by OS/2. I encourage you to give FIPS a try, but
  60. make sure to save the root and boot sector to floppy disk with FIPS before
  61. making any changes. FIPS might work if you
  62.  
  63. a. Remove dual boot from the partition if you use it. I don't know if and
  64.    how this is possible, please consult your manual or call IBM. If you
  65.    find out, please let me know, so that I can include this info.
  66. b. Boot from a bootable DOS disk
  67. c. Run FIPS (make sure to make FIPS save the root and boot sector to floppy)
  68. d. Reboot, check if everything is ok under DOS
  69. e. Boot from your OS/2 installation disk and reinstall dual boot if
  70.    necessary.
  71. f. Boot to OS/2 and look if everything works as expected.
  72.  
  73. If e. does not work (OS/2 complains with 'hardware error' or something
  74. similar), use RESTORRB to undo the changes FIPS made, reboot again and
  75. reinstall dual boot (if necessary).
  76.  
  77. So far I did not find out what OS/2 complains about. Since I do not use
  78. OS/2, I have to rely on user reports. If you try FIPS with OS/2,
  79. I would like to hear about it. Any information is welcome, even if it
  80. is just "it worked" or "it did not work". If you have an idea what might
  81. be the problem or any technical information, please tell me about it.
  82.  
  83.  
  84. S3. Use with OnTrack Disk Manager and similar drivers
  85.  
  86. Note: Everything said here also applies to similar device drivers that
  87. perform the same functions as OnTrack. OnTrack is just the most widely
  88. used such system.
  89.  
  90. I'll try to start at the beginning:
  91.  
  92. Older BIOSes have a limit on the 'drive geometry' built in, i.e. they
  93. can only properly handle disk drives of up to 1024 cylinders, 16 heads
  94. and 63 sectors. Given a sector size of 512, this results in a total
  95. limit of 504 MB. Most hard drives are far larger nowadays, especially
  96. in the number of cylinders. So a method for accessing these large drives
  97. had to be devised. For compatibility reasons, the cylinder and sector
  98. count could not be extended, but there was still room in the number of
  99. heads value - up to 256 heads.
  100.  
  101. Modern BIOSes (i.e. BIOSes prepared for EIDE drives) do exactly this,
  102. they trick DOS into thinking that the disk has less than 1024 cylinders,
  103. but more than 16 heads (this is indicated by 'extended sector translation'
  104. or 'logical block addressing' in the BIOS setup). The same is true for
  105. SCSI disks - in this case the translation is done by the BIOS of the
  106. SCSI controller. If you have one of these, you will probably not be using
  107. OnTrack anyway.
  108.  
  109. OnTrack Disk Manager is a special program that does the translation in
  110. software. It installs its own boot program in the hard disk's master
  111. boot record, so that it is loaded before any other disk access is
  112. done. This means that you can not access the hard disk without loading
  113. the OnTrack device driver first.
  114.  
  115. This is also true for FIPS. If you just boot from a floppy disk, you will
  116. not be able to access the C: drive, and FIPS will not work. As far as
  117. I know, you _must_ boot from the hard disk, after which FIPS will work
  118. properly.
  119.  
  120. Note to Linux users: You can NOT use this scheme to create a Linux
  121. partition. This is because the partitioning information that FIPS modifies
  122. is on a level above the OTDM driver, so you can only access them after
  123. having loaded the driver. Since Linux does not use DOS drivers, it can
  124. not access the new partition. The only thing that Linux will see is a
  125. large non-DOS partition: the OnTrack partition (system indicator byte
  126. 54h or 56h).
  127.  
  128. Unfortunately, I currently know of no way to get rid of the OnTrack
  129. device driver or to split off a partition for use under Linux without
  130. completely reformatting and thus losing all data. It might be possible,
  131. given sufficient technical information, but since I personally don't
  132. use it, I can't investigate further into this.
  133.  
  134. If you are prepared to reformat the disk (after backing up all your data),
  135. you can just delete the OnTrack partition with Linux fdisk and create
  136. new partitions as you require. Note that you can create a DOS partition
  137. at the beginning of the disk. You won't need OnTrack to use it, as
  138. long as its last cylinder is less than 1024. Linux of course has no
  139. problems accessing the cylinders beyond 1024, so you can use all the rest
  140. of the disk for Linux partitions. In case of problems, read the EIDE-
  141. Mini-HOWTO, it contains some more information on this from the Linux
  142. point of view.
  143.