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

Re: Replacing a HD



On 07.04.07 17:40, 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

hda5 is only one partition in hda4, which is an extended partition.
This is quite useless, I would set up hda4 directly and avoid using extended
partition...

> My system boots from hda3 using grub. hda1 and hda5 are swap partitions.

but two swap partitions are useless, so 3 partitions will be enough for you

> 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.

yes, do it. Simply create partitions, configure filresystems on them and
copy data using dump or tar... the only problem might be setting up boot
from new drive. I use hacks like setting up 'disk=' and 'bios=' in
lilo.conf. 
-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
   One OS to rule them all, One OS to find them, 
One OS to bring them all and into darkness bind them 



Reply to: