VOGONS


First post, by Tempest

User metadata
Rank Member
Rank
Member

I have a Windows 98 computer that I need to replace the main hard drive on. Since I have windows configured just the way I want it, I'd like to not have to reinstall it. Is there a way to copy the entire windows directory to my backup drive then restore it to the new hard drive?

--- AtariProtos.com ---
For when excellence and burnished fineries need to gently visit the warmth of your tablery

Reply 1 of 8, by feda

User metadata
Rank Member
Rank
Member

Clone the entire drive with the disk cloning software of your choice and write the image to your new drive.

Reply 2 of 8, by Grzyb

User metadata
Rank l33t
Rank
l33t

You can normally copy the C:\WINDOWS directory, just make sure you're using an LFN-aware utility, and note that you may be unable to copy C:\WINDOWS\WIN386.SWP - but of course, nothing worth preserving in that file.

Kiełbasa smakuje najlepiej, gdy przysmażysz ją laserem!

Reply 3 of 8, by Tempest

User metadata
Rank Member
Rank
Member
feda wrote on 2024-07-12, 02:16:

Clone the entire drive with the disk cloning software of your choice and write the image to your new drive.

I thought about that. Any recommendations on a tool for that that runs on a Mmx 200 pentium?

Last edited by Tempest on 2024-07-12, 03:26. Edited 1 time in total.

--- AtariProtos.com ---
For when excellence and burnished fineries need to gently visit the warmth of your tablery

Reply 4 of 8, by Tempest

User metadata
Rank Member
Rank
Member
Grzyb wrote on 2024-07-12, 02:22:

You can normally copy the C:\WINDOWS directory, just make sure you're using an LFN-aware utility, and note that you may be unable to copy C:\WINDOWS\WIN386.SWP - but of course, nothing worth preserving in that file.

Any suggestion on a tool? Would xcopy work? Can I do it from dos mode or do I need a boot disk?

--- AtariProtos.com ---
For when excellence and burnished fineries need to gently visit the warmth of your tablery

Reply 5 of 8, by wbahnassi

User metadata
Rank Oldbie
Rank
Oldbie

Copying Windows only will preserve those files but leave other stuff (boot, Program Files, and hidden files if you're not careful). Cloning is much more reliable as it preserves everything including file attributes.
I used Norton Ghost before to do such backups. It's intuitive and runs in DOS.. IIRC it's even a booter. Just make sure you have enough space on a different drive than the one you're cloning.

Turbo XT 12MHz, 8-bit VGA, Dual 360K drives
Intel 386 DX-33, Speedstar 24X, SB 1.5, 1x CD
Intel 486 DX2-66, CL5428 VLB, SBPro 2, 2x CD
Intel Pentium 90, Matrox Millenium 2, SB16, 4x CD
HP Z400, Xeon 3.46GHz, YMF-744, Voodoo3, RTX2080Ti

Reply 6 of 8, by Grzyb

User metadata
Rank l33t
Rank
l33t

My preferred procedure would be:
- connect the new HDD as the only one
- boot from diskette
- run FDISK, remove all existing partitions (if any), create the new partition, make sure it's set as active, reboot
- format c: /u
- sys c:
- reboot, and make sure DOS boots from the HDD
- connect the old HDD as the first (Primary Master), and the new HDD as the second (eg. Secondary Master)
- boot Windows from the first HDD
- run FAR (or some other LFN-aware file manager), and simply copy everything from the old HDD to the new one, ignoring the error while copying WIN386.SWP
- disconnect the old HDD, connect the new one as Primary Master, and boot...

Kiełbasa smakuje najlepiej, gdy przysmażysz ją laserem!

Reply 7 of 8, by konc

User metadata
Rank l33t
Rank
l33t
Tempest wrote on 2024-07-12, 03:25:

Would xcopy work? Can I do it from dos mode or do I need a boot disk?

Xcopy is enough, you can just copy the whole drive ignoring anything that fails, for example the swap file. You need to do it from windows though, in a command prompt window and not dos, in order to maintain LFN and have available the extra xcopy parameters that preserve file attributes. Then sys.com the new drive, make sure the partition is active and you're done, it'll boot.

Last edited by konc on 2024-07-12, 11:47. Edited 1 time in total.

Reply 8 of 8, by Harry Potter

User metadata
Rank Oldbie
Rank
Oldbie

If you want, there are some useful utilities at https://dosprograms.info.tt/indexall.htm to support LFNs and USB flash drives. I haven't successfully tried the LFN support, but the USB driver there I use is finicky and requires the flash drive to be plugged into the first available USB port. It also didn't always work for me.

Joseph Rose, a.k.a. Harry Potter
Working magic in the computer community