Re: Moving Home

From: CWO4 Dave Mann (misterfixit_at_loveable.com)
Date: 09/07/05


Date: Tue, 06 Sep 2005 19:38:51 -0500

On Tue, 06 Sep 2005 16:53:49 -0700, Kenneth wrote:

> <snip>
>
>> So, let's review:
>>
>> 1. Renamed /home to /old_home (folder on hdb1)
>> 2. Made a folder on hdb1 called /home
>> 3. cp -a {everything} from /old_home to /home
>> 4. Made folder /mnt/home (also old folder /mnt/storage remained)
>> 5. Changed fstab to show /dev/hdb1 ----> /mnt/home
>> 6. Logged out and logged back in
>> 7. On splash screen received error message that /home/dave could'nt be
>> found.
>> 8. Went to console and did a mount, found both hda and hdb mounted ok
>> 9. Changed to mnt/home and found the contents of hdb1
>> 10. Changed to /mnt/storage and found nothing - showing that hdb1 was
>> mounted properly as /mnt/home
>> 11. Tinkered around with LABEL= stuff
>> 12. Edited fstab and changed back to original
>> 13. Rebooted
>> 14. Logged in as root on root x window and used super user folder gui to
>> rename /old_home to /home; then went to hdb1 and renamed /home to
>> /new_home
>> 15. Logged out and logged back in as dave with x window gui
>> 16. Here I am.
>>
>
> I think you lost your way about step one... how about
>
> *** IF /home was a separate partition ***
> 1. unmount /home if its mounted.
> 2. mount that partition on /mnt/home or some other temporary mount point.
> 3. mount hdb1 on /home
> 4. cp -a /mnt/home/* /home
> 5. Fix fstab so /dev/hdb1 -> /home
>
> *** OR if /home was not a separate partition ***
> mv /home /oldhome
> mkdir /home
> mount hdb1 on /home
> cp -a /oldhome /home
>
> If I read your steps right, you left yourself with no /home at all.

Danged if you aren't right! At first I sure felt like finding me a nice
warm bottle of Mad Dog 20/20 in a paper sack and heading over to the gully
underneath the Shelby Street Bridge here in Nashville .. Homeless indeed.

Yes, I have learned a lot form this exercise. I think the biggest lesson
is that no matter how hard I tired to fsck things up, I am back with my
original files and data. Now, what does this rm ./* thingie do?

Thanks for hanging in there with me and the tips!

Cheers,

Dave



Relevant Pages

  • Re: [VEN] AIX EN PROVENCE (FR 13090) APPARTEMENT
    ... root. ... To be injured or entitled will insist eager standards to ... Dave, still drinking, links almost ok, as the ...
    (rec.music.christian)
  • Re: Cannot find ZF561407.CAB
    ... >Hi, Dave, ... >This file should be located on the root of the Office ... >Did you recently do a system restore? ... >> it looks like I would not be able to reinstall. ...
    (microsoft.public.officeupdate)
  • Re: Moving Home
    ... Logged in as root on root x window and used super user folder gui to ... Logged out and logged back in as dave with x window gui ... That was my poor advice. ... Apologies CWO4 Dave Mann I should have ...
    (comp.os.linux.misc)
  • RE: Connection Timeout only on certain websites
    ... Our external Interface is 192.168.1.10 Could this be at the root of the ... > - Dave ... >> 2 Nics, External router on external nic, All clients working properly with ... >> All that is returned is a proxy error message window, ...
    (microsoft.public.windows.server.sbs)
  • Re: Does anyone know how to tweak Custom Auto Filter box?
    ... If I want to filter a field so that it contains "root", ... want the Custom Auto Filter dialog box to start with the option ... Dave Peterson ...
    (microsoft.public.excel.newusers)