Fredledingue, on 10 May 2012 - 03:07 PM, said:
I added (I'm the author of this "important notice") the most basic way to do it, for poeple who have no time looking around on the internet for the best cloning solution still compatible with w9x.
I wrote about that just so that poeple can't complain afterward that we let them in the blue about vague mention of back ups without giving a clue about how to do it.
Regarding the current backup issue, i appreciate your work on documenting/pre-troubleshooting uSP installation on your web page.
However, i have misgivings about one line:
"Restoring windows 98 can be done simply be recopying all the system files back to their original location, in dos mode."
The DOS internal COPY command should *not* be used for this! Some of the Windows system files or folders (perhaps installed by non-Ms programs) might have long names. Copying with the DOS COPY command will rename the copies to short names. This could make the restored system (at least partly) non-functional.
I have successfully backed up Windows many times in pure DOS (*not* in a DOS window) using either of two free methods... neither of which is what i would call "simple":
1) Using Odi's DOS Tools For Long Filenames, which contains the LCOPY.EXE and LDEL.EXE programs. (You don't need a LFN driver with this method, and the case of switches is not important.)
To store, go to the target directory and do:
lcopy /a /s c:\windows\*
"/A" includes files with system and/or hidden attributes also, "/S" recurses through subdirectories, and "*" makes sure every file from the source is copied, whether they have an extension or not. Make sure the target directory is empty before you do the copy.
To restore, go to C:\Windows\ and use:
ldel /a /s /f c:*
"/F" deletes folders too. Then do:
lcopy /a /s d:\path\*
where "d:\path\" is the drive and path to your backup.
2) Alternatively, first run a memory-resident LFN driver (Jason Hood's DOSLFN is an up-to-date driver), and then use a LFN-aware archiver/unarchiver. I've found that PKZip crashes with large numbers of files/directories, so the Info-Zip 32-bit archiver is my choice.
To store, start by installing the LFN driver. Then go to the target directory and do (the case of switches *is* important):
zip32 /r /S -9 zipfile c:\windows\*
"/r" recurses through subdirectories, "/S" includes files with system and/or hidden attributes, "-9" gives maximum compression (but is slower), "zipfile" is substituted with the name you want to give the created zip file, and "*" makes sure all files from the source are included, whether they have an extension or not. Make sure to choose a non-existant "zipfile" name.
To restore, first make sure a LFN driver is installed. Then go to C:\Windows and delete all folders and files however you want to (LDEL.EXE as mentioned above is good, but there are other methods -- just make sure all files in and under C:\Windows\ are gone). Then do:
where "zipfile" is substituted with the name of the archive file you want to restore, and "d:\path\: is where you stored it.
These are the simpl*est*, free methods i can think of. The advantage of method 1 is that it is simpl*er* and quicker, but the backup is uncompressed and takes up more disk space. Method 2 is more complex and slower, but the backup files require less room.
And yes... perhaps these posts could be moved to a different thread?
- Doug B.