How To Move Linux to a New Hard Drive

Filed under

t's been a busy week for me. It's been one of those weeks where all the machines in the house gang up on me and demand attention at once. One of the computers ran out of hard drive space. So I had a bigger hard drive with four times the disk space handy, and swapped them. The steps:

1. You'll need to connect the new drive onto the IDE cable. Most IDE cables have two plugs for hard drives. The headache comes with determining which drive is a master and which a slave, so the computer knows which one to boot to. No two hard drive manufacturers have the same standard for setting those tiny little jumper pins on the unit, so you'll have to read whatever diagram they have and fiddle with tweezers moving them around and such.

Also, most PCs allow you to select boot order from the BIOS, or with what order you go by on the cables. Our troubles begin when we have a drive with the pins in the wrong place and a BIOS that disagrees with it. You'll know that you have it all straightened out when you have your original drive as "/dev/hda" and your new drive as "/dev/hdb". Start it up and test for this, then shut it back down.

2. Disconnect the original drive

More Here