I thought I'd try the upgrade tool so I went to
/etc/yum.repos.d/ and created the file
upgradetool.repo and put this content in there:
Code: Select all
[upg]
name=CentOS-$releasever - Upgrade Tool
baseurl=http://dev.centos.org/centos/6/upg/x86_64/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-Then I ran:
Code: Select all
sudo yum install redhat-upgrade-tool preupgrade-assistant-contentsThis basically creates the repo file I need to work with and installs the preupgrade assistant from there.
Then I went to yumex and searched for "preupgrade" - and there it was - all ready and installed:

....
Then I ran
and it showed:
Code: Select all
2014-08-18 13:59:28,464 INFO CentOS6_7
CentOS6_7
2014-08-18 13:59:28,464 INFO CentOS6_7Since I have Centos 6.7; I must run this command:
This runs a tool that gathers the vital info in a log and warns me that I should do a backup now etc. etc... - naturally I ignored the latter part
So yes I do want to continue .....
So the system now gathers "logs used by preupgrade assistant"
....I'll let you know how it went...Looking good so far....According to the "marketing" it can take "several minutes" for the analysis to finish - they were not kidding.....Still running Binary rebuilds I suspect this would not be a good time to run out of space (which is an option

)...
Ahh Finally it went through with this result:
Basically the upgrade is not recommended so I have to read the logs closer to check

Here is a failure:
"Several Kernel networking drivers not avilable in Centos 7" - (they were not to peachy in Centos 6 either)
I will not let this stop me - I can change the "Hardware" in Virtualbox - It might be that Centos 7 is not at all compatible with Virtualbox, and in that case I guess I will stop testing it
The report on
file:///root/preupgrade/result.html is actually quite nice and easy to read....
It tells me that Gnome desktop "needs action" but I am not even using it - I use Xfce. It might be that polkit Gnome is used by xfce4 and is obsoleted by Gnome.
I need to find a another polkit for XFCE4 which means that I might have to install lxdm and remove gdm or install Gnome.
Non Centos packages are gathered in
/root/preupgrade/./kickstart/noncentospkgs I need to manage these myself - that seems only fair.
There are a lot of obsolete packages due to the transition to systemd and others).
Lots of things to concider and fix and lots of warnings.
Ok time to upgrade:
Code: Select all
centos-upgrade-tool-cli --network 7 --instrepo=http://mirror.centos.org/centos/7/os/x86_64/Again this warns me about an extreme risk (probably the network thing) so i should run
Monkey see monkey do....
Yup my VB apparently requires
pcnet32 which is not available in Centos7 - and that stops the upgrade

I guess it is easier to just install Centos 7 the "hard" way.