I have a virtual server centos 6.2 (a minimal system, about 240 rpm) and I'm replacing it compiling slackware.
The first step was install centos gcc, then build then pkgtools and install it on the root filsystem (pkgtools does not conflict with any distribution
). Then I rebuilt pkgtools using the installed pkgtools.
Then I built the aaa_base package and installed it. (This operatio DROP the /usr/share/doc, /usr/share/man and some other unfatal file).
pkgtools with the non-slackware "tar" generate bad packages, and installpkg without slackware "du" and "find" command generate warnings, so I built tar, coreutils, diffutils and findutils, then I rebuilt aaa_base and pkgtools using the unbugged pkgtools.
Next I built gcc to replace centos-gcc.
After that I started recompiling all the currently installed rpm.
When a package require another (./configure fails) I build the dependecy.
Sometime ./configure does not fails when the dependency is missing; simply disable some feature; so at the end of process I must to recompile all!!).
Also I must recompile all to use the slackware glibc, but for now I can't build that becouse I need at least kernel 3.2.29, and a very problem will be to change the kernel becouse
1) I must to see if the virtualization software on what the vps is running require some specific kernel module
2) I can access to console of vps, but I cant see the bootloader becouse the console works only when the kernel is loaded. So if there is a problem loading kernel I may need a vps reset recrate (from backup)
3) I dont know if I can substitude grub with lilo