How do I install an operating system to a secondary hard drive?

Posted on 2003-02-28
Medium Priority
Last Modified: 2010-04-03
I put in a new 80 GB hard drive in the extra slot in my PC.  It is the new D drive, formatted and partioned as one large drive.  I want to move all files from C to the new drive and install an operating system on D and then switch the drives so that D becomes primary.  Do I have to remove the Windows 98 OS from C if it is secondary?  And can anyone tell me the order of doing these things really simply.  Can I move all my files from C and then swtich the drives in the slots and do a clean install to put the operating system on my D drive?  I have just one OS which is Win 98.  Thank you.
Question by:crayola48
  • 2
  • 2
  • 2
  • +4
LVL 24

Accepted Solution

SunBow earned 340 total points
ID: 8045480
Many ways. OS usually gives you choice of where to install. I suggest not to though. Here's my offering:

1) install all drives in the order you want them to be in the end.

1a) I assume this means old drive becomes slave, new drive the new master, for a primary IDE cable.

2) Install Win98 on new c:. If alreadly fDisk and formatted, that is OK.

3) Install any other apps as desired, such as MS-Office

(this is issue of updating registry, etc.)

4) Copy any files from d: to c: as desired. There's no real need here, I don't think, besides convenience and having a backup. If no copy desired, then you are

5) done

Note: This leaves Win98 on d: but I don't think it'll work well, since its registry will still refer to its parts being on c: while the truth is they are on d:. But this will leave you a contincency, where if 1st drive dies, you can easily replace it with a bootable old drive. Since it takes up space, if you don't care for contingency, you can reformat the d: to maximize space.


>  Do I have to remove the Windows 98 OS


> Can I move all my files from C and then swtich the drives in the slots and do a clean install to put the operating system

if you want to, I suggest it may well end up better if you reverse that, First a clean install of OS and then move the files. But before that, IMO, swap the HW.

Author Comment

ID: 8045799
Thnak you so much!  What an excellent way to word your reply.  You made it sound so much easier than I thought it would be.  
LVL 18

Expert Comment

ID: 8045924
If you want to preserve your current installation under 98 you could:

Install your new drive
Boot with a win98 startup disk
Use Ghost to clone your new drive
Swap jumpers so that new drive is primary

(This ought to work if you don't want to buy Ghost)
Install your new drive
Boot with a win98 startup disk
Partition new drive as D:
Format D: /s
XCOPY c:\*.* d:\*.*
Swap jumpers so that new drive is primary
Use FDISK and mark the new partition Active.

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

LVL 32

Expert Comment

by:Brendt Hess
ID: 8046346
You may also consider using XXCOPY (freeware for personal use, shareware otherwise) to do this move.

XXCOPY is a great little copy utility, with about a thousand command-line switches.  For moving all of the information from one drive to another (including the O/S), you would:

       . connect the new drive as D:
       . FDISK                         (initialize a partition)
       . FORMAT D:                     (init volume for file access)
       . XXCOPY C:\ D:\  /CLONE        (copy all the files)
       . connect the new drive as C:
       . FDISK                         (set active partition)

    When XXCOPY is carrying out the clone operation, you don't have to sit idle.  You may actively use the computer as usual, browsing the Web, operate a word processor, or use a spreadsheet -- whatever.  Just consider the on-going XXCOPY operation a background task.  There may be a few files which may not be copied the first time due to file-access contention.  That is expected and not a serious problem at all.

    Once the first round of XXCOPY /CLONE operation is over, finish your foreground work, and close all active programs.  Then, run the exactly same command again.

           XXCOPY  C:\  D:\  /CLONE

    The key here is that the /CLONE operation behaves as an incremental backup.  It compares the source volume and the destination volume and skips files which already exist in the destination with the same size and time.  The second /CLONE step should take only a few minutes at most.

    You may still observe a few failed copies.  The most notable one in the Win9x system is the virtual memory swap file (WIN386.SWP).  In the case of Win NT4 and Win 2000, the equivalent file is named PAGEFILE.SYS.  It is safe to ignore these swap files.

see http://www.xxcopy.com for more info.  (No, I am not affiliated in any way.  I just like the utility).

Expert Comment

ID: 8046617
When you say that you would like D to become "primary", do you mean it would become Primary in the sense of Slave/Master configuration, or do you mean this would become your default boot drive when you startup your PC?

Expert Comment

ID: 8047205
You can use ms backup already in windows98.
Your d: drive must be set as active from fdisk
Go to start,programs,accessories,system tools,backup
"if there's no backup utility, in control panel| add\remove programs|windows setup|system tools click details and mark backup and click apply".

Restart to safe mode, open backup, set the options on dropdown of utility to under job perform unattended backup and under advanced backup check to backup registry.

Now check the drive box for c: under what to back up,  set to it be backed up to the d: drive under where to backup.

After its backed up do a restore, under restore|options click the box to restore registry,find backup file under restore from and change the where to restore to d: instead of original location.

After completed your disk should be able to boot to win98.

But instead of changing jumpers just yet, see if your bios will allow you to boot to d:, normally in advanced settings, just to make sure everything went well.

I've done it about a dozen times and as long as you follow the correct procedure it will work everytime.

As a madder of fact its worked everytime except when I forgot to set the drive as active "a couple of times.

Also save the backup file so if your os gets corrupted you can restore it.
This restore procedure also works if you install a fresh copy of win98 and want to restore it back, incase some day you have to do a fresh install because of one problem or another or restore only selected files, your choice.

Hope it helps.


Expert Comment

ID: 8047234
Also when you start it, a message will come up no back up tools found would you like to search or something, click no.

Expert Comment

ID: 8047821
Windows 98 system IS NOT ATTACHED TO IT'S LOCATION WITHIN HDD PARTITION. So you wish to preserve your previous OS data just do the following:

1. Make Win98 bootable diskette.
2. Plug your 80 GB hard drive as secondary/slave.
3. Boot from Win98 diskette.
4. Run FDISK and switch (5) to your secondary drive. Partition it. Make the primary partition of your 80 GB drive active. Exit FDISK. Note that in Fat32 it is impossible to create partitions larger that 32 GB. Reboot.
5. Boot from diskette again. Format your newly created partitions. You can see these letters using FDISK. The primary partition of the new drive will become disk D:. The next, type "sys D:" in the command prompt. Drive D: will become system drive. Reboot to your Win98 system.
6. In Win98, go to Explorer. Make it show hidden and system files (View\Folder properties\View\Files and folders\Hidden files\Show all files). I use localized Win98 so actual menu names may slightly differ from that I had written before.
7. In Explorer, copy ALL CONTENTS of the disk C: to D:. Turn off PC.
8. Unplug your old drive. Make your 80 GB drive primary master.
9. After you turn PC if you made previous steps carefully you will boot into your Win98!

I am a system administrator and I often use this trick to upgrade HDD or to backup and restore system data!

Best regards, msa2003

Author Comment

ID: 8047828
The answer I got from Sunbow matched what I needed to know in a logical and easy to understand format, step by step.  Thank you!
LVL 24

Expert Comment

ID: 8329485
                                                               -[Good Fortune]-

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How much do you know about the future of data centers? If you're like 50% of organizations, then it's probably not enough. Read on to get up to speed on this emerging field.
Among the most obnoxious of Exchange errors is error 1216 – Attached Database Mismatch error of the Jet Database Engine. When faced with this error, users may have to suffer from mailbox inaccessibility and in worst situations, permanent data loss.
This video teaches viewers how to encrypt an external drive that requires a password to read and edit the drive. All tasks are done in Disk Utility. Plug in the external drive you wish to encrypt: Make sure all previous data on the drive has been …
This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…
Suggested Courses
Course of the Month3 days, 7 hours left to enroll

601 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question