D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] transferring a disk structure to another, bigger one



On Sat, Oct 18, 2003 at 11:20:18PM +0000, Adrian Midgley wrote:
> Having used dd to copy all the contents of /dev/hda to a new /dev/hdb
> 
> how do I persuade the new drive that it is much bigger?

With quite a bit of messing around, especially if the two drives have
different CHS geometries.

> This is part of a large upgrade, and if driven to it I'll just start from 
> scratch, but then I have to transfer ownership of files and IDs and so on.

A far better command would be "cp -a". After first making the
appropriate filesystem(s) on the new HDD.

--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.


Lynx friendly