Thank you all for your answers, i'm learning a lot with all guys and I
appreciate a lot. I used the method suggested by Ed and let me say it
works just great!!!

With guys like you even a newbie like me can do anything in linux... For
those who want to know, I'm installing different distros in my laptop
and as I can't share the same home for every distro I prefer each distro
has its own home within its own partition and add a soft link to other
partition where my data is stored... just that....

Thanks again,

Ed Harrison wrote:
> James Knott wrote:
>   
>> Carlos E. R. wrote:
>>   
>>     
>>> The Monday 2007-06-18 at 07:13 +0200, Jon Clausen wrote:
>>>
>>>     
>>>       
>>>> cp -a /mnt/* /home/
>>>>       
>>>>         
>>> I prefer rsync:
>>>
>>> rsync -av /mnt/ /home/
>>>
>>> It maintains stamps. It can be halted and restarted without copying what
>>> already exists.
>>>
>>>     
>>>       
>> I thought "cp -a" preserved time stamps.  Take a look at the -p option,
>> which -a includes.
>>
>>   
>>     
> Try this.  I have used it for years.
>
> Log out of X
> Change to a tty CTL-ALT-F2
> Log In as root
> init 3
> cd /
> mkdir home1
> cd home
> find ./* -xdev | cpio -pdmv /home1/
> umount /home
> cd /
> rmdir /home (it is now an empty directory)
> mv /home1 /home
> edit /etc/fstab to remove mounting of /dev/xxx to /home.
> init 5
>
> You should be up and running.
>
> Ed Harrison
>   
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to