On Mon, Dec 29, 2003 at 11:47:18AM -0700, Monique Y. Herman wrote:
> On Mon, 29 Dec 2003 at 12:48 GMT, Kevin Mark penned:
> > Personally I use DD to copy but I know others like cp -a ;-)
>
> I tried to use dd to copy a 2GB hard drive onto a 20GB drive, and the
> system saw the end result as a 2GB, presumably due to filesystem
> metadata. This was ext2. Has this not been a problem for you?
>
> --
> monique
Hi Monque,
Huh?
===| |=
| |
2G |-->|2G
===| |-
|18G
|
|
|
|=
you do not DD a 2 GB ext2 partition to a 20 GB drive and get a 20 GB
ext2 partition. you get a 2GB ext2 partition and an 18 GB unused partition.
So you have to either RESIZE 2->20 or you (for example) fdisk and mkfs
to the 18GB and then move some of the DIR to the new 18gb (for example
/var/ or /home).
YMMV.
-Kev
Attachment:
signature.asc
Description: Digital signature