[Gllug] migrating install to larger hd
Pete Ryland
pdr at createservices.com
Wed Jun 2 10:52:23 UTC 2004
On Wed, Jun 02, 2004 at 11:20:14AM +0100, Ben Fitzgerald wrote:
> On Wed, Jun 02, 2004 at 11:14:33AM +0100, David Goodwin wrote:
> > I think a "dd if=/dev/$olddisk of=/dev/$newdisk" would work...
> >
> > As long as $newdisk is larger than $olddisk.
> >
> > Then, any room on the $newdisk not used could to be added to the last
> > partition, which could then be resized using e.g. resize_reiserfs.
> >
> > This wouldn't let you change over to using LVM as the raw data is
> > probably quite different.
>
> I thought that too, but found out to my irritation(!) that this doesn't
> work if the disk geometry is different (I'm assuming this was the problem).
> I ended up with a partition table that had the first three partitions
> (though only the first was mountable). The extended partition showed up
> as corrupted. :(
Try doing the dd just on the individual partitions rather than the whole
disk.
Pete
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list