Peppermint | Linux OS Community Forum
 
It is currently Fri Oct 18, 2019 7:07 am

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: Peppermint 3: Moving /home mount point (SOLVED)
PostPosted: Tue Nov 19, 2013 5:34 pm 
Offline

Joined: Sun May 12, 2013 9:53 pm
Posts: 64
Currently, my home partition is mounted the following way:

UUID=c1f1bc2d-9453-4b4c-9b91-bdf373e9deee /media/c1f1bc2d-9453-4b4c-9b91-bdf373e9deee ext4 rw,user,exec,auto 0 0

It looks like /media/c1f1bc2d-9453-4b4c-9b91-bdf373e9deee is just a symbolic link /home/, as far as I can tell. This has been a problem because my bash prompt is quite long, as it defaults to /media/c1f1bc2d-9453-4b4c-9b91-bdf373e9deee/

What can I do to change this, so that there is just /home/ and that is the default system-wide (in my file manager as well as bash). I had previously tried simply changing the mount point in fstab but then Peppermint couldn't find my home directory.

Also, when I attempt to delete files in my home directory within PCManFM, it states that the file will be permanently deleted and can't be moved to trash. Is this is due to the permission settings for the home folder or it's symbolic link? The same thing happens for ntfs partitions, which is fine, but /home/ resides on an ext4 partition.


Last edited by t4exanadu on Sun Mar 16, 2014 4:17 pm, edited 1 time in total.

Top
 Profile  
 
 

 Post subject: Re: Peppermint 3: Moving /home mount point and another thing
PostPosted: Tue Nov 19, 2013 6:34 pm 
Offline
User avatar

Joined: Tue Apr 17, 2012 12:25 pm
Posts: 5521
Location: Cornwall, England
Can we have a look at the contents of your
Code:
gedit /etc/fstab

_________________
Please be sure to sign up to the new Peppermint forum and post any new question there .. this forum will be made read-only on the 1st April 2014

You can read the announcement here:
http://peppermintos.net/viewtopic.php?f=6&t=6608
Or here's a direct link to the new forum:
http://forum.peppermintos.com


Top
 Profile  
 
 Post subject: Re: Peppermint 3: Moving /home mount point and another thing
PostPosted: Tue Nov 26, 2013 4:09 pm 
Offline

Joined: Sun May 12, 2013 9:53 pm
Posts: 64
Code:
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    nodev,noexec,nosuid 0       0
# / was on /dev/sda6 during installation
UUID=88fe5c05-0fb5-4569-8266-442341f3ecfc /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda5 during installation
UUID=33b8ed5d-dfc6-45c9-844d-81252e7ca93f none            swap    sw              0       0

UUID=c1f1bc2d-9453-4b4c-9b91-bdf373e9deee /media/c1f1bc2d-9453-4b4c-9b91-bdf373e9deee      ext4       rw,user,exec,auto 0 0

UUID=1E0C79790C794D31 /media/windows ntfs-3g  defaults,noexec,windows_names,locale=en_US.utf8  0  0


The second to last line is the one that pertains to /home. I'm not sure why it's mounting where it is, I assume I did it, but must have forgotten.


Top
 Profile  
 
 Post subject: Re: Peppermint 3: Moving /home mount point and another thing
PostPosted: Thu Nov 28, 2013 10:41 am 
Offline
User avatar

Joined: Tue Apr 17, 2012 12:25 pm
Posts: 5521
Location: Cornwall, England
What's the output from:
Code:
ls -al /media/c1f1bc2d-9453-4b4c-9b91-bdf373e9deee

_________________
Please be sure to sign up to the new Peppermint forum and post any new question there .. this forum will be made read-only on the 1st April 2014

You can read the announcement here:
http://peppermintos.net/viewtopic.php?f=6&t=6608
Or here's a direct link to the new forum:
http://forum.peppermintos.com


Top
 Profile  
 
 Post subject: Re: Peppermint 3: Moving /home mount point and another thing
PostPosted: Fri Nov 29, 2013 6:33 pm 
Offline

Joined: Sun May 12, 2013 9:53 pm
Posts: 64
Code:
$ ls -al /media/c1f1bc2d-9453-4b4c-9b91-bdf373e9deee

total 28
drwxrwxrwx  4 andy andy  4096 Nov 15 19:43 .
drwxr-xr-x  6 root root  4096 Nov 29 16:17 ..
drwxrwxrwx 60 andy andy  4096 Nov 29 16:17 andy
drwx------  2 root root 16384 Sep  2 21:24 lost+found


Top
 Profile  
 
 Post subject: Re: Peppermint 3: Moving /home mount point and another thing
PostPosted: Fri Nov 29, 2013 8:40 pm 
Offline
User avatar

Joined: Tue Apr 17, 2012 12:25 pm
Posts: 5521
Location: Cornwall, England
OK, I just need to check if you already have a /home directory, it's contents (if any) and look at a particular line in passwd ..

so can you post the output from:
Code:
ls -al /home

and
Code:
cat /etc/passwd | grep andy


And can you confirm you have a LiveCD/LiveUSB handy .. just in case.

_________________
Please be sure to sign up to the new Peppermint forum and post any new question there .. this forum will be made read-only on the 1st April 2014

You can read the announcement here:
http://peppermintos.net/viewtopic.php?f=6&t=6608
Or here's a direct link to the new forum:
http://forum.peppermintos.com


Top
 Profile  
 
 Post subject: Re: Peppermint 3: Moving /home mount point and another thing
PostPosted: Sat Nov 30, 2013 3:35 pm 
Offline

Joined: Sun May 12, 2013 9:53 pm
Posts: 64
Code:
$ ls -al /home
lrwxrwxrwx 1 root root 43 Sep 16 19:51 /home -> /media/c1f1bc2d-9453-4b4c-9b91-bdf373e9deee


Code:
$ cat /etc/passwd | grep andy
andy:x:1000:1000:Andy,,,:/home/andy:/bin/bash


I'll make a LiveUSB of the Peppermint 3 iso soon.


Top
 Profile  
 
 Post subject: Re: Peppermint 3: Moving /home mount point and another thing
PostPosted: Sat Nov 30, 2013 8:57 pm 
Offline
User avatar

Joined: Tue Apr 17, 2012 12:25 pm
Posts: 5521
Location: Cornwall, England
OK, looks like all you have to do is change the mountpoint in fstab to /home

BUT

There's already a symlink at that location called "home" .. so that symlink will need renaming and a /home directory creating .. this really must be done from a LiveCD/LiveUSB

first rename the /home symlink to something like home-old .. it can be deleted later.

second create a directory at /home

third change the line in fstab from:

Code:
UUID=c1f1bc2d-9453-4b4c-9b91-bdf373e9deee /media/c1f1bc2d-9453-4b4c-9b91-bdf373e9deee      ext4       rw,user,exec,auto 0 0

to
Code:
UUID=c1f1bc2d-9453-4b4c-9b91-bdf373e9deee /home      ext4       rw,user,exec,auto 0 0

SAVE the file, and reboot.

Make sure you do the above operations on the hard drive's file system .. not the Live sessions file system

Any questions .. probably best to ask them now ;)

_________________
Please be sure to sign up to the new Peppermint forum and post any new question there .. this forum will be made read-only on the 1st April 2014

You can read the announcement here:
http://peppermintos.net/viewtopic.php?f=6&t=6608
Or here's a direct link to the new forum:
http://forum.peppermintos.com


Top
 Profile  
 
 Post subject: Re: Peppermint 3: Moving /home mount point and another thing
PostPosted: Sun Mar 16, 2014 4:16 pm 
Offline

Joined: Sun May 12, 2013 9:53 pm
Posts: 64
I never got around to doing this until today. I just wanted to confirm that it worked, without any issues. Thanks again. :)


Top
 Profile  
 
 Post subject: Re: Peppermint 3: Moving /home mount point (SOLVED)
PostPosted: Sun Mar 16, 2014 4:20 pm 
Offline
User avatar

Joined: Tue Apr 17, 2012 12:25 pm
Posts: 5521
Location: Cornwall, England
You're most welcome, thanks for marking the topic solved :)

_________________
Please be sure to sign up to the new Peppermint forum and post any new question there .. this forum will be made read-only on the 1st April 2014

You can read the announcement here:
http://peppermintos.net/viewtopic.php?f=6&t=6608
Or here's a direct link to the new forum:
http://forum.peppermintos.com


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

Powered by php B.B. © 2000, 2002, 2005, 2007 php B.B. Group
Template made by DEVPPL