Thread: system moved
View Single Post

   
  #2 (permalink)  
Old 02-19-2008, 12:04 PM
David
 
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!


How did you move it, "dd" or "cp"?

Try it like this.

First partition and format the 60GB drive.

cd /
mkdir /new
mount /dev/hdb1 /new

DON"T copy /proc or /new
cp -ax bin boot dev etc ... /new/
mkdir /new/proc

If you are going to use the drive from a different device
(hdb,hdc,...) then you will need to edit /etc/fstab and change
the devices used to mount the partitions.

--
Confucius: He who play in root, eventually kill tree.
Registered with The Linux Counter. http://counter.li.org/
Slackware 9.1.0 Kernel 2.4.26 SMP i686 (GCC) 3.3.3
Uptime:7 days, 11:29, 1 user, load average: 1.12, 1.04, 1.01
Reply With Quote