[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Transplanting old System to New Drive

On Mon, Aug 15, 2011 at 06:12:24PM +0700, Ivan Shmakov wrote:
> >>>>> Martin McCormick <martin@x.it.okstate.edu> writes:
> >>>>> Ivan Shmakov writes:
>  >> It's possible to dd(1) just the filesystem (partition) instead of
>  >> the whole disk.
>  >> Moreover, the filesystem can be downsized prior to that with
>  >> resize2fs(8), thus the destination partition may be smaller than the
>  >> source one.
>  > What if the destination is larger which is the case, here?
> 	If the destination partition is larger than the source one, use
> 	resize2fs(8) after dd(1) on the destination partition — it'll
> 	make the additional space available to the filesystem.
I think you need to use fdisk or something similar to enlarge the
partition first.  Then resize the filesystem.


Reply to: