[ubuntu-za] Home Directory on Wrong Partition

Bill Cairns cairnsww at gmail.com
Sat Apr 26 13:44:41 UTC 2014


Thanks Marius and Wesley - with the help of your examples I have managed to
get my the system to agree that my home folder is on the other partition. I
don't find fstab (or the whole concept of 'mount') very intuitive and your
help saved me a lot of wasted time.

Wesley - I have not bothered with my .dot files yet as I am still playing
with my alternate computer. When it comes to the real crunch, I will follow
your example.

I am still looking to see what else can go wrong go wrong go wrong ...

(Except for the bug I ran across, everything that has gone wrong has been
Bill's fault and not Ubuntus!)

Bill


On 26 April 2014 08:33, Wesley Werner <wesley.werner at gmail.com> wrote:

> On Sat, 26 Apr 2014 01:16:07 +0200
> Marius Kruger <amanic at gmail.com> wrote:
>
> > Here is an example from my /etc/fstab:
> > UUID=20e48712-3b8f-4546-9d99-135d667143c0 /home    ext4    defaults
> >  0       2
>
> Also you can see the UUID you need by using 'ls -l /dev/disk/by-uuid/'.
>
> UUID's are nice because they stay the same when you add or remove disks
> to a PC, whereas the /dev/sdxn assignment may change.
>
> Also Bill you old home dotfiles, all files that begins with a '.',
> store configs for you apps, and if you experience weird application
> behaviour it is due to old configs not being compatible with newer app
> versions.
>
> A safest bet is to copy them all to a temporary location for safe
> keeping, in case you need some of them, and replace them with the
> ones from your newest install. If you wish to do this, here are some
> steps:
>
> Mount your old home partition temporarily to somewhere
> like /mnt/oldhome, then back up the old config files with:
>
> mkdir /mnt/oldhome/_old-dotfiles && \
> cp -vr ~/.??* /mnt/oldhome/_old-dotfiles/
>
> ...that should copy them to "_old-dotfiles" in your old home.
>
> Then update the old configs with the new ones:
>
> cp -vr ~/.??* /mnt/oldhome/
>
> Update fstab and reboot. If you miss any important settings you can
> locate them in ~/_old-dotfiles, and after 4 weeks if you are happy with
> how things are running you can safely delete ~/_old-dotfiles.
>
> Cheers
> Wes
>
> --
> ubuntu-za mailing list
> ubuntu-za at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-za
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-za/attachments/20140426/2af7ff44/attachment.html>


More information about the ubuntu-za mailing list