Re: Moving Home
From: CWO4 Dave Mann (misterfixit_at_loveable.com)
Date: 09/07/05
- Next message: Unruh: "Re: Can't get beep to work"
- Previous message: Moe Trin: "Re: Can't get beep to work"
- In reply to: Kenneth: "Re: Moving Home"
- Next in thread: chris: "Re: Moving Home"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Unruh: "Re: Can't get beep to work"
- Previous message: Moe Trin: "Re: Can't get beep to work"
- In reply to: Kenneth: "Re: Moving Home"
- Next in thread: chris: "Re: Moving Home"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|