Re: Replacing hda - Easiest Way?
On Aug 4, 2008, at 6:39 PM, Scarletdown wrote:
On Mon, 2008-08-04 at 16:33 -0400, Rick Thomas wrote:
If you can leave the old disk in the box for a while, start by
installing the new drive as hdb, partition it and mkfs the
filesystems -- all while booted to the old drive. Set up a bunch of
mount-points for the new partitions, e.g.:
...you get the idea...
Then boot single user to the old drive, mount the new drive
partitions and use rsync to copy the contents of the various
partitions to the new drive. Then install grub however you like on
hdb. Since eventually you will want to get rid of the old disk and
install the new one as hda, you may have to fiddle with things like /
etc/fstab and the grub menu.lst file, but that should be pretty
Thanks for the tips. Should be useful for this upcoming project.
has been a slight change of plans though. The drive I bought is
instead of EIDE. The sales rep at Circuit City convinced me to
SATA for the speed, so I went next door to Office Depot and shelled
a little under $100 for a 500GB Maxtor SATA drive. :)
So that being the case, I am guessing that the SATA drive will show up
in /dev as something other than hdd (hda is the current primary
is the secondary (which will then become the primary after this is all
over), and hdc is the DVD-RW. So, before I power down and install the
new drive, can anyone give me an idea of what type of device this will
Also, the MaxBlast CD that came with the drive says that there is a
cloning utility as well. Hopefully, this will work with ext3
and will copy the GRUB stuff over as well. (crossing fingers...)
Now that I am thinking about this more, perhaps I should go ahead and
clone hdb (where /home, /shared, and /workspace are at) then make the
old hdb, which is 200GB, the new boot drive.
Unless your motherboard has SATA onboard, you'll need a SATA PCI
In any case, your SATA drive will probably show up as /dev/sda .