home *** CD-ROM | disk | FTP | other *** search
/ Chip: 2005 Utilities / CHIP Utilities 2005 / CHIP Utilities 2005.iso / dosapps / savepart / doc / en / faq.txt < prev    next >
Encoding:
Text File  |  2004-11-05  |  18.2 KB  |  328 lines

  1.  
  2.                   +----------------------------------------+
  3.                   |                                        |
  4.                   |            Partition saving            |
  5.                   |                                        |
  6.                   |    http://www.partition-saving.com     |
  7.                   |  Copyright (c) 1999-2004 D. Guibouret  |
  8.                   +----------------------------------------+
  9.  
  10.                                       FAQ
  11.                           Last update: June 1st 2004
  12.  
  13. Index: 
  14. ------
  15.  
  16. Q  1- Can I split a backup file into several smaller files that will each fit 
  17. onto a CD (700 Mbytes), even if use compression? 
  18.  
  19. Q  2- Can Partition Saving copy only the occupied sectors of a partition? 
  20.  
  21. Q  3- Do you plan to provide such an option in the future? 
  22.  
  23. Q  4- If I want to restore a partition, do I need to use an identical disc 
  24. having the same format as the original? 
  25.  
  26. Q  5- Sometimes it takes a long time to switch from the maximum file size 
  27. window to the save window. Why? 
  28.  
  29. Q  6- Using compression takes a long time. Would not it be quicker to save an 
  30. uncompressed image file and use an archive utility to compress it later? 
  31.  
  32. Q  7- Can I save NTFS partitions? 
  33.  
  34. Q  8- Will Partition Saving preserve the long filenames on Windows partitions?
  35.  
  36. Q  9- Is Partition Saving compatible with Windows NT, 2000 or XP? 
  37.  
  38. Q 10- How do I create a boot floppy? 
  39.  
  40. Q 11- Why does it take such a long time to create a backup file? 
  41.  
  42. Q 12- I cannot manage to create backup file on CD. 
  43.  
  44. Q 13- Are files created using a prior version compatible with the current one?
  45.  
  46. Q 14- What could be done in case of error? 
  47.  
  48. Q 15- Drive letter seems to not be correct. How could I know which is the 
  49. partition I want to save? 
  50.  
  51. Q 16- When I run program, nothing appears. 
  52.  
  53. Q 17- What could be done when I get the error message "A sector containing 
  54. parameters for file system could not be read" ? 
  55.  
  56. Q 18- Could I save my partition on an USB storage device ? 
  57.  
  58. ------
  59.  
  60. Q 1- Can I split a backup file into several smaller files that will each fit 
  61. onto a CD (700 Mbytes), even if use compression? 
  62. A- Yes. The total size of the file is as it is written (even after compression
  63. is used). 
  64. Be aware that for this program 1Mb is equal to 1024*1024 bytes (everybody does
  65. not agree on Mb size, it is sometimes 1000*1000 or 1000*1024 bytes). 
  66.  
  67. Q 2- Can Partition Saving copy only the occupied sectors of a partition? 
  68. Q 3- Do you plan to provide such an option in the future? 
  69. A- Since V2.20 you can save occupied sectors only for FAT12, FAT16, FAT32 and 
  70. ext2 partitions (also for NTFS partition since V2.30). 
  71. I depend on OS information to determine which sections of a partition are 
  72. occupied. Since I do not have this information for other partition types, 
  73. occupied sectors only cannot be done for those. 
  74. If you want to save place when saving partitions different from FAT, ext2 and 
  75. NTFS one, you could use a program that set all bytes of unoccupied sectors of 
  76. a partition to the same value such as with compression this will reduce amount
  77. of space needed. If you do not have such a program, you could use the advice 
  78. from Mr Lumir Mik: write a program that creates a file and fills it with the 
  79. same value. Then erase this file. 
  80.  
  81. Q 4- If I want to restore a partition, do I need to use an identical disc 
  82. having the same format as the original? 
  83. A- Yes if you have saved all sectors of the partition (that was the only 
  84. option for versions prior to V2.20). Furthermore you can only restore a 
  85. partition on an identical one and to the same disk location. It is a 
  86. significant limitation but data can be dependent on the location of the 
  87. partition on the hard disk. The limitation relating to the type of the 
  88. partition could be resolved by writing the partition table when restoring, but
  89. it is a feature that I have not incorporated yet. 
  90. Since version 2.20, if you saved only occupied sectors of a FAT or ext2 
  91. partition (or NTFS for V2.30), you could restore it on a partition with a 
  92. different format if certain size constraints are regarded. Nevertheless, the 
  93. disk must have the same sector size as the saved partition, and the partition 
  94. type must be the same (or must be compatible since V2.30). 
  95.  
  96. Q 5- Sometimes it takes a long time to switch from the maximum file size 
  97. window to the save window. Why? 
  98. A- This happens when you save your partition over an existing file. If this 
  99. file is large (e.g. result of a previous backup), it takes DOS some time to 
  100. delete it. Note that from version 2.10, the file is deleted between the file 
  101. name window and the maximum file size one (or before the save window in the 
  102. case of batch mode). 
  103.  
  104. Q 6- Using compression takes a long time. Would not it be quicker to save an 
  105. uncompressed image file and use an archive utility to compress it later? 
  106. A- It depends on the level of compression that you use with your archiver. If 
  107. you use the maximum level you will waste time since you have to access the 
  108. drive two more times. If you reduce the level of compression, you will save 
  109. time but use more space. Note that starting from version 2.10, you can choose 
  110. a level of compression that will allow you to make a compromise between time 
  111. required to save and disk space needed (for V2.00, the only level of 
  112. compression was maximum). 
  113.  
  114. Q 7- Can I save NTFS partitions? 
  115. A- Yes, you can. From version 2.30, you can even save occupied sectors only. 
  116. However since Microsoft have never published specifications on NTFS structure,
  117. this was done with using some incomplete information and some rare features 
  118. that appear in only a few instances are not supported. 
  119. To save NTFS partitions you must have a FAT partition that can be accessed by 
  120. DOS in order to create the backup file (either another partition on hard 
  121. drive, or using network mount, ZIP disk, ...). This constraint exists because 
  122. DOS is not able to access to NTFS partitions (there are some programs that 
  123. allow you to do this, see http://www.cgsecurity.org or 
  124. http://www.sysinternals.com, but be aware with the last one as the free 
  125. version that allows reading NTFS partition is not compatible with Partition 
  126. Saving and it could also be the case with full version). One solution if you 
  127. have sufficient disk space, is not to save the partition to a file, but 
  128. reproduce it by copying the entire partition over another one on disk (this 
  129. does not protect you against a crash unless you have two hard disks). 
  130.  
  131. Q 8- Will Partition Saving preserve the long filenames on Windows partitions? 
  132. A- Yes, it is one of the main goal of the program. Indeed, it is not possible 
  133. to save/restore all files under Windows as some are protected because they are
  134. in use. Consequently they must be saved under DOS (or another OS that allows 
  135. access to Windows partitions). But since DOS cannot recognize long filenames, 
  136. either saving or restoring must be done at level where file notion does not 
  137. exist, by physically saving the partition. Moreover this preserves the 
  138. relative order of sectors, which may have an influence on the operation of 
  139. some programs. 
  140.  
  141. Q 9- Is Partition Saving compatible with Windows NT, 2000 or XP? 
  142. A- Yes, but you need to boot from a DOS floppy and have access to a FAT 
  143. partition (please read also question 7). 
  144.  
  145. Q 10- How do I create a boot floppy? 
  146. A- For Windows 9x, click: Start->Settings->Control Panel->Add/Remove Programs,
  147. choose the "Startup disk" tab. Insert an empty floppy disk into drive, and 
  148. click on the "Create Disk" button. 
  149. If this method is not available for Windows XP, you could choose the "Format" 
  150. option by right-clicking on floppy drive in Windows Explorer and choose the 
  151. "Copy system files" option. However in the case the floppy disk is not 
  152. configured, you have to configure the floppy disk manually. For this purpose 
  153. you have to create two text files CONFIG.SYS and AUTOEXEC.BAT on the floppy 
  154. disk. In CONFIG.sys you have to install: 
  155.  
  156.   - The CDROM driver file if you wish to use the CDROM drive. Its name is 
  157. usually ATAPICD.SYS, CDROM.SYS or <your CDROM mark>.SYS (there are also some 
  158. generic drivers that come with Windows). For the driver to be loader, you have
  159. to write "DEVICE=<file name> /D:<name>" where <file name> is the CDROM driver 
  160. filename and <name> is any name of you choice that is less than 8 characters 
  161. (ex: CD0001).
  162.   - The driver file for the monitor. The one delivered by Windows is called 
  163. DISPLAY.SYS. For it to be loaded you must write "DEVICE=DISPLAY.SYS 
  164. CON=(EGA,,1)" (I doubt whether anybody does not have an EGA compatible 
  165. monitor).
  166.   - Finally you must configure the country (this is not needed for English 
  167. people). To do that to must use COUNTRY.SYS file and write to CONFIG.SYS 
  168. "COUNTRY=<number1>,<number2>,COUNTRY.SYS". The first number is the country 
  169. code (033 for France) and the second one is the codepage that will be used 
  170. (850 for France).
  171.  
  172. In the second file (AUTOEXEC.BAT) you have to put: 
  173.  
  174.   - The program providing access to the CDROM. This is provided by Windows and
  175. is called MSCDEX.EXE. To use it, you have to write "MSCDEX.EXE /D:<name>" 
  176. where <name> is the same <name> written for the CDROM driver line in 
  177. CONFIG.SYS.
  178.   - The program that configures the codepage you use (it will allow you to 
  179. configure your keyboard) (this is not needed for English people). For this 
  180. purpose you need two lines, one to prepare the codepage and the second to 
  181. select it: "MODE CON CODEPAGE PREPARE=((<number>) EGA.CPI)" is the first line 
  182. and "MODE CON CODEPAGE SELECT=<number>" is the second one. Each <number> must 
  183. be the same and must be equal to second number in the "COUNTRY" line of the 
  184. CONFIG.SYS file (therefore 850 for France).
  185.   - Finally the instruction to configure your keyboard correctly (e.g. for 
  186. French people it will access AZERTY mode in place of QWERTY). To do this you 
  187. have to write "KEYB FR,,KEYBOARD.SYS" FR that is the country code (for France,
  188. so you have to insert a different code for other languages, or omitting this 
  189. line could work).
  190.  
  191. To make sure all this works, you have to check that all files are on the 
  192. floppy disk (CDROM driver, DISPLAY.SYS, COUNTRY.SYS, MSCDEX.EXE, EGA.CPI, 
  193. KEYB.COM, MODE.COM, KEYBOARD.SYS). This is a minimal generic configuration 
  194. (e.g. you could add mouse by adding a MOUSE.COM or MOUSE.EXE line (depends of 
  195. file name) into AUTOEXEC.BAT file (and checking for the existence of this file
  196. on the floppy). For some countries instead of using KEYBOARD.SYS you may have 
  197. to use KEYBRD2.SYS for certain keyboards). 
  198. For others versions of Windows, or if what is described above does not work, 
  199. search the Windows help files (search for something like "boot disk"). 
  200. You could also use ready-made floppy disk (e.g.: "Bart's bootdisk" at 
  201. http://www.nu2.nu/bootdisk). 
  202. Note: if you have a Windows 9X boot disk, you could use to save a Windows XP 
  203. partition (you have to use at least a Windows 95 OSR2 boot disk if you want to
  204. access a FAT32 partition). 
  205. Once the boot disk is created, copy the savepart.exe on it (use another floppy
  206. disk if there is insufficient free space, or a DOS accessible partition on 
  207. hard drive). Then restart your computer with keeping floppy disk into drive. 
  208. This floppy will boot. Once you have "A:\>" prompt, type <program 
  209. directory>\savepart.exe (where <program directory> is where you put the 
  210. savepart.exe (ex: C:\savepart\savepart.exe)) or change disk if you have 
  211. written it to a separate floppy and run it. 
  212. In case your computer does not boot from the floppy drive but still boots from
  213. the hard disk, you have to change boot sequence in the BIOS (consult BIOS 
  214. documentation to learn how to do this). 
  215.  
  216. Q 11-Why does it take such a long time to create a backup file? 
  217. A- Time required to write an image depends on 4 factors: 
  218.  
  219.   - partition contents.
  220.   - choosing to save only occupied sectors or all sectors.
  221.   - compression level used.
  222.   - whether you write the backup file to a hard-drive other than the one that 
  223. contains the source partition.
  224.  
  225. You also can speed up saving/restoring time by using -nvd and -nvf options. 
  226. But in case your disk begins to be damaged, some errors could be not found and
  227. that will result in a bad save or restoration. 
  228. Note: I get a 30% speed improvment using these options, but it seems it is 
  229. very dependant on motherboard and disk, as some users report me getting a 
  230. great speed improvment (up to 80%) when using these options. 
  231. Regarding the compression level, here are some figures I obtained doing some 
  232. trials (these depend on the computer and partition contents, but they are 
  233. provided to give some idea), a standard figure of 100 has been adopted for 
  234. uncompressed files: 
  235.  
  236.              +-------------+---------------------------+---------+
  237.              | Compression |       Time required       |  File   |
  238.              |             |    VS. CPU speed (MHz)    |         |
  239.              |    level    |  33  |  700 | 1700 | Ave. |  size   |
  240.              +-------------+------+------+------+------+---------+
  241.              |      0      |  100 |  100 |  100 |  100 |  100.00 |
  242.              |      1      |  371 |  127 |   82 |  194 |   54.15 |
  243.              |      2      |  384 |  130 |   83 |  199 |   53.53 |
  244.              |      3      |  419 |  137 |   84 |  213 |   53.06 |
  245.              |      4      |  449 |  142 |   85 |  225 |   52.33 |
  246.              |      5      |  525 |  156 |   88 |  256 |   51.86 |
  247.              |      6      |  644 |  179 |   94 |  306 |   51.64 |
  248.              |      7      |  729 |  194 |   99 |  341 |   51.57 |
  249.              |      8      | 1065 |  255 |  118 |  479 |   51.53 |
  250.              |      9      | 1595 |  348 |  150 |  697 |   51.51 |
  251.              +-------------+------+------+------+------+---------+
  252.  
  253. As you can see the higher the deflating level, the greatest the time required.
  254. Also very little space is gained beyond the first setting (in some rare case 
  255. (not shown here), you can even loose space). So choosing the maximum 
  256. compression level is not the best option (even more for a slow processor). 
  257. Worthy of note is in case where you have a powerful processor, it takes less 
  258. time to compress the data (low level) than to write it uncompressed. 
  259. Remark: restoration time is not really dependent upon compression level 
  260. (disregarding the case of zero compression). 
  261.  
  262. Q 12-I cannot manage to create the backup file on CD. 
  263. A- CD burner manufacturers rarely provide DOS driver for their hardware. So 
  264. you must first save backup files to your hard drive. Then when you boot into 
  265. an OS from where you could burn CDs, you can burn these files to CD. 
  266.  
  267. Q 13-Are files created using a prior version compatible with the current one? 
  268. A- This information is in the changes.txt file. As a general rule, files 
  269. created with an older version can be used by a more recent version. The 
  270. converse is often true, but not in the case of a new type of filesystem. 
  271.  
  272. Q 14-What could be done in case of error? 
  273. A- As a general rule you can contact me by mail 
  274. (damien.guibouret@partition-saving.com) and I will try to answer you as soon 
  275. as possible. I will need all details on what happens (what you want to do, 
  276. what options you choose, ...). Moreover if error message has a "Call tree:" or
  277. "Call frame traceback:" appears, you have to send me following values (at 
  278. least the 10 first). It will allow me to find easily where error occurs. In 
  279. answer, I could ask you more details (as downloading 
  280. diskinfo/partinfo/fileinfo program) or to do some tries to better understand 
  281. what happens. 
  282.  
  283. Q 15-Drive letter seems not to be correct. How could I know which is the 
  284. partition I want to save? 
  285. A- This problem can occur by example when you have NTFS partitions. As DOS is 
  286. not able to recognize them, a drive letter will not be assigned to it and 
  287. those assigned to FAT partitions are shifted. The simplest way to know which 
  288. drive a partition is, is to give to each partition a different name. As this 
  289. name is displayed, you just have to choose the one that has the name of those 
  290. to save. But for FAT partition, partition name could be stored into two 
  291. places, and depending on those that is taken, it could seem to be wrong. In 
  292. the same way if a FAT partition has "NO NAME" as name, it is because it has no
  293. name (and not because it has the name "NO NAME"). In this case, another way to
  294. know which partition to choose, is to look at the size of the partition. 
  295.  
  296. Q 16-When I run program, nothing appears. 
  297. A- This could be a problem with screen display. Try using program with -bui 
  298. option (savepart -bui). If nothing appears again, try -cui option (savepart 
  299. -cui). If there is still nothing on screen, problem is certainly not with 
  300. screen display and so it is better to contact me. 
  301.  
  302. Q 17-What could be done when I get the error message "A sector containing 
  303. parameters for file system could not be read" ? 
  304. A- This message is displayed when program has found incoherency into 
  305. filesystem or when a filesystem sector is damaged. One thing that could be 
  306. done is to try to repair it with corresponding program ("scandisk <drive 
  307. letter>:" for Windows 9x/ME, "chkdsk /f <drive letter>:" for Windows NT/(2000 
  308. ?), "chkdsk /p <drive letter>:" for Windows XP/(2000 ?), "fsck <device name>" 
  309. for Linux). If error is due to a bad sector you have to do surface test to try
  310. to correct it. One it is done, you could try saving partition again. If it 
  311. still does not work and that is not due to a bad sector you could contact me. 
  312.  
  313. Q 18-Could I save my partition on an USB storage device ? 
  314. A- Yes, you can as there was now some USB drivers for DOS. So you can download
  315. one, add it into CONFIG.SYS file and use the newly created drive to write 
  316. saving file on. To find an USB driver for DOS and get more help on it, you can
  317. search on Internet or take a look at 
  318. http://www.stefan2000.com/darkehorse/PC/DOS/Drivers/USB/ (the one I try 
  319. without any problem is the Motto Hairu one, but I did not try the CD-writer 
  320. feature as I do not have an USB one). Please notice that some people get an 
  321. error message telling that file could not be created or written. In this case,
  322. if it is not because file already exists and has read-only flag, you have to 
  323. use the "-nvf" option for program to work. 
  324.  
  325. ------
  326. All trademarks and registered trademarks are ownership of their respective 
  327. holders. 
  328.