FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i just installed f21 today (clean install over f19) on my duel boot system. everything is working fine except some small problems, especially with my old /home directory.
while installing, i just put a mount point '/' on my previous / (root) directory and marked it to format. i kept everything unchanged and before the installation began, it showed that only this directory will be formatted and recreated, nothing else.
after installing, i find my new /home directory has empty folders. then i saw two new directories have been created, named '152 gb volume' (that was the size of my previous /home) and '157 mb volume' (from the size, i think its the previous /boot). the 152 gb volume has a folder with my previous (and same with new) username, which contains all the contents of my previous /home.
now, will it be possible to merge this two /home directories? i dont want to manually copy all the contents, as the new /home shows only 2.6 gb free space while my old /home has data more than 140 gb. i really want to have a single /home for all my data.
You just need to mount your old home volume on /home
Clean out (or move) the new contents first.
how can i do that? i'm kinda newbie to linux and don't know much about this stuff. any guideline or tutorial will be appreciated.
another thing, if i mount my old /home over new, will it merge the two of them or will it just show the old contents on the new /home? when i install a newer version of fedora, will a third /home will be created?
as it is fresh install, so the new /home is almost empty, i dont have anything important there at all.
mind you that jumping from 19 to 21
almost non of the fedora 19 config files in your OLD home folder will work well in fedora 21
manually bring them over one at a time and manually edit the NEW config files to import the 19 settings
thanks, but i'm not clear about the config files. i don't want the old config files, i want only the personal data like video, music, doc, pics etc. importing the old setting are also not that important, as i haven't changed the setting much.
and manually copying data is not an option for me, pls read the constraints with the space on my first post.
That should work - this time. Not so long ago Fedora changed uid/gid values which makes this fragile.
The long term solution is simple (I use it all the time). When re-installing, make sure your old /home partition is mounted during the partition stage (don't format it). Use same username/password(s). Everything gets managed for you.
Would be a simple/clean solution this time too - just reinstall F21.
That should work - this time. Not so long ago Fedora changed uid/gid values which makes this fragile.
The long term solution is simple (I use it all the time). When re-installing, make sure your old /home partition is mounted during the partition stage (don't format it). Use same username/password(s). Everything gets managed for you.
Would be a simple/clean solution this time too - just reinstall F21.
that is exactly what i did during the installation (or was it)?
i put a mount point /home on my previous home directory and used the same username and password. it worked for me when i installed f19 previously.
if it works again, i can try to reinstall freshly (formatting only the / (root)), as it a new install and i wont lose much data. would u suggest that?
it does not show my old /home, which is around 152 GB. so i guess this installation has created a new partition for that.
i hope this may help u to understand and suggest me further on this issue.
Last edited by oceanmbs; 05-03-2015 at 07:47 PM.
Reason: additional info
No, there is no partition for it, merely a directory under the root (/).
You apparently didn't use the old /home when re-installing - so yes, I would just re-install, taking care to mount the old /home at the approriate time.
No, there is no partition for it, merely a directory under the root (/).
You apparently didn't use the old /home when re-installing - so yes, I would just re-install, taking care to mount the old /home at the approriate time.
thanks, i'm doing that.
but before that, i want to make sure the whole process again, so i dont mess it up this time also.
after i select the destination,
for the / (root), i'll put a mount point / over the current one and mark for format.
i'll find the old /home (by the size) and put the mount point /home on it and won't mark for format.
and will leave everything unchanged.
is that correct?
is not correct. The very reason for doing it this way is to ensure all the necessary config files under your home are updated for new versions. Some apps will need to be manually re-installed of course.
If you are worried about your data - as you should be - take a backup before you begin.
to keep all the old files in the same /home, i followed the same steps i mentioned at the last post.
this time, the only thing i changed is, while creating a user (having the same name, username and password), to mention the home directory, i changed /home/home to only /home.
now my old /home is in the new /home. all the data are there under a folder name as the username, where the new /home contains the standard home folders (like download, documents, picture etc), initially empty. but this time, as they are at the same place, (previously were under a different '152 gb filesystem') so i can easily copy the contents of my old folders (download and etc) to the new one.
thanks again to all the helpful members of this community.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.