Re: Replacing a HD
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sun, 08 Apr 2007 17:45:11 +0200
Matus UHLAR - fantomas <uhlar@fantomas.sk> wrote:
> 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...
At the time I paritioned the drive it had one parition on it already
and as I recall ( I may be wrong here ) using an extended partition
was the only way to create the second.
>
> > 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
I agree, the second swap came about as a way to use up extra hd
space :)
>
> > 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.
I have had suggestions ranging from dd to pcopy and even rsync on
mounted drives. Still not sure the way to go. But thanks to all for the
suggestions.
Cheers
Frank
- --
Change the world one loan at a time - visit Kiva.org to find out how
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFGGRIwzWG7ldLG6fIRAnYoAJ0dCYMEsi1ZA6fiCym4J3Nn1eQgZACdH82t
lXLPdc3JxjC5jlW6zBomfa8=
=U5Ae
-----END PGP SIGNATURE-----
Reply to: