[Gllug] migrating install to larger hd

Ben Fitzgerald ben_m_f at yahoo.co.uk
Wed Jun 2 10:20:14 UTC 2004


On Wed, Jun 02, 2004 at 11:14:33AM +0100, David Goodwin wrote:
> Ben Fitzgerald wrote:
> >Hi,
> >
> >I've got a hd that's filling up.
> >
> >I have a larger disk I'd like to move my install to.
> >
> >What's the quickest way to get it across and working?
> >
> >Here are my initial thoughts:
> >
> >A basic dd is out due to the disks being diferrent.
> 
> 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.

Hi David,

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

As always, it's a good way to learn! I won't forget that in a hurry.

Cheers,

Ben
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list