home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 8 Other / 08-Other.zip / hrdchk.zip / HRDCHK.TXT < prev   
Text File  |  1993-06-25  |  15KB  |  396 lines

  1.                                 June 25, 1993
  2.  
  3.                                 Hard Check 1.01 for
  4.                                 Stacker for OS/2 & DOS
  5.  
  6. Copyright 1993 Jesse F. Knecht.
  7. All rights reserved.
  8. Produced by QHS.
  9.  
  10. This info is for those who have compressed their OS/2 boot partition(s).
  11.  
  12. Is it time to run CHKDSK /F on your compressed OS/2 drive(s)?  Ready for the
  13. floppy shuffle?  Why Not??!!!
  14.  
  15. There's a fairly easy way to boot your hard drive to run CHKDSK /F or other
  16. utilities without repartitioning by FDISK.  This procedure is suitable for
  17. applying those OS/2 fixes that IBM says to boot from floppy to install.
  18.  
  19. Hard Check is a Procedure which allows one to boot an uncompressed hard drive
  20. area and run OS/2 utilities on a Stacker for OS/2 & DOS compressed boot drive.
  21.  
  22. If you have been using a separate partition to run OS/2 utilities you can
  23. reclaim that space.  You may very rarely need to boot from floppy to run
  24. CHKDSK /F on the non-compressed drive.  See the Reclaiming CHKDSK Space
  25. section for more info..
  26.  
  27. When you installed Stacker For OS/2 & DOS a several meg non-compressed area
  28. was set aside and the rest of the area(s) you selected were compressed.  This
  29. non-compressed area contains almost everything needed to boot an OS/2 session.
  30.  
  31. By adding a couple files and the right CONFIG.SYS you can boot the
  32. non-compressed area to run CHKDSK /F on everything else!  What a time saver!
  33.  
  34. Note: Hard Check is not meant to replace having bootable floppy disks, but
  35.       for routine OS/2 utility you can't beat doing it from your hard drive.
  36.  
  37. There are 4 files which make up Hard Check (HRDCHK.ZIP):
  38.  
  39.         1) HRDCHK.TXT   This File
  40.         2) CH2CHK.CMD   Command File
  41.         3) CHK.CFG      Prototype CONFIG.SYS
  42.         4) CHKDONE.CMD  Command File
  43.  
  44. This version of Hard Check requires Stacker for OS/2 & DOS and OS/2 2.x.
  45. It may be used with Boot Manager, Dual Boot, or with OS/2 2.x as the
  46. only operating system.
  47.  
  48. Before I get into use of the above, a little legal stuff.
  49.  
  50. ******************************************************************************
  51.  
  52. Stac Electronics, Stac & Stacker are registered trademarks of Stac Electronics
  53. OS/2 is a trademark of IBM Corporation
  54. QHS is a service mark of Jesse F. Knecht
  55.  
  56. All other product names are trademarks or registered trademarks of their
  57. respective owners.
  58.  
  59. There is No Warranty of any type whatsoever on Hard Check.  Use this
  60. information at your own risk.
  61.  
  62. Hard Check was developed by the author and not Stac Electronics.  Hard Check
  63. is not supported by Stac Electronics.
  64.  
  65. If you encounter difficulties using Hard Check please contact the author at
  66. locations listed below.
  67.  
  68. Information contained in Hard Check is subject to change without notice.
  69.  
  70. No information contained herein may be modified in any way except by the
  71. author or with written permission from the author.
  72.  
  73. Hard Check may not be packaged or distributed with any other product without
  74. written permission from the author.
  75.  
  76. Hard Check is Shareware.  A limited license to use the information contained
  77. in this package is granted for seven days.  In reality one day testing should
  78. be adequate to determine usefullness.  Use beyond the seven day trial period
  79. requires registration.
  80.  
  81. A limited license is granted to copy and distribute Hard Check only for the
  82. trial use of others, subject to the above limitations, and also the following:
  83.  
  84.        1)Hard Check must be copied in unmodified form, complete 
  85.          with the file containing this license information.
  86.                  
  87.        2)The full machine-readable Hard Check documentation
  88.          must be included with each copy.
  89.  
  90.        3)Hard Check may not be distributed in conjunction with 
  91.          any other product without specific permission from QHS,Inc.
  92.          and the author.
  93.                                    
  94.        4)No fee, charge, or other compensation may be requested or 
  95.          accepted, except as authorized below:
  96.          
  97.          A) Operators of electronic bulletin board systems (sysops)
  98.          may make Hard Check available for downloading only as long
  99.          as the above conditions are met.  An overall or time-dependent
  100.          charge for the use of the bulletin board system is permitted
  101.          as long as there is not a specific charge for the downloading
  102.          of Hard Check.  Should the BBS wish to charge for Hard Check,
  103.          a special agreement will be needed.  Contact QHS for more info.
  104.  
  105.          
  106.          B) Vendors of user-supported or shareware software may                                                                                
  107.          distribute Hard Check subject to the above conditions, without
  108.          specific permission.  Vendors may charge a disk duplication
  109.          and handling fee, which, when pro-rated to Hard Check, may
  110.          not exceed seven dollars.
  111.                       
  112.          C) Non-profit user groups may distribute Hard Check, 
  113.          subject to the above conditions, without specific permission.
  114.          Non-profit user groups may charge a disk duplication and
  115.          handling fee, which, when pro-rated to Hard Check,
  116.          may not exceed seven dollars.
  117.             
  118.  
  119.   The registration fee is $2.00 per computer containing drive(s) with areas
  120. compressed by Stacker for OS/2 & DOS.
  121.  
  122. Fees in the form of check or money order should be sent to the below postal
  123. mailing address.  See the Registration Form at the end of this file.
  124.  
  125. The author may be reached at:      
  126.  
  127.                 Jesse F. Knecht
  128.                 QHS, Inc.
  129.                 P.O. Box 8692
  130.                 Metairie, LA 70011
  131.  
  132.                 CompuServe:     70400,600
  133.                 America Online: JFK RN
  134.  
  135. All comments & suggestions are welcome.
  136. ******************************************************************************
  137.  
  138. Please have a current system backup before using this information.
  139.  
  140. At least have ALL your autoexec.bat, config.sys and startup.cmd safely on
  141. floppy as these are the files to be manipulated.
  142.  
  143. The use instructions are divided into 3 sectons: OS/2 Only, Boot Manager, and
  144. Dual Boot.  There are a few steps common to the 3 sections which will be
  145. addressed first.
  146.  
  147. When you compressed the your OS/2 boot drive with Stacker it set aside a
  148. non-compressed area to initiate the boot up then compressed whatever
  149. disk space you told it to, probably the rest of the drive.
  150.  
  151. Stacker copied a number of files to this area but also left room for others.
  152.  
  153. The files in the non-compressed are what get the system going when you boot,
  154. then the Stacker drivers kick in and tell the system that the compressed area
  155. is one drive and the non-compressed is another.
  156.  
  157. In order to run CHKDSK with the /F switch on your OS/2 boot partition you've
  158. needed to boot from floppy which is a slooooww process or you set aside
  159. additional disk space for booting OS/2 just to run CHKDSK /F.
  160.  
  161. In the following sections <Drive> refers to the non-compressed area set aside
  162. by Stacker; <CompDrive> refers to the compressed boot drive created by Stacker.
  163.  
  164. Setup--
  165.  
  166. Boot OS/2, open a DOS prompt window then:
  167.  
  168. 1) Copy <CompDrive>:\os2\cmd.exe to <Drive>:\os2
  169.  
  170. 2) Copy <CompDrive>:\os2\chkdsk.com to <Drive>:\os2
  171.  
  172. 3) Place the included ch2chk.cmd in the \os2 directory of <CompDrive>.
  173.  
  174. 4) Place the included chk.cfg in the Root directory of <Drive>
  175.    
  176. 5) Place the included chkdone.cmd in the \os2 directory of <CompDrive>.
  177.  
  178. 6) Change to the Root directory of <Drive>
  179.  
  180. 7) Enter:       config /c=<Drive>:\chk.cfg
  181.    then answer Y(es) when prompted if ok to add lines.  You will need to use
  182.    the /d= switch with config if you did a Custom install of Stacker for OS/2
  183.    & DOS and used a directory other than \stacker\os2.  Note the lines added;
  184.    they'll probably be at the top of the chk.cfg file.
  185.  
  186. 8) Open <Drive>:\chk.cfg with a plain text editor and REM or delete all lines
  187.    added Except the first line; usually REM lines 2, 3, and 4.  The goal is
  188.    to make CHK.CFG aware of the compressed drive(s) but Not swap or sync on
  189.    boot up.  No files on <CompDrive> should be accessed.  Be sure the correct
  190.    Stacker directory is specified on the top line of CHK.CFG.
  191.  
  192.    Also check the BASEDEV= lines.  The included chk.cfg is written for IBM
  193.    compatables in the U.S.  If you have a real IBM you'll need to use the
  194.    BASEDEV= statements from your config.sys that pertain to IBM hardware.
  195.    If you use a non-U.S. setup you'll need to edit the CODEPAGE= and
  196.    COUNTRY= lines.
  197.  
  198.    If you have HPFS drives you also want to access then copy the line from
  199.    your config.sys which supports HPFS to chk.cfg.  It should look
  200.    something like:
  201.  
  202.    IFS=<CompDrive>:\os2\hpfs.ifs
  203.    
  204.  
  205. There may be a couple of differences depending on your hardware; SCSI vs. IDE,
  206. IBM vs. Clone, but should be essentially the same.
  207.  
  208. Please skip to the heading which fits your setup.
  209.  
  210.                                 ** OS/2 Only **
  211.  
  212. In an OS/2 only setup OS/2 is the Only operating system on the computer and
  213. boots from your C drive.  In an OS/2 Only system you have a small chance of
  214. lost EA's (no true DOS to screw them up).
  215.  
  216. Lets begin with the simplest setup.  You started with one large C drive and
  217. compressed it leaving space for swapper.dat; there is an A and B floppy.
  218.  
  219.  
  220. To use Hard Check:
  221.  
  222. 1) Configure as noted in the Setup section.
  223.  
  224. 2) Boot OS/2.
  225.  
  226. 3) Open an OS/2 prompt window.
  227.  
  228. 4) Change to the Root directory of <Drive> which should be D.
  229.  
  230. 5) From the command line enter:         ch2chk
  231.    to CHange 2 the CHK(dsk) configuration.
  232.  
  233. 6) Shutdown and reboot.
  234.  
  235. The system loads to an OS/2 prompt on uncompressed C.  No drive letters have
  236. been swapped.  You should be at C:\> with the system aware of a compressed D.
  237. Notice the 4th line on text the first screen after the OS/2 bootup logos.
  238. It should read like:
  239.   D: = C:STACVOL.DSK
  240. D: is the compressed drive which has not been swapped.
  241.  
  242. You may now run CHKDSK D: /F
  243.  
  244. When finished with checking your drive(s):
  245.  
  246. 7) Be sure you're in the Root directory of C.
  247.  
  248. 8) From the command line enter: chkdone
  249.    CHK(dsk) is DONE.
  250.  
  251. When you reboot you'll be back to a full OS/2 setup.
  252.  
  253.  
  254. Another possibility is you started with OS/2 on C and data on D, both
  255. compressed.  The use is essentially the same.  You'll still boot to
  256. C:\> but will be able to run CHKDSK D: /F and CHKDSK E: /F.
  257.  
  258.                                 ** Boot Manager **
  259.  
  260. In a Boot Manager setup OS/2 2.x may not be the Only operating system on the
  261. computer.  In a Boot Manager system where you sometimes boot DOS you have an
  262. increased chance of lost EA's.
  263.  
  264. To use Hard Check:
  265.  
  266. 1) Configure as noted in the Setup section.
  267.  
  268. 2) Boot OS/2.
  269.  
  270. 3) Open an OS/2 prompt window.
  271.  
  272. 4) Change to the Root directory of <Drive>
  273.  
  274. 5) From the command line enter:         ch2chk
  275.    to CHange 2 the CHK(dsk) configuration.
  276.  
  277. 6) Shutdown and REBOOT the SAME PARTITION
  278.  
  279. The system loads to an OS/2 prompt on <Drive>.  No drive letters have been
  280. swapped.  You should be at <Drive>:\> with the system aware of any compressed
  281. drive(s).  Notice the 4th line on text the first screen after the OS/2 bootup
  282. logos.  It should read like:
  283.   E: = D:STACVOL.DSK
  284. E: is the compressed drive that has not been swapped.
  285.  
  286. You may now run CHKDSK <CompDrive>: /F
  287.  
  288. When finished with checking your drive(s):
  289.  
  290. 7) Be sure you're in the Root directory of <Drive>.
  291.  
  292. 8) From the command line enter: chkdone
  293.    CHK(dsk) is DONE.
  294.  
  295. When you reboot you'll be back to a full OS/2 setup.
  296.  
  297.                                 ** Dual Boot **
  298.  
  299. In many ways a Dual Boot setup is like an OS/2 only setup, however,
  300. in a Dual Boot setup OS/2 2.x is not the Only operating system on your C
  301. drive.  There is usually some DOS version on C drive along with OS/2.
  302. Sometimes you boot DOS, sometimes you boot OS/2.  You have an increased
  303. chance of lost EA's when you boot DOS.
  304.  
  305. OS/2 must be the current operating system.
  306.  
  307. To use Hard Check:
  308.  
  309. 1) Configure as noted in the Setup section.
  310.  
  311. 2) Boot OS/2.
  312.  
  313. 3) Open an OS/2 prompt window.
  314.  
  315. 4) Change to the Root directory of <Drive>
  316.  
  317. 5) From the command line enter:         ch2chk
  318.    to CHange 2 the CHK(dsk) configuration.
  319.  
  320. 6) Shutdown and reboot OS/2.
  321.  
  322. The system loads to an OS/2 prompt on <Drive>.  No drive letters have been
  323. swapped.  You should be at <Drive>:\> with the system aware of any compressed
  324. drive(s).  You may now run CHKDSK <CompDrive>: /F
  325.  
  326. When finished with checking your drive(s):
  327.  
  328. 7) Be sure you're in the Root directory of <Drive>.
  329.  
  330. 8) From the command line enter: chkdone
  331.    CHK(dsk) is DONE.
  332.  
  333. When you reboot you'll be back to a full OS/2 setup.
  334.  
  335.  
  336.                         ** Reclaiming CHKDSK Space **
  337.  
  338. This section is for those who had already created a hard drive partition to
  339. use for running CHKDSK /F.
  340.  
  341. You don't need TWO partitions to run CHKDSK from.  Using the procedures above
  342. you'll be able to reclaim that disk space and compress it if you like.  You've
  343. been using Boot Manager to switch OS/2 partitions so use the Boot Manager
  344. section above.
  345.  
  346. Implement the instructions in the Boot Manager section.  Try it a few times.
  347.  
  348. When you're ready you can reformat your old CHKDSK partition and use it for
  349. regular data or make it another compressed drive (or FDISK and combine the
  350. space with another partition to make a larger drive).
  351.  
  352.  
  353. ****************************** Registration Form *****************************
  354.  
  355. Name: _____________________________________________________________
  356.  
  357. Company: __________________________________________________________
  358.  
  359. Address: __________________________________________________________
  360.  
  361. City: _______________________________ State: ________ Zip: ________
  362.  
  363. Phone: (_____)___________________ Country: ________________________
  364.  
  365. CompuServe Address: _______________________________________________
  366.  
  367. America Online: ___________________________________________________
  368.  
  369. Do You Have A Modem?       Yes          No
  370.   
  371. Did You Download Hard Check?      Yes          No
  372.  
  373. If Downloaded, From Where? ________________________________________
  374. If Not CompuServe or America Online; Name, Phone, & Settings Please.
  375.  
  376.  _____ Hard Check(s) at $2.00 ea.: _________.___
  377.  
  378.  
  379. Please enclose check or money order (cash at your risk) in U.S. funds
  380. payable to QHS,Inc. There is a $10.00 service charge on items
  381. "returned unpaid by the bank."  Sorry, no purchase orders or credit cards.
  382.  
  383. Send to:    QHS, Inc.
  384.             P.O. Box 8692 
  385.             Metairie, LA 70011
  386.  
  387. Suggestions ___________________________________________________________
  388.     &
  389. Comments:   ___________________________________________________________
  390.  
  391.             ___________________________________________________________
  392.  
  393.             ___________________________________________________________
  394.  
  395. Thank You..............Jesse <Team OS/2>
  396.