PPRuNe Forums - View Single Post - HARD DISK DRIVES - C-D-C-D - yes really!
View Single Post
Old 2nd April 2001 | 00:22
  #13 (permalink)  
Mac the Knife
Guest
 
Posts: n/a
Cool

Hi fellers, hullo spanners

Found this in my pile of useful junk. It works.

HOW TO MOVE YOUR OS

Open «My computer» and record the label (name) of the C: disk if any. Install the new disk in a free place (slave in primary or master or slave in secondary). Set the jumpers of the hard disks for this configuration and update the BIOS settings.

Fdisk & Format /s your new disk with DOS7 (or 7.1 if you have OSR2), from straight "command prompt only" (not from within win95). Then reboot and with win95 running open a DOS window and perform xcopy as follows:
Assuming that the new drive is temporary installed as D:, from the root of D execute: XCOPY32 C*.* /E /K /H /C /R /Y (from the DOS window, you can type "xcopy32/? |more" to see what the switches are about)

Now you can set your new disk as C:. Don't install for the moment the old C: disk. Boot from diskette and make his primary partition "active" with fdisk. Change to «CWINDOWS\COMMAND» directory and execute «label C:». Give the same label as your old disk had. You can now boot as normal from C:
When you will be sure that everything is working properly (It is not bad idea to leave aside the old C: for a couple of days if you can), you can install (if you want) your old disk as second HD. Only that after installing it, boot to «command prompt only» and execute «label D:» to change the old label to a new. (don't let windows see another disk with the same label). The best is to make a new format to this HD at this moment.

Notes: Don't perform xcopy32 from DOS boot. Does not work.
You must have a boot diskette with fdisk.
Before xcopy you must:

1. Clear temporary internet files from the properties of IE3,
2. Delete all ~*.tmp files that have a previous date,
3. Empty recycle bin and
4. Scandisk C: (don't perform scandisk before delete internet temp files)
5. Before perform xcopy, disable all scheduled tasks, active virus checkers, "navboot", screen savers and anything possible that can alter the disk contents during xcopy. After xcopy ensure that the "msdos.sys" of your drive C: has replace the other that format has put in your D:

Don't worry about swapfile. The /c switch above is for continuing copying after the failed attempt to copy swapfile. When boot from the new disk, swapfile will be recreated automatically. Using xcopy from within win95 prevents long filenames and attributes transfer even in directories.

Only for 950 & 950a users:
Xcopy32 could not transfer the attributes of your folders (System, Hidden, Read-only). Special folders are attribute sensitive, so you must restore manually the "fonts" and "briefcase" folders.
>From a DOS window execute:
ATTRIB +S CWINDOWS\FONTS
ATTRIB +R CWINDOWS\DESKTOP\BRIEFCASE
Change your path in the above lines if needed
Fonts folder can be also repaired from TweakUI
The rest of the special folders are self repaired the next time you gone use their services. A repaired folder should begin to looks and acts as normal after the next reboot.

Here is the attributes for the usual windows folders for your reference:
CWINDOWS\FONTS (S)
CWINDOWS\DESKTOP\BRIEFCASE (R)
CRECYCLED (SH) - self repaired
CWINDOWS\HISTORY (R) - self repaired by IE3.01 but not by IE3
CWINDOWS\TEMPORARY INTERNET FILES (R) - self repaired
CWINDOWS\INF, SHELLNEW, SYSBCKUP, SPOOL are hidden folders, but this seems not necessary for their functionality.

PS1: Xcopy32 from 950b (SR2) version transfers the folder attributes, even if used in the older 950 & 950a installations.
PS2: Xcopy is a loader of Xcopy32. It doesn't matter if you call xcopy or xcopy32. It only matters if you call it from within windows or from command prompt only.
PS3: Executing xcopy from a full screen (but from within Windows of course), makes xcopy to perform considerably faster that executing it from a normal window.