moving /home

Jeff Vian jvian10 at charter.net
Mon Dec 5 06:57:18 UTC 2005


On Mon, 2005-12-05 at 09:15 +0530, Anil Kumar Sharma wrote:
> Hello CJ,
> After my last post I had to dash to bed - it was getting close to
> early morning Monday!
> I think I spelled correctly about shifting your files. But I am afraid
> U shifted them to the root of /dev/sda1 rather then than
> to /dev/sda1/home.

He does NOT want them at /dev/sda1/home, but does want them at the root
of /dev/sda1
/dev/sda1 will be mounted at /home so the current contents of /home MUST
be at the root of /dev/sda1


>  
> Two solutions now 
>  
> 1. Please move your files to proper place and U will have normalcy
> restored on reboot. This U can do by booting as root and shifting
> files to proper place. recheck correctness - u know what is correct -
> reboot as user.
>  
> 2. Nothing is lost if U did as I requested U to. If U have your
> old /home  files and /etc/fstab.bak.
> # cp /etc/fstab /etc/fstab.new    !save your new fstab
> # cp /etc/fstab.bak /etc/fstab     ! restore old backup version
> # reboot
> # mount -t ext3 /dev/sda1 /mnt/my80gigHOME
> # ls /mnt/my80gigHOME   ! if U see only /home u are really there 
>      ! or if U see all your files in this place, ur cp was incorrect
> # ls /mnt/my80gigHOME/home   ! this is ur final aim to see everything
> here,
>       ! shift every thing from /mnt/my80gigHOME
> (except /mnt/my80gigHOME /home) to up here /mnt/my80gigHOME/home this
> is difficult for me in text mode but a kiss in GUI. please be
> carefull.
> ! check place of files once again - say OK to yourself truly.
> # cp /etc/fstab.new /etc/fstab.    !renew your fstab
> # reboot
>  
> PS: sorry I am not replying to your actions on -> cp -pr   ;  cp
> -prv   ; cp -av  etc.... presuming it gets covered in solution
> suggested. In any case if U have old /home files intact, then U can
> clean the mess, and  "redo" whole thing correctly and u know how...
>              
> -- 
> Anil Kumar Shrama 
> -- 
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list




More information about the users mailing list