[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: chroot: wiped my home directory



Jonathan Kaye <jdkaye10@yahoo.es> writes:

> Actually this has turned out to be a disaster. I bind-mounted my
> 32bit home directory, which was also mounted normally. Both these
> mounts were in the fstab file. I chrooted from the 64bit system and
> su - mylogin name and set the display. I tried running openoffice
> and wonder of wonders it opened!  The one thing that was strange was
> it acted as if my 32bit home directory was empty (gave my the
> running for the first time routine). Hmm. Well the result of all
> this was that my 32bit home directory was wiped clean. Dead!  Gone
> forever! Damned inconvenient that. Suicide became a serious option
> but

Is it empty where it is directly mounted, too?  Make sure you
bind-mount your home _after_ it is mounted in its original location.
Otherwise you bind-mount the empty mount point.

I bind-mount /home and other directories, too.  And I did not yet have
any problem with that.

Matthias



Reply to: