On Wed, May 26, 2010 at 8:39 AM, Faisal Fiza <[email protected]> wrote:
> Hi,
>  Im using Debian Lenny 5.0.3. Now my home directory is located on a separate
> partition(/dev/sda9).
> I want to install Kubuntu 10.04 on /dev/sda9 , so have to change the Debian
> lenny home directory to its own root partition. Could you help me!
>

login as root in Lenny

then type these commands

#umount /home
#mkdir /mnt/home
#mount /dev/sda9 /mnt/home

and see if all the files are there in /mnt/home

if things are right type

#rsync -av /mnt/home /home

or if you dont have rsync you can also use

#cp -r /mnt/home /home

# cp /etc/fstab /root/fstab.old

now comment out or remove the line from /etc/fstab that has  '/home' in it.

reboot and login as root and type

#mount

you should not find any partitions mounted as /home

now go and see if all the files are there in /home.

Enjoy Kubuntu ;-)

**You can do without reboot if you know what you are doing and are
careful but I guess it is safe for you to follow the reboot step so
you are sure***

--Siju

_______________________________________________
Indian Libre User Group Cochin Mailing List
http://www.ilug-cochin.org/mailing-list/
http://mail.ilug-cochin.org/mailman/listinfo/mailinglist_ilug-cochin.org
#[email protected]

Reply via email to