Today (Saturday) We will make some minor tuning adjustments to MySQL.

You may experience 2 up to 10 seconds "glitch time" when we restart MySQL. We expect to make these adjustments around 1AM Eastern Daylight Saving Time (EDT) US.


Putting an old hd in a new computer


Login or Register to Reply

 
Thread Tools Search this Thread
# 1  
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  
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  
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  
In addition to the above, you should also check the CMOS settings to make sure that the disk geometry matches the old computer.
# 5  
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:
# 6  
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  
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 or Register to Reply

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

More UNIX and Linux Forum Topics You Might Find Helpful
Other way aside from putting more PIPES (|)
kenshinhimura
I already manage to get the output that i want.. but wat if removing all the pipes and convert it 1 liner with less pipes. My command below can get the ouput that i want. i just want to remove the pipes or less pipes. #cat file1 us-west-2a running i-3397a421...... Shell Programming and Scripting
2
Shell Programming and Scripting
Putting $$ before filename
Pratik4891
Hello , I am searching a directory for a file and have to assign the filename to a variable . The variable must have form $$filename So my code is echo "'$$filename='`ls -lrt *PreMatch*.csv| head -1 | nawk '{print $9}'`" however $$ is converting to a number . How could I make it $$...... UNIX for Dummies Questions & Answers
3
UNIX for Dummies Questions & Answers
putting two images together
kylle345
Hi, I generated many figures in .png format (approximately 120). Right now I need to pair the figures on a single page so that the files with the same file name (i.e. jack) that end with .matrix.png are placed on the left and .cdt.png is on the right (so jack.matrix.png with jack.cdt.png...... Shell Programming and Scripting
6
Shell Programming and Scripting
Need help putting output on one line
brianjb
Good afternoon, I have been searching the web, and these forums for help. I will try my best to explain the issue, and what my desired results are. I am doing queries in MYSQL, and need the output to be sent to a file. That file needs to have things with the same ID on the same line. To...... Shell Programming and Scripting
14
Shell Programming and Scripting
Putting pC on network
Rush
How do I put a my PC with linux 7.0 on a class B network. Can someone give me info or text that will guide me?... UNIX for Dummies Questions & Answers
1
UNIX for Dummies Questions & Answers

Featured Tech Videos