[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Replacing a HD



Frank McCormick wrote:
> 
> I am planning to replace my 30 gig HD with a bigger drive. At the moment
> this is the way hda is setup:
> 
> ~     ---Starting---      ----Ending----    Start     Number of
> ~ # Flags Head Sect Cyl   ID  Head Sect Cyl     Sector    Sectors
> -- ----- ---- ---- ---- ---- ---- ---- ---- ----------- -----------
> ~ 1  0x00    1    1    0 0x82   14   63  416          63      394002
> ~ 2  0x00    0    1  417 0x83   14   63 1023      394065    31444875
> ~ 3  0x80   14   63 1023 0x83   14   63 1023    31838940    25597215
> ~ 4  0x00   14   63 1023 0x05   14   63 1023    57436155     1163295
> ~ 5  0x00   14   63 1023 0x82   14   63 1023          63     1163232
> 
> 
> 
> 
> My system boots from hda3 using grub. hda1 and hda5 are swap partitions.
> 
> Whats the best way to get an exact copy of my two Linux systems onto the
> new drive? I am not so concerned with the two swap partitions, as I can
> create merge them into one on the new HD later.
> 

You can clone your HDD using Pcopy (or Ddrescue, although I have not tried
this). First, copy the partition table using Cfdisk. Details at
http://newbiedoc.berlios.de/wiki/Cloning_a_hard_disc .

-- 
Chris.



Reply to: