Hiya all, just going to do a couple of quick conversions from redhat to centos, an going to back up the folders anyway. But basically just wondering if there's a way to install centos and keep some rather large folders intact without having to backup/restore them. They are based from the root folder, i.e /home but they aren't on a separate partition and want to do a total new install from cd on it. No problem if there is no way, just thought I'd ask to see if anyones ever gone down that route if it is (and yes bad partitioning in the first place! Partly for exactly this reason and others). Thanks in advance, Ian
Ian mu wrote:
Hiya all, just going to do a couple of quick conversions from redhat to centos, an going to back up the folders anyway. But basically just wondering if there's a way to install centos and keep some rather large folders intact without having to backup/restore them. They are based from the root folder, i.e /home but they aren't on a separate partition and want to do a total new install from cd on it.
No problem if there is no way, just thought I'd ask to see if anyones ever gone down that route if it is (and yes bad partitioning in the first place! Partly for exactly this reason and others).
If you uncheck the "format this partition" during the graphical install process (I think that happens after you choose which packages you want to install), the old partitions will not be reformatted. So that should preserve your old filesystem. However, keep in mind that the new install may overwrite files with similar names and that any lingering config files may confuse packages that are installed.
That said, I've managed to do this on a few occasions to preserve the /home partition without incidident.
Cheers,
On Saturday 15 October 2005 08:56, Chris Mauritz wrote:
That said, I've managed to do this on a few occasions to preserve the /home partition without incidident.
I'm not going to say that I recommend it, but I've kept the same /home since pre-RHL6.0 days, doing a mix of scratch reinstalls, upgrades, and going through three laptops to the one I'm using now. Started on a Toshiba Satellite 225CDS, went to a Toshiba Satellite 265, then to a Sony VIAO FXA-49, and now on a Dell Inspiron 600m. That includes several Ghost sessions and a couple of dd's to go between harddrives.
The reason I say I don't necessarily recommend it is that housekeeping in a /home that old involves lots of DIY repairs... :-) Particularly when I started out using Netscape Mail back in 5.x days, and migrated to kmail once Red Hat saw the KDE light and have upgraded my ~/Mail since the very first kmail release. So I have a mutt of mbox and maildirs, with some messages quite old (that I brought over from Netscape; I even migrated from Windows 95's Netscape Mail, so I have e-mail in the system from 1996).