How do I do a fresh install but keep my old /home, which is on a separate partition?
Announcement
Collapse
No announcement yet.
new install keeping old /home
Collapse
This topic is closed.
X
X
-
Re: new install keeping old /home
From the Live Kubuntu Desktop CD installer,
Step 4: Manual
Step 5: Check the old /home partition to be the /home partition
>>> BUT DO NOT Check the Format box !
An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski
- Top
- Bottom
-
Re: new install keeping old /home
In your /home/user directory are a lot of "settings", some of which won't be appropriate for your new installation. These could be a source of some problems -- configuration items pointing to things that aren't installed on the new system for example.
You might want to consider just nuking all the hidden folders -- the ones starting with a period, like .adobe, .gimp-2.4, .kde, .mozilla, .vlc, and so forth. I THINK it's true that all of these are dynamically built at the time you first log in to KDE, or the first time you use a newly installed application like Firefox or gimp. Then, by leaving all of your data folders, which are not hidden, you should end up with a "clean" /home folder to begin with when you log into your new system.
- Top
- Bottom
Comment
-
Re: new install keeping old /home
fwiw I just got into a lengthy exchange with a Linux guy about this not too long ago. He says that the devs spend bunches of time to make that transition work smoothly. The dot files * should * be updated in the normal & usual course of events (by their applications) and should not be affected by re-using them for the new version ** as long as the upgrade is only a one version step up ** (not a 2-version upgrade).
One thing about them dot files -- if you nuke them, you'll want to first save your Firefox & Thunderbird profiles (and others), which are tucked behind /.mozilla and /.mozilla-thunderbird (or some such place).
An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski
- Top
- Bottom
Comment
-
Re: new install keeping old /home
Originally posted by Qqmikefwiw I just got into a lengthy exchange with a Linux guy about this not too long ago. He says that the devs spend bunches of time to make that transition work smoothly. The dot files * should * be updated in the normal & usual course of events (by their applications) and should not be affected by re-using them for the new version ** as long as the upgrade is only a one version step up ** (not a 2-version upgrade).
One thing about them dot files -- if you nuke them, you'll want to first save your Firefox & Thunderbird profiles (and others), which are tucked behind /.mozilla and /.mozilla-thunderbird (or some such place).
On the data, I have dedicated data partitions on my hard drives. The only "live" data I put in my home directory is my VMware Player -- it works better there. So, after I installed Kubuntu the last time, I just symlinked my "Images" data partition to the Kubuntu "Pictures" folder, "Music" to "Music", "Movies" to "Movies" etc. and it works fine that way.
- Top
- Bottom
Comment
-
Re: new install keeping old /home
Re the hidden "dot" configuration files in /home:
Well, I don't like exposing all my lack of clarity on issues, but here's the discussion I had in mind at a small, cozy hardware forum I hang out at (and whose host--Robert Bruce Thompson--is a well-known author on books re how to build your own PC):
http://forums.hardwareguys.com/ikonb...5;hl=dot+files
=> See Post #9 ff.
(Software > Linux > UBUNTU 8.04 -- Beta released)
I confess, I haven't extensively tested all this, mainly because I have a very simple system for data management, and I do clean fresh installs all the time and wipe my drives for experimenting all the time cowboy-style. I'm seeing some posts by cpradio today; looks like he knows a lot about such things (and rsync backups, which I'm told is a hot & cool subject nowadays).
- - - - -
FX & T-Bird profiles:
As for Firefox & Thunderbird, their support sites have very good documentation about how to manage the profiles and import/export. I confess (again) to only scanning those how-to's. What I do is to copy the whole profile out to flash drive for safe-keeping and then use its various folder contents to restore, export, import, setup new systems, etc. , again cowboy-style It's a wonder that it even works for me sometimes.
--Mike
An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski
- Top
- Bottom
Comment
-
Re: new install keeping old /home
I just want to give a bit of warning about nuking all folders/directories with a starting period (or hidden folders). About 5 years ago, maybe longer, KMail would store all of your email and mail directories in .kde/share/apps/kmail
If you nuke this directory, say goodbye to your emails. I learned this the hard way, but luckily had an entire backup to go from, so I only lost a days worth of emails (that day's emails I had already downloaded from the server).
Just realize, in the early years of Linux, those directories were not just for configuration and the upgrades do not correct their use, so for people like me who started 5-7 years ago (I honestly can't recall when I started, but I started with debian) are stuck with their Mail being tucked in a hidden folder.
My rule of thumb is if you plan to nuke out an entire hard drive or just a set of folders, back them up first to the best of your ability, as 3 weeks later, you will find out you lost something and really wish you could get it back.
Matt
- Top
- Bottom
Comment
-
Re: new install keeping old /home
ahurd, all,
Did you keep your old home with a new install? Did you encounter any problems with hidden files or with anything in general?
I'm planning to upgrade my 7.4 to 8.10 with fresh install, but would like to keep the old home.
Any hints how to avoid possible pitfalls?
Thanks!
- Top
- Bottom
Comment
-
Re: new install keeping old /home
In my limited experience I have found just renaming .kde to something like .kdeOld from a live cd usefull. When you install 8.10 kde4 will not like the old .kde and create a new one. You can then just copy / move over all those kmail, calender, kontact, etc. files and you are all set.HP Pavilion dv6 core i7 (Main)
4 GB Ram
Kubuntu 18.10
- Top
- Bottom
Comment
-
Re: new install keeping old /home
Originally posted by diblIn your /home/user directory are a lot of "settings", some of which won't be appropriate for your new installation. These could be a source of some problems -- configuration items pointing to things that aren't installed on the new system for example.
You might want to consider just nuking all the hidden folders -- the ones starting with a period, like .adobe, .gimp-2.4, .kde, .mozilla, .vlc, and so forth. I THINK it's true that all of these are dynamically built at the time you first log in to KDE, or the first time you use a newly installed application like Firefox or gimp. Then, by leaving all of your data folders, which are not hidden, you should end up with a "clean" /home folder to begin with when you log into your new system.
But, what's the point of preserving /home if you remove all this? I'm astonished by your statement.
Useful data is easy to backup and it is very easy to restore user data (picutures, documents, musics, et.c). The main reason to keep /home is to keep the configuration dot-files. —— If anyone can live with all dot-files removed with the new upgrade, the preserved /home might not be useful at all.
- Top
- Bottom
Comment
-
Re: new install keeping old /home
Originally posted by aulioI'm planning to upgrade my 7.4 to 8.10 with fresh install, but would like to keep the old home.
I believe most people do *not* want to remove their dot-files. Just remove them when absolutely necessary.
- Top
- Bottom
Comment
-
Re: new install keeping old /home
I find it easy enough to keep cherished settings, emails, documents, etc.
For example, i use Thunderbird as an email client, and have a very long-lived Local Folders directory on another HD (hdb2), and (just checked) some emails go back to 2002.
KOrganiser uses a calendar on the same HD, simply point it towards it and tell it to use that one as default.
I assume that all other KOrganiser-related apps can be used the same, but i don't know as i only use the calendar function (with to-dos, etc.).
The Non-local directory i use has been there for some years.... that drive was the original XP boot disc (hdb1) in Windows days. I've even re-sized it once.
- Top
- Bottom
Comment
-
Re: new install keeping old /home
Originally posted by Qqmikefwiw I just got into a lengthy exchange with a Linux guy about this not too long ago. He says that the devs spend bunches of time to make that transition work smoothly. The dot files * should * be updated in the normal & usual course of events (by their applications) and should not be affected by re-using them for the new version ** as long as the upgrade is only a one version step up ** (not a 2-version upgrade).
- Top
- Bottom
Comment
-
Re: new install keeping old /home
Further question on this:
Originally posted by QqmikeFrom the Live Kubuntu Desktop CD installer,
Step 4: Manual
Step 5: Check the old /home partition to be the /home partition
>>> BUT DO NOT Check the Format box !
The attempt to mount a file system with type ntfs failed.
Should I set the mount point for ntfs and fat32 partitions at Step 5?
If not, is the dual boot still created automatically?
- Top
- Bottom
Comment
Comment