Thread: system moved
View Single Post

   
  #7 (permalink)  
Old 02-19-2008, 12:04 PM
Neil Koozer
 
Posts: n/a
Default Re: system moved

~SCRØØGE~ wrote:

> i moved sys from hda1(5gb) to hdb1(60gb) but "df" report always the old
> hd space (5gb)! anyone know how to fix?
> thanx!


It sounds like you somehow copied the raw device instead of the files. The
way I usually do it is...

(1) boot up an installation cd
(2) partition target drive
(3) make filesystem on destination drive
(4) mount both the source & destination partitions
let's say the mount points are /1 and /2
(5) cp -a /1/* /2
(6) fix /etc/fstab on the new copy

I prefer that the source partition is not the system running because some
things change dynamically while it is running.

Neil
Reply With Quote