Ask Your Question
1

Having trouble with home partitions. [closed]

asked 2016-10-27 08:13:27 -0500

ZylenBlaze gravatar image

I was using Kubuntu 16.10 and decided to switch to Fedora 24. I already had a separate home partition with all my files in it. When I installed Fedora, I had it configured for three partition, /dev/sda1 as the root partition, /dev/sda2 as swap and /dev/sda3 as home partition (didn't format it). The installation was successful and Fedora is great, but when I open file manager, my old files do not appear. But when I do mount /dev/sda3 and restart Nautilus, my files come back. When sda3 is not mounted Chrome and some other apps work fine but when I mount it they don't work properly (Chrome's extension files are in the new home partition). How do I fix this?

sudo blkid output and fstab config: http://pastebin.com/5SNUUxQq

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by ZylenBlaze
close date 2016-10-28 08:29:29.444367

Comments

Run grep /etc/mtab home at a time when your old files don't appear and put the results into a comment.

sideburns gravatar imagesideburns ( 2016-10-27 13:37:46 -0500 )edit

grep: home: No such file or directory

ZylenBlaze gravatar imageZylenBlaze ( 2016-10-28 01:23:29 -0500 )edit

Sorry, I got it backwards by accident. What we need is grep home /etc/mtab to find out if you have some sort of home mounted in more than one place.

sideburns gravatar imagesideburns ( 2016-10-28 01:56:19 -0500 )edit

/dev/mapper/fedora-home /home ext4 rw,relatime,data=ordered 0 0 Np :D

ZylenBlaze gravatar imageZylenBlaze ( 2016-10-28 02:11:14 -0500 )edit

OK, that means that you have your new /home mounted, but not the old one with all of the files. You can either move all of your files as fcomida suggests, or edit things so that the old partition is the one that gets mounted; which do you want?

sideburns gravatar imagesideburns ( 2016-10-28 02:55:02 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-10-27 16:14:13 -0500

fcomida gravatar image

Old home partition is missing in fstab so it isn't mounted at boot time. Probably you need to relabel it for selinux in fedora (your issues may come from that). BTW why do you wanna have two "homes"? Just copy old files in new home and extend it with lvm. Same for old "swap"

edit flag offensive delete link more

Comments

Could you please tell me how to do it? BTW I have disabled SELinux because it kept giving me annoying notifications.

ZylenBlaze gravatar imageZylenBlaze ( 2016-10-28 01:24:39 -0500 )edit

If SELinux is giving you notifications, you need to deal with them, not disable SELinux, but how to take care of them is something for a different question.

sideburns gravatar imagesideburns ( 2016-10-28 01:58:04 -0500 )edit

All right then, I'll put it back on enforcing :D

ZylenBlaze gravatar imageZylenBlaze ( 2016-10-28 02:13:12 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2016-10-27 08:13:27 -0500

Seen: 74 times

Last updated: Oct 27 '16