Putting an old hd in a new computer

Tags
ata, boot process, efi, ide, sata

Login to Reply

 
Thread Tools Search this Thread
# 1  
Old 10-08-2018
Putting an old hd in a new computer

What are the steps you need to take when you put an old HD in a new computer? I just did this. Every time it makes it to the windows boot screen then restarts. I have a bunch of old engineering software that is not compatible with the newer versions of windows. I figured this out after I bought a new computer and tried to add the software to a newer version of windows. So I figured I could just swap the HD's. This does not seem to be working either. Is there some way to set the new HD as a master and the old drive as a slave and boot that way maybe?
# 2  
Old 10-08-2018
This really depends of your windows version.
Newer version tend to work, older need additional steps, as far as my windows memory serves me.

What is the windows on the HD, was that only HD in that old computer ?
Are you using windows bootloader or other (grub, lilo etc.) ?

Regards
Peasant.
# 3  
Old 10-08-2018
You ask about master and slave settings so are these drives ATA??

If so, you should be able to set one to "master and slave present" and the other as "slave" PROVIDED the machine doesn't use 'cable select' which means a drive master/slave is determined by the cable that it is connected to. In that case, the drive jumpers should also be set to 'cable select' Jumper diagrams are normally found on the HD casing.
# 4  
Old 10-08-2018
In addition to the above, you should also check the CMOS settings to make sure that the disk geometry matches the old computer.
# 5  
Old 10-08-2018
Quote:
Originally Posted by cokedude
So I figured I could just swap the HD's. This does not seem to be working either. Is there some way to set the new HD as a master and the old drive as a slave and boot that way maybe?
I assume you have a "standard" PC you are talking about here The following may not be applicable if it is some outlandish hardware:

Let us talk about ATA first: historically disks were attached to computers via a universal system for block-oriented devices (disks, but also tape drives, optical drives, ...) called SCSI (Small Computer System Interface). This was an elegant system which connected up to 7 (later 15) devices via a single controller to a system. Alas, this system was relatively expensive and therefore the first PCs got a cheap alternative: ST-506 interface, developed by Seagate Technologies. It was clumsy, slow and only alled for 2 devices per controller. Over time (and RLL, ESDI, and other abominations), it turned out that it would be easy to move the controller completely into the drive so that only a very basic host adapter remained as controller. IDE (Integrated Disk Electronics) was born. It allowed for 2 devices attached per channel because it had a special line (connector 24) for "drive select": if the line went to "high", device 1 was addressed, if it was low device 0 was recipient of what went on on the bus. This is why you needed to set "master" and "slave" at the drives when you installed them: it told them which form of drive-select-signal they should listen to. Finally came SATA: ATA (AT-Attachment) was originally used to connect floppy drives and CDs (ATAPI, ATA packet interchange) and it evolved from the IDE standard. 2003 the new SATA (Serial ATA) standard was introduced, which made the orginally parallel bus now serial. SATA disks do not need a drive selection any more, who is primary (usually the device with the lowest port number) and who is secondary is selected by the controller at start and then set electronically. Change this by setting the boot orer in the BIOS (see below).

Then you have to understand the boot process: When the computer starts the program called BIOS takes over and organises the hardware. It also has a boot list (a list of devices it tries to boot from), which is stored in a small amount of non-volatile memory. Go to your BIOS and you will probably find a list of your attached disks and their priority in this boot process. Notice that some vendors (especially notebook vendors) make sure you cannot access this part by castrating the BIOS. This is done for "security reasons": it secures the manufacturers profits by making sure you have to buy a new system instead of doing with your old one what you want to do.

Lets say a some (harddisk-) device was selected (there are other processes for booting from a network card, etc,): the BIOS then reads a fixed special part of this disk, the so-called MBR (Master Boot Record), which is part of the partition table. In this place there is a pointer (basically a disk address) to a program, which gets in turn loaded: this is the so-called boot loader. Control is now passed from BIOS to this boot loader. This small program then loads the OS itself and starts it.

Windows has a very limited boot loader, but several alternatives exist, which can usually Windows as well as other operating systems: there is i.e. LILO (the "Linux Loader", which is deprecated nowdays) and of course GRUB (GRand Unified Bootloader), which is standard today for most Linux distributions. There are perhaps many more. Most if not all of these boot loaders per default do their work without "saying anything publicly", but can be configured to present a selection menu with various alternative OSes to boot.

So far, so easy. A few years back now Micro$oft noticed that some people used their systems to run Linux instead of Windows and this of course could not be tolerated. So they invented UEFI (Unified Extensible Firmware Interface) as "more secure" alternative to booting. EFI had the immense advantage that the BIOS only booted OSes now that had a certain key and the only OS that had such a key was Windows (for the meaning of "security" see above). If you want to retain the "secure boot" (which is perhaps what your BIOS is set to) you will have to change the EFI system partition to boot both versions of Windows. Each version has its own key and both keys have to be put there to be able to boot from. In addition you will have to find out how to configure the Windows boot manager - i have no Windoze and don't know.

You could also disable the "secure boot" so that the boot process works like i described above. You could also isntall and configure GRUB, there are lots of step-by-step description of that in the net, for instance here.

I hope this helps.

bakunin

I hope this helps.
These 2 Users Gave Thanks to bakunin For This Post:
Don Cragun (10-11-2018), hicksd8 (10-09-2018)
# 6  
Old 10-09-2018
Bakunin makes an extremely valid point there. If your new hardware has the "latest features" you should set the boot parameters to 'BIOS' and not 'EFI', and/or "secure boot" should be disabled.
# 7  
Old 10-09-2018
The boot is probably failing because you have incompatible device drivers on the hd. Here is some reading material from Microsoft https://support.microsoft.com/en-ca/...%20motherboard
you will probably have better success creating a VM,
Login to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Similar Threads More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to strip some characters before putting in array? ken6503 Shell Programming and Scripting 10 01-14-2015 04:22 PM
Other way aside from putting more PIPES (|) kenshinhimura Shell Programming and Scripting 2 09-22-2014 11:03 AM
Putting $$ before filename Pratik4891 UNIX for Dummies Questions & Answers 3 02-20-2014 11:34 AM
Putting mysql column value in variable juve11 Shell Programming and Scripting 2 06-03-2013 04:23 AM
putting two images together kylle345 Shell Programming and Scripting 6 07-18-2012 11:04 PM
Need help putting output on one line brianjb Shell Programming and Scripting 14 04-29-2012 05:21 PM
putting numbers behind eachother metal005 Programming 7 09-19-2011 01:19 PM
putting Linux on an old windows PC Patriots12 UNIX for Dummies Questions & Answers 2 06-29-2011 10:30 PM
Putting a character between two other characters? Ilja Shell Programming and Scripting 4 02-02-2009 07:49 AM
Putting dependency among cron jobs mohapatra Shell Programming and Scripting 3 10-31-2007 11:51 AM
Putting Wallpaper on the Desktop pireifej UNIX for Dummies Questions & Answers 3 06-13-2006 10:42 AM
putting a solaris box on my network possuman72 Solaris 15 06-24-2005 11:05 PM
putting a timestamp in a file rocker40 UNIX for Dummies Questions & Answers 2 10-22-2003 12:56 PM
Putting breakpoint on core jyotipg Programming 0 06-17-2003 07:09 AM
Putting pC on network Rush UNIX for Dummies Questions & Answers 1 11-22-2002 04:33 PM
All times are GMT -4. The time now is 08:01 AM.

Unix & Linux Forums Content Copyright 1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password





Not a Forum Member?
Forgot Password?