View Single Post

  #2  
Old 07-15-2008, 06:31 AM
Default Re: Clone IDE drive to new Larger SATA drive

JR the Postman wrote:
> I need to clone older IDE drive to new SATA drive with a dual booting O/S
> systems:
>
> Windows XP & Mepis 7 64-bit Linux... Using grub (Will this need to be
> edited to find Windows and the Linux distro?)
>
> I understand I can boot a live CD and then use the dd command to clone
> the 80 gig IDE drive attached as a sdc1 to the Larger 320 gig SATA drive
> sda0... If I set bios to use Sata hard drive only, the slave position on
> the CD drive cable will still be available...
>
> I do not want to image, I only want to clone the existing 80 gig to to
> the new SATA drive. Will I need to prepare the new SATA drive as a boot
> drive, with the partitions or is the dd command the entire solution and
> will do everything?
>
> The 80 gig IDE drive is installed in a motherboard that provides support
> for both IDE and SATA - ECS ASterope3/RC410
>
> I am not certain about windows, will I need to reactivate with the hard
> drive change, will that be a problem? Or, a phone call to reactivate
> after a booting with the SATA drive...
>
> JR


I hint that you will use high-level copying. Load from a livecd. Create
as much, as many the amount of the partitions at the new hdd and mount
them and the partitions of the old hdd.

After these operations new hdd will contain workable system. Then, using
the program chroot, you will fix up a loader. I don't about the grub,
but I always so make. My loader is the lilo.
Please, It will note, that new root partition must contain the folders
/bin, the /usr and the /etc. Other partitions would mount after.

exmaple:
$chroot /tmp
$vi /etc/lilo # edit the boot table
$lilo # apply the changes
$exit
$reboot

Before the chroot umount those partitions which you will be to mount in
the new system, just in case.

Daneel
Reply With Quote