[CentOS] Possible to install centos keeping folders intact?

Sat Oct 15 12:56:47 UTC 2005
Chris Mauritz <chrism at imntv.com>

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,