<div dir="ltr">To David Mansfield,<div><br></div><div>My name is Bert, I&#39;m on the Centos-Doc mailing list and I&#39;ve been doing a bit of further write up on the C6.5 -&gt; C7 upgrade process - basically on how to avoid common problems and pitfalls. In other words, give the user the best experience possible. I&#39;ve been doing a fair bit of experimenting before I go ahead and &quot;put up a bunch of suggested ways of doing things to avoid problematic upgrades&quot; and would like to share what I&#39;ve learnt so far, and ask for some more info.</div><div><div><br></div><div>Regarding issue #1:</div><div>I too did an upgrade on that had an NTFS partition (was for dual-boot Windows 2008R2).  I commented out the mountpoint in  /etc/fstab BEFORE doing the upgrade (as removing ntfs3g would obviously cause mount to complain it didn&#39;t know about the partition, and there&#39;s no FUSE add-ons in the upgrade image kernel) and that avoided any problems for me.  It is helpful to know from your experience that the upgrade process ended up in an emergency shell.  This will scare some people, so I will be adding a specific note about checking for mount points (specifically that use FUSE add-ons) and a suggestion to comment them out of /etc/fstab before running the preupgrade advisor.</div><div><br></div><div>I suggest commenting them out and unmounting before running the advisor because (from what I gather) the tool scans and any all mount points collecting a list of files, which wastes time on the NTFS partition. You wouldn&#39;t expect someone to install Linux-related libraries or executables on their NTFS partition... though you never know.</div><div>One system of mine also had a md RAID6 array, which I unmounted and commented out for the same reasons above.</div><div><br></div><div>After the upgrade, yum isntall ntfs-3g went as expected, and un-commenting the mountpoint got it mounting again.</div><div>I&#39;m glad that worked for you in the end.</div><div><br></div><div>Perhaps there are issues with automount that you were encountering prior to the upgrade.  With the new </div><div><br></div><div>Regarding issue #2:</div><div>My write-up basically guides the user through removing (read as exorcising if you&#39;ll pardon the expression) anything X Window System and Gnome related before running the upgrade advisor (at least for the last time).</div><div>I include the X window system packages because there have been a few changes that I suspect would lead to a &quot;bad experience&quot;.  Some preferences seem to have been brought across after a re-install once running C7.</div><div><br></div><div>There was a couple of tricks I did before the upgrade.</div><div>1. Change to runlevel 3 so the GUI doesn&#39;t start up straight after the upgrade.  (i.e. get to a text-only shell) so we can re-install our GUI aftewards.<br></div><div>2. Removed X, Gnome and MESA packages.</div><div><br></div><div>I had disabled NetworkManager and for the interfaces in the ifcfg scripts so I can&#39;t comment on NM-related issues but there were a few niggles after the upgrade.   </div><div><br></div><div>Post upgrade...</div><div><br></div><div>yum groups mark convert <br></div><div>to fix the group package assignment changes between C6 and C7.</div><div><br></div><div>yum groups install &quot;GNOME Desktop&quot; &quot;Graphical Administration Tools&quot;<br></div><div>to install GNOME again... It&#39;s no longer &quot;yum groupinstall .....&quot;</div><div><br></div><div>This more/less got GNOME up and running again for me  (via VNC server)</div><div><br></div><div>Once in GNOME, use the package maanger to install anything else.</div><div><br></div><div><div>/etc/inittab is no longer relevant.  Use </div><div>ln -sf /lib/systemd/system/graphical.target /etc/systemd/system/default.target<br></div><div>to get X and your window manager starting up by default.</div></div><div><br></div><div>Network manager:</div><div>Was starting again by default.   Once I got around that, and switching over to fiewall-cmd (from plain IPTABLES) and setting up an appropriate zone, my networking has been fine.</div><div><br></div><div>May I ask, why did you choose to install MATE?  Could you not get GNOME working?</div><div>Can anyone else comment on NM?  (before and after)</div><div><br></div><div>Cheers,<br>Bert</div><div><br></div><div><span style="font-family:arial,sans-serif;font-size:13px">------------------------------</span><br style="font-family:arial,sans-serif;font-size:13px"><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">Message: 5</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">Date: Fri, 26 Sep 2014 10:00:15 -0400</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">From: David Mansfield &lt;</span><a href="mailto:centos@dm.cobite.com" style="font-family:arial,sans-serif;font-size:13px">centos@dm.cobite.com</a><span style="font-family:arial,sans-serif;font-size:13px">&gt;</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">To: </span><a href="mailto:centos-devel@centos.org" style="font-family:arial,sans-serif;font-size:13px">centos-devel@centos.org</a><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">Subject: [CentOS-devel] centos 6 to 7 upgrade tool report</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">Message-ID: &lt;</span><a href="mailto:5425716F.5080402@dm.cobite.com" style="font-family:arial,sans-serif;font-size:13px">5425716F.5080402@dm.cobite.com</a><span style="font-family:arial,sans-serif;font-size:13px">&gt;</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">Content-Type: text/plain; charset=utf-8; format=flowed</span><br style="font-family:arial,sans-serif;font-size:13px"><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">Hi All,</span><br style="font-family:arial,sans-serif;font-size:13px"><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">I used the upgrade tool on a centos 6.5 fully-updated system, used as a</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">graphical workstation with GDM and gnome2.</span><br style="font-family:arial,sans-serif;font-size:13px"><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">Before going into details, I want to thank the CentOS team for all the</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">hard work over the years, and especially the top-notch effort to get C7</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">out, and kudos to the individuals getting the upgrade tool to work too.</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">I feel spoiled.</span><br style="font-family:arial,sans-serif;font-size:13px"><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">Back to the story:</span><br style="font-family:arial,sans-serif;font-size:13px"><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">The system had significant use of 3rd party repositories.</span><br style="font-family:arial,sans-serif;font-size:13px"><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">After I ran the pre-upgrade tool, I used the report of &quot;unsigned&quot;</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">packages (which includes the source repo in the report, which is very</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">useful) to remove all of these packages before update.</span><br style="font-family:arial,sans-serif;font-size:13px"><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">I ran the tool again and was satisfied that the list of inplace upgrade</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">risks was acceptable and ran the update.</span><br style="font-family:arial,sans-serif;font-size:13px"><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">Issue#1:</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">The system upgraded and rebooted to the emergency recovery shell. This</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">was because an NTFS partition could not be mounted (ntfs-3g not</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">installed by default during upgrade for some reason). This was somewhat</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">a problem for the user before the upgrade, so I cannot be 100% sure that</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">mounting this a boot was always working 100% before.</span><br style="font-family:arial,sans-serif;font-size:13px"><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">Solution#1</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">I commented it from fstab and rebooted - 1st problem solved (see Issue#4</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">below).</span><br style="font-family:arial,sans-serif;font-size:13px"><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">Issue#2:</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">The system booted to a black screen with a movable mouse cursor - GDM</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">not working.</span><br style="font-family:arial,sans-serif;font-size:13px"><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">I tried a bunch of things - uninstalling GNOME stuff, re-installing,</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">installing a bunch of package groups.  This one had me stumped for quite</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">a while.</span><br style="font-family:arial,sans-serif;font-size:13px"><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">Solution#2</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">Ultimately, the solution was (I believe) that some modifications in</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">/etc/pam.d needed to be merged from the .rpmnew files.</span><br style="font-family:arial,sans-serif;font-size:13px"><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">On this system, I don&#39;t believe the pam.d configuration had been</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">modified from defaults, so I copied the .rpmnew files over (beware: this</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">can be dangerous) and voila!</span><br style="font-family:arial,sans-serif;font-size:13px"><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">Issue#3:</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">I installed MATE Desktop from epel, and things looked good except that</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">NetworkManager wasn&#39;t running:</span><br style="font-family:arial,sans-serif;font-size:13px"><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">Solution#3:</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">service NetworkManager start</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">chkconfig NetworkManager on</span><br style="font-family:arial,sans-serif;font-size:13px"><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">Issue#4:</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">Back to the NTFS volume not mounting.</span><br style="font-family:arial,sans-serif;font-size:13px"><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">Solution#4:</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">I installed ntfs-3g packages and everything mounts fine through</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">nautilus, which is all the user needs.</span><br style="font-family:arial,sans-serif;font-size:13px"><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">Now everything I could test is working, spice client, Citrix client,</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">google-chrome, vlc, rhythmbox playing mp3s, handbrake (thanks &quot;nux&quot;</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">again), VPN etc.</span><br style="font-family:arial,sans-serif;font-size:13px"><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">Hope this helps, I was going to update the wiki, but there&#39;s no edit button!</span><br style="font-family:arial,sans-serif;font-size:13px"><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">--</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">Thanks,</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">David Mansfield</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">Cobite, INC.</span><br style="font-family:arial,sans-serif;font-size:13px"><br style="font-family:arial,sans-serif;font-size:13px"></div></div></div>