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

Re: Transplanting old System to New Drive



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

 > Thanks for all the additional information.

-- 
FSF associate member #7257


Reply to: