Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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 want to preserve my /home directory but it is not on a separate partition. I can move it to a separate partition if it is really necessary. However, I not sure why an OS installation can't just keep the current /home. Is it possible to reinstall the OS and keep the current /home on the same partition that will contain the OS?
It might be possible, but you'll also keep everything else that isn't same-named as new files that come in.
I wouldn't be game to try it.
Separate partition is the way to go. Works fine with the distros I've tried, but you still need to be aware of potential changes in packages you need to re-install.
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233
Rep:
Quote:
Originally Posted by sharky
However, I not sure why an OS installation can't just keep the current /home. Is it possible to reinstall the OS and keep the current /home on the same partition that will contain the OS?
Thanks,
problem with this thought being is to ensure all the distribution specific files are wiped clean, one should do a FORMAT of the drive on which the operating system is being replaced. formatting does not discriminate between OS files and user files, this would be impossible, which is why it is recommended to keep /home on a separate partition, well that and it becomes easier migrate the /home partition to a separate drive if necessary, or migrate /home to a larger drive without re-installing the os, or inversely re-install the OS without losing user files.
Some distros will do an update which would leave /home untouched, but not many offer that facility; I can't remember about Ubuntu. Remember that Linux is not Windows. The distro has all those programs sharing all those libraries. Most distros install 2000 or more packages, most containing several files. Writing software that can update some files, delete the things that are no longer necessary, add new material, and make any necessary links is a vast job. Doing it, and guaranteeing that it will work (especially if the user has altered anything), is more than most development teams have the time or the courage for.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.