On Mon, 20 May 2013 02:57:21 +1000,
Dani...@teranews.com wrote:
> Later today I will (hopefully) be installing MG3 on this computer, into
> the partition that I currently have MG2 in, but before doing that, I
> want to back up my 500GB HD on to a 250Gb spare drive, so I need to
> reduce my /home from its current 310GB to about 50GB. There is at least
> that much space empty on the HD, so that is no problem!! My problem is
> how do I actually achieve the srinkidge!!
Create/format/label whatever partition(s) you like on target drive,
mount partitions and use rsync to copy files. Example click up a terminal
su - root
mkdir /target
mount -t auto /dev/XdYZ /target
rsync -aAvx --delete /home/ /target
umount /target
exit
exit
for /dev/XdYZ (you solve for X [h,s], Y [a,b,c], Z [1,2,3])
If there are problems rsync will abort and give you a reason why.
> I had thought that on the MD2009 DVD, I was able to change the size of a
> partition, but when I tried it tonight, I was unable to determine how. I
> then booted into MD2009 + KDE and tried reducing the size of /home in
> MCC, but as the /home was in use then, I was not able to unmount it or
> change its size.
Yep, you have to umount it.
>
> So I'm guessing I need to boot to run level 3 or something (which I've
> never done), i.e. before /home is mounted, but how do I do that??
Or something. :)
If you were to boot run level 3 and log in. That would still log you
in /home/daniel :(
You would have to log in as root and if /home is on another besides /
then you could re-size it.
My recommendation to for you is to use a rescue cd for that kind of
work unless you can umount the partition and still work in the gui
mode.
I use
http://sourceforge.net/projects/gparted/ as my rescue cd.