Christopher Juckins

SysAdmin Tips, Tricks and other Software Tools

User Tools

Site Tools


centos_7_migration_notes

CentOS 7 Migration Notes

RHEL5/6/7 Cheatsheet: rhel_5_6_7_cheatsheet_201410.pdf

19 November 2017 (32-bit):

# echo -e "blacklist nouveau\noptions nouveau modeset=0" > /etc/modprobe.d/disable-nouveau.conf 
# mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r)-nouveau.img
# dracut /boot/initramfs-$(uname -r).img $(uname -r)
  • Reboot
  • NVIDIA driver available from their download page
  • You will have to run the script below after each kernel upgrade
# sh NVIDIA-Linux-x86-304.137.run (choose yes to configure X file)
# systemctl isolate graphical.target
# systemctl set-default graphical.target
  • # yum group install “GNOME Desktop” “Graphical Administration Tools”
  • GNOME does not work well with graphics card; X keeps restarting
# yum -y groups install "KDE Plasma Workspaces" 
  • # echo “exec startkde” » ~/.xinitrc
  • # startx

Other fixes:

  • # yum -y install gstreamer*
  • # rpm -ivh gstreamer1-libav-1.0.6-1.fc19.i686.rpm
  • # nmcli radio wifi off
  • KDE won't start as of 18 Dec 2017 - “kstartupconfig4 does not exist or fails. the error code is 2”

13 December 2016:

  • VM machine #1 failed to boot into kernel-3.10.0-514.2.2.el7.x86_64
    • Yum had hung up when updating open-vm-tools and I did a CTRL-C (bad move)
    • Booting machine into previous kernel had no network connection; rebooting once again got network up
    • RPM database completely hosed; had to erase this VM and restore from backup
  • VM machine #2 was a clone of a test CentOS 7 VM (v7.2.1511) and it got stuck on trying to update open-vm-tools-10.0.5-2.el7.x86_64
    • cancelled by CTRL-C
    • had to install “yum-utils” and run yum-complete-transaction
    • yum then failed because transaction size changed
    • ran package-cleanup –dupes
    • ran package-cleanup –problems
    • ran package-cleanup –cleandupes
    • Still a mess, ran yum check and too many errors to fix
    • Erased VM
  • VM machine #3 was clone of test CentOS 7 VM (v7.2.1511)
    • tried to remove open-vm-tools - hung up so aborted attempt
  • VM machine #4 test was clone of test CentOS 7 VM (v7.2.1511)
    • yum update –exclude=open-vm-tools*
    • machine updated and booted into new kernel normally
    • ran yum -y update
      • stalled again
      • top -d 2 showed high CPU usage for process “vmware-checkvm”
      • did ps -ef |grep vmware
      • saw this process: root 3186 3182 97 17:08 pts/0 00:07:55 /usr/bin/vmware-checkvm
      • issued kill 3186 and the yum update completed
  • Primary machine updated OK
    • Virtual Box VMs would not start
    • Had to run as root /sbin/rcvboxdrv setup

5 June 2016:

  • Primary system migrated

18 May 2016:

  • Xfce Power Manager icon appeared in task bar
    • Might be a way to configure screen blanking

5 April 2016:

16 February 2016:

  • High CPU usage for vmtoolsd process
    • removed open-vm-tools-desktop
    • rebooted; open-vm-tools still remained but did not use high CPU

Restarting Services: http://www.putorius.net/2014/07/restarting-services-in-red-hat-7-or.html

For migrating a system, take note of this info first:

  • Make a test user on CentOS6 and one on CentOS7
    • Compare hidden files to see if anything changed between OSs
  • <fc #ff0000>ensure all scripts make their own log file directory</fc>
    • $log_dir = “/var/tmp/check_disk_space”;
    • mkdir (“$log_dir”, 0755);
    • should crons write to /tmp and then have a daily script that checks cron logs for errors?
  • users
  • <fc #ff0000>database users</fc>
  • <fc #ff0000>export MySQL databases with mysqldump</fc>
  • list of installed perl modules
    • grep all .pl script and look for the “use ” calls
  • Copy the following to accessible location for restore after upgrade
    • users' $HOME
    • crons
    • various processing log files from /var/tmp/
    • /etc/ssh/*key* or possibly the entire directory contents (this may prevent man-in-the-middle attack messages but testing needed)
    • /etc/hosts
    • /etc/httpd.conf
    • /etc/smb.conf
      • Samba users, passwords, shares
  • nxclient-3.5.0-7.x86_64.rpm
  • nxnode-3.5.0-9.x86_64.rpm
  • nxserver-3.5.0-11.x86_64.rpm
  • skype-4.3.0.37-fedora.i586.rpm
  • verify services that should be installed/running in chkconfig
  • Note firewall rules

Note these installed perl RPMs:

ImageMagick-perl-6.7.2.7-2.el6.x86_64
mod_perl-2.0.4-11.el6_5.x86_64
perl-5.10.1-141.el6_7.1.x86_64
perl-AppConfig-1.66-6.el6.noarch
perl-Archive-Extract-0.38-141.el6_7.1.x86_64
perl-Archive-Tar-1.58-141.el6_7.1.x86_64
perl-Array-Utils-0.5-1.el6.noarch
perl-Authen-SASL-2.13-3.el6.noarch
perl-BSD-Resource-1.29.03-3.el6.x86_64
perl-CGI-3.51-141.el6_7.1.x86_64
perl-Class-Singleton-1.4-6.el6.noarch
perl-common-sense-3.5-1.el6.noarch
perl-Compress-Raw-Bzip2-2.052-1.el6.rf.x86_64
perl-Compress-Raw-Zlib-2.021-141.el6_7.1.x86_64
perl-Compress-Zlib-2.021-141.el6_7.1.x86_64
perl-Convert-ASN1-0.22-1.el6.noarch
perl-Convert-BinHex-1.119-10.1.el6.noarch
perl-core-5.10.1-141.el6_7.1.x86_64
perl-CPAN-1.9402-141.el6_7.1.x86_64
perl-CPANPLUS-0.88-141.el6_7.1.x86_64
perl-Crypt-SSLeay-0.57-17.el6.x86_64
perl-DateTime-0.5300-2.el6.x86_64
perl-DBD-MySQL-4.013-3.el6.x86_64
perl-DBD-SQLite-1.27-3.el6.x86_64
perl-DBI-1.609-4.el6.x86_64
perl-DBIx-Simple-1.32-3.el6.noarch
perl-devel-5.10.1-141.el6_7.1.x86_64
perl-Digest-HMAC-1.01-22.el6.noarch
perl-Digest-SHA1-2.12-2.el6.x86_64
perl-Digest-SHA-5.47-141.el6_7.1.x86_64
perl-Email-Abstract-3.002-1.el6.noarch
perl-Email-Address-1.905-1.el6.noarch
perl-Email-Date-Format-1.002-5.el6.noarch
perl-Email-MessageID-1.401-4.el6.noarch
perl-Email-MIME-1.903-2.el6.rf.noarch
perl-Email-MIME-Attachment-Stripper-1.316-2.el6.noarch
perl-Email-MIME-ContentType-1.015-2.el6.noarch
perl-Email-MIME-Encodings-1.313-2.el6.noarch
perl-Email-Reply-1.202-4.el6.noarch
perl-Email-Send-2.198-1.el6.rf.noarch
perl-Email-Simple-2.100-2.el6.rf.noarch
perl-Error-0.17015-4.el6.noarch
perl-ExtUtils-CBuilder-0.27-141.el6_7.1.x86_64
perl-ExtUtils-Embed-1.28-141.el6_7.1.x86_64
perl-ExtUtils-MakeMaker-6.55-141.el6_7.1.x86_64
perl-ExtUtils-ParseXS-2.2003.0-141.el6_7.1.x86_64
perl-File-Fetch-0.26-141.el6_7.1.x86_64
perl-Git-1.7.1-4.el6_7.1.noarch
perl-GSSAPI-0.26-6.el6.x86_64
perl-HTML-Parser-3.64-2.el6.x86_64
perl-HTML-TableExtract-2.10-7.el6.noarch
perl-HTML-Tagset-3.20-4.el6.noarch
perl-HTTP-Server-Simple-0.43-1.el6.rf.noarch
perl-IO-All-0.39-4.el6.noarch
perl-IO-Compress-Base-2.021-141.el6_7.1.x86_64
perl-IO-Compress-Bzip2-2.021-141.el6_7.1.x86_64
perl-IO-Compress-Zlib-2.021-141.el6_7.1.x86_64
perl-IO-Socket-INET6-2.56-4.el6.noarch
perl-IO-Socket-SSL-1.31-2.el6.noarch
perl-IO-String-1.08-9.el6.noarch
perl-IO-stringy-2.110-10.1.el6.noarch
perl-IO-Tty-1.08-4.el6.x86_64
perl-IO-Zlib-1.09-141.el6_7.1.x86_64
perl-IPC-Cmd-0.56-141.el6_7.1.x86_64
perl-IPC-Run-0.84-3.el6.noarch
perl-IPC-System-Simple-1.21-5.el6.noarch
perl-JSON-2.15-5.el6.noarch
perl-JSON-XS-2.27-2.el6.x86_64
perl-LDAP-0.40-1.el6.noarch
perl-libs-5.10.1-141.el6_7.1.x86_64
perl-libwww-perl-5.833-2.el6.noarch
perl-libxml-perl-0.08-10.el6.noarch
perl-List-MoreUtils-0.22-10.el6.x86_64
perl-Locale-Maketext-Simple-0.18-141.el6_7.1.x86_64
perl-Log-Message-0.02-141.el6_7.1.x86_64
perl-Log-Message-Simple-0.04-141.el6_7.1.x86_64
perl-MailTools-2.04-4.el6.noarch
perl-MIME-Lite-3.027-2.el6.noarch
perl-MIME-tools-5.427-4.el6.noarch
perl-MIME-Types-1.28-2.el6.noarch
perl-Module-Build-0.3500-141.el6_7.1.x86_64
perl-Module-CoreList-2.18-141.el6_7.1.x86_64
perl-Module-Load-0.16-141.el6_7.1.x86_64
perl-Module-Load-Conditional-0.30-141.el6_7.1.x86_64
perl-Module-Loaded-0.02-141.el6_7.1.x86_64
perl-Module-Pluggable-3.90-141.el6_7.1.x86_64
perl-Net-DNS-0.65-5.el6.x86_64
perl-Net-LibIDN-0.12-3.el6.x86_64
perl-Net-SSLeay-1.35-9.el6.x86_64
perl-Newt-1.08-26.el6.x86_64
perl-NTLM-1.09-1.el6.noarch
perl-Object-Accessor-0.34-141.el6_7.1.x86_64
perl-Package-Constants-0.02-141.el6_7.1.x86_64
perl-Params-Check-0.26-141.el6_7.1.x86_64
perl-Params-Validate-0.92-3.el6.x86_64
perl-parent-0.221-141.el6_7.1.x86_64
perl-Parse-CPAN-Meta-1.40-141.el6_7.1.x86_64
perl-Pod-Escapes-1.04-141.el6_7.1.x86_64
perl-Pod-POM-0.25-2.el6.noarch
perl-Pod-Simple-3.13-141.el6_7.1.x86_64
perl-Return-Value-1.666001-1.el6.noarch
perl-SGMLSpm-1.03ii-21.el6.noarch
perl-SOAP-Lite-0.710.10-3.el6.noarch
perl-Socket6-0.23-4.el6.x86_64
perl-Spiffy-0.30-12.el6.noarch
perl-String-CRC32-1.4-9.el6.x86_64
perl-Sub-Uplevel-0.2002-4.el6.noarch
perl-Template-Toolkit-2.22-5.el6.x86_64
perl-Term-UI-0.20-141.el6_7.1.x86_64
perl-Test-Harness-3.17-141.el6_7.1.x86_64
perl-Test-Simple-0.92-141.el6_7.1.x86_64
perl-Test-Warn-0.21-2.el6.noarch
perl-Text-Iconv-1.7-6.el6.x86_64
perl-TimeDate-1.16-13.el6.noarch
perl-Time-HiRes-1.9721-141.el6_7.1.x86_64
perl-Time-Piece-1.15-141.el6_7.1.x86_64
perl-Tree-DAG_Node-1.06-6.1.el6.noarch
perl-URI-1.40-2.el6.noarch
perl-version-0.77-141.el6_7.1.x86_64
perl-WWW-Mechanize-1.72-1.el6.rf.noarch
perl-WWW-Mechanize-GZip-0.12-13.el6.noarch
perl-XML-Dumper-0.81-8.el6.noarch
perl-XML-Filter-BufferText-1.01-8.el6.noarch
perl-XML-Grove-0.46alpha-40.el6.noarch
perl-XML-LibXML-1.70-5.el6.x86_64
perl-XML-NamespaceSupport-1.10-3.el6.noarch
perl-XML-Parser-2.36-7.el6.x86_64
perl-XML-SAX-0.96-7.el6.noarch
perl-XML-SAX-Writer-0.50-8.el6.noarch
perl-XML-Twig-3.34-1.el6.noarch

Must-Have functionality:

Contents of /etc/yum.repos.d (CentOS 7):

  • adobe-linux-x86_64.repo
  • CentOS-Base.repo
  • CentOS-CR.repo
  • CentOS-Debuginfo.repo
  • CentOS-fasttrack.repo
  • CentOS-Media.repo
  • CentOS-Sources.repo
  • CentOS-Vault.repo
  • epel.repo
  • epel-testing.repo
  • google-chrome.repo
  • nux-dextop.repo

For a continuation of GNOME2 in CentOS7, use “MATE”

Other info on MATE:

Customize MATE Desktop displays

  • Adjust System > Preferences > Look and Feel > Appearance
  • Under Fonts tab, set all to size 8
  • Click Details, set resolution to 96 dpi, Smoothing Grayscale, Hinting Slight, Subpixel order RGB
  • Firefox has large bullets for password masking. Theme setting?
  • Set up gnome-terminal preferences
    • General: Font Monospace 9, No terminal bell
    • Colors: Use colors from system theme
    • Scrolling: unlimited
    • Edit > Keyboard Shortcuts > Reset and Clear > F2
  • Disable Vim auto-indent following Vi and Vim Tips
  • Adjust System > Preferences > Personal > Startup Applications
    • Disable the SELinux Troubleshooter
    • Add PackageKit Update Applet
      • description: PackageKit Update Applet
      • command: gpk-update-viewer

Change setting on screensaver

  • System > Preferences > Look and Feel > Screensaver

System Monitor (needs mate-system-monitor RPM):

  • Right-click top panel > Add to Panel
  • In the “Find an item to add to the panel:” search box, enter “System Monitor” and click Add
  • Moving display of current CPU usage should appear

Fresh VirtualBox Installation Notes 8 Nov 2015 (previous install 30 Sept 2014)

  • Preferable to use local .iso file to conserve bandwidth for multiple installs
  • On initial config screen, ensure the network connection is activated
  • You can also disable SELinux
  • Manually set mount points for /boot, /, swap
  • * <fc #ff0000>Make sure /boot is 750MB or 1GB large</fc>
  • Let system create mount points automatically
    • After they are suggested, change from LVM to Standard Mount
    • May want to increase the boot and “efi” boot partitions from 500MB to 750MB and 200MB to 500MB
  • Used default “xfs” filesystem
  • For software packages, if you only choose something like Web Server you will not get graphical login
  • Choose a general desktop option, too
  • Boot into machine
  • Note the IP address

Use nmtui-hostname to change the system hostname

# nmcli general hostname
# nmcli general hostname new_server_name
# systemctl restart systemd-hostnamed

yum -y update, reboot, verify latest kernel is loaded by GRUB

Only keep 1 old kernel

Ensure gcc, make, kernel-devel are installed.

Install Virtual Box Guest Additions

  • Took 10 minutes to install

Reboot

Add 2nd hard drive to /etc/fstab following these notes

Prepare to run the local yum installer script

CPAN packages to install:

  • <fc #ff0000>NOTE</fc>: Do not update .bashrc for library locations or else they will go into the wrong path
  • Array::Utils
    • Start up cpan as root (initial time)
    • Run through the manual configuration process, accept the defaults
    • Start up cpan as root
    • > install CPAN (this updates the CPAN packages)
    • cpan Array::Utils
  • Time::Elapsed (cpan)
    • Note, this module may not be needed anymore. Was used in syncing to CDN.
    • As root, had to:
    • cd /root/.cpan/build/Time-Elapsed-0.31-N9mZvj/lib/Time
    • cp -rp * /usr/share/perl5/Time
    • Another option is to install modules locally
    • Yet another option is to use modules that are in a repository

Ensure Adobe Flash plugin is installed

Ensure Apache is installed and running

Migrate /etc/php.ini from old server and relax settings due to test env:

;max_execution_time = 30     
max_execution_time = 3600    
;max_input_time = 60
max_input_time = 3600
;memory_limit = 128M
memory_limit = 1024M
;display_errors = Off
display_errors = On
;post_max_size = 8M
post_max_size = 250M
;upload_max_filesize = 2M
upload_max_filesize = 250M
;date.timezone = 
date.timezone = "America/New_York"
;session.gc_maxlifetime = 1440
session.gc_maxlifetime = 7200
# systemctl restart httpd.service

Install and Secure MySQL (mariadb)

Database work:

  • Backup /etc/my.cnf
    • Add this line under [mysqld]
      • default-storage-engine=MyISAM
  • Add other database users with phpMyAdmin GUI
    • set username
    • set password
    • select “Grant all privileges on wildcard name (username\_%).”
  • Dump all databases from source server to sql file then import on target server
    • mysqldump -u USER -p'PASS' DATABASE > /tmp/DATABASE.sql
    • Ensure database on target server exists; create if necessary
    • mysql DATABASE -h localhost -u USER -p'PASS' < /tmp/DATABASE.sql

Firewall notes:

  • Using firewall-config to close rules from previous machine

rsync /var/www/html/

  • test pages for proper display
  • check soft link to phpmy is correct and current

Restore and test crons

  • check that each cron job runs and the specified log directory exists

Backup /etc/selinux/config and change from enforcing to permissive

Restore /etc/hosts from previous machine as needed

Set up Gmail Relay and test

Disable virbro0 network connection if needed: http://www.cyberciti.biz/faq/linux-kvm-disable-virbr0-nat-interface/

# virsh net-destroy default
# virsh net-undefine default
# service libvirtd restart
# ifconfig 

Then, edit the network connections and make sure the “Ethernet” tab for the active connection, such as enp0s3, has the “Device” set to that interface. Reboot to test.

Download sample .png, .gif, .jpg images and test /usr/bin/display for any errors

Install Google Chrome

Install Google Chrome (Alt)

Fix Google Chrome fonts:

http://www.binarytides.com/gorgeous-looking-fonts-ubuntu-linux/

# yum install google*fonts
  • open Chrome, go to Settings > Advanced and set fonts as follows:
    • Standard font: Noto Serif
    • Serif font: Noto Serif
    • Sans-serif font: Noto Sans
    • Fixed-width font: Roboto Mono

Install Oracle Java (note, this is not the default CentOS, it will not auto-update)

Adobe Reader - use evince instead

Install NX/NoMachine v3

NX/NoMachine Troubleshooting:

  • Had v3 RPMs installed; removed and installed v4 to test. Failed. Removed v4 RPMs.
  • Upon reinstalling the 3 v3 RPMs, could not authenticate to target server.
  • Removed nxclient, nxnode, nxserver v3 RPMs again.
  • rm -rf /usr/NX completely
  • Reinstalled the 3 v3 RPMs. Authentication fixed
  • Start/stop server with the following:
    • /usr/NX/bin/nxserver –status
    • /usr/NX/bin/nxserver –stop
    • /usr/NX/bin/nxserver –start

NX for work VPN

  • Removed nxclient-3.5.0-7.x86_64.rpm, nxnode-3.5.0-9.x86_64.rpm, nxserver-3.5.0-11.x86_64.rpm
  • Installed opennx-0.16-724.el6.centos.1.x86_64.rpm
  • Tried connecting to remote machine as shadow session and it also failed; ensured the remote machine had a normal session established first using the same user

VPN connections

Percona toolkit: percona-toolkit-2.2.11-1.noarch.rpm

Restore Thunderbird profile

Restore Firefox profile

Restore VirtualBox and all machines

Test ASMAD for processing end-to-end

Install Skype rpm (skype-4.3.0.37-fedora.i586.rpm) following these steps:

yum install alsa-plugins-pulseaudio.i686 qt.i686 1:qt-x11.i686 libXScrnSaver.i686 libXv.i686
rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-1.el7.nux.noarch.rpm
yum localinstall http://download.skype.com/linux/skype-4.3.0.37-fedora.i586.rpm

Skype Tips

SSH issues

  • Cannot ssh to yourself passwordlessly with default /etc/ssh/sshd_config
  • Comment out the following line, like this:
  • #AuthorizedKeysFile .ssh/authorized_keys
  • This allows you to NX into the CentOS7 machine
  • Update to openssh seems to require RSA keys now and authorized_keys file instead of DSA keys and authorized_keys2 file
  • Set “PermitRootLogin no”
  • But MATE does not work, tried KDE with yum group install “KDE Plasma Workspaces” and seems to work better but still no icons on the screen
  • But need to configure custom desktop to use /etc/X11/xinit/Xsession mate-session
  • Also tried /usr/bin/startxfce4 but still general odd behavior
  • systemctl restart sshd.service

Update GRUB

GRUB_CMDLINE_LINUX_DEFAULT="video=1024x768"
GRUB_GFXMODE=1024x768
GRUB_GFXPAYLOAD_LINUX=keep

Set default GRUB entry

If GRUB2 no longer finds other OS to boot (such as Windows 10) use SourceForge Boot Repair Disk

Install ClamAV

Set up local printer(s)

Firewall Notes

firewall-cmd --get-active-zones
  • It will say either public, dmz, or something else. You should only apply to the zones required.
  • If you want to add a port such as 8080 to your public zone:
firewall-cmd --zone=public --add-port=8080/tcp --permanent
  • Then remember to reload the firewall for changes to take effect.
firewall-cmd --reload

Managing runlevel settings

  • Switch to runlevel 5:
# systemctl isolate graphical.target
  • Initiate runlevel 5 by default:
# systemctl set-default graphical.target
  • Switch to runlevel 3:
# systemctl isolate multi-user.target
  • Initiate runlevel 3 by default:
# systemctl set-default multi-user.target

USB HEADSET:

Plugin to right-side lower USB jack on HP Pavilion P7-1235, type dmesg at root prompt to see if it was found by system

[37013.137134] usb 8-1: New USB device found, idVendor=046d, idProduct=0a44
[37013.137145] usb 8-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[37013.137151] usb 8-1: Product: Logitech USB Headset
[37013.137160] usb 8-1: Manufacturer: Logitech
[37013.399267] input: Logitech Logitech USB Headset as /devices/pci0000:00/0000:00:10.1/usb8/8-1/8- 
1:1.3/input/input85
[37013.449648] hid-generic 0003:046D:0A44.004B: input,hidraw3: USB HID v1.00 Device [Logitech Logitech USB 
Headset] on usb-0000:00:10.1-1/input3

Right-click the speaker icon in the top panel and choose Sound Preferences. Or, navigate to System > Preferences > Hardware > Sound
Sound effects tab: Sound theme: No Sounds
Hardware tab: Highlight Headset H390, Profile: Analog Stereo Output + Analog Mono Input
Input tab: choose Headset H390 Analog Mono
Output tab: choose Headset H390 Analog Stereo, Connector is Headphones

Settings are saved to $HOME/.config/pulse

See Linux Mint Sound settings keep switching output against my will and possibly HDMI + Sound + Mint 18


OLD Notes and Issues

If on VirtualBox, go to main menu and choose “Insert Guest Additions CD Image…” and run the following commands:

mount -o ro /dev/disk/by-label/VBOXADDITIONS* /mnt
cd /mnt
./VBoxLinuxAdditions.run --nox11
shutdown -r now

Missing Desktop icons: https://www.centos.org/forums/viewtopic.php?f=48&t=47271

  1. Make sure caja is the default file manager in System –> Control Center –> Preferred Applications –>System tab.
  2. Add caja to automatically start in System–> Control Center –> Startup Applications.
  3. Reboot.

Tried /usr/bin/display with a .jpg or .png file, but this error results:

[[email protected]: /tmp/splash]$ display default.png 
display: color is not known to server `FOREGROUND': 
No such file or directory @ error/xwindow.c/XGetPixelPacket/3064.

ImageMagick may be a different version.

UPDATE: Does work after installing Skype and its dependencies below (nux-desktop?)

Comment out the GRUB_TERMINAL_OUTPUT line in /etc/default/grub using a # at the start of the line, and grub should use a graphics mode again

First see if the default kernel is the latest one for boot. If not, add the following line to /etc/default/grub

GRUB_DEFAULT=0

Also remove the “rhgb quiet” flags. Get the splash.png from http://juckins.net/dokuwiki/lib/exe/fetch.php?media=splash.png and put into /boot/grub2/

GRUB_BACKGROUND="/boot/grub2/splash.png"

Then run:

grub2-mkconfig -o /boot/grub2/grub.cfg

Notes on grub splash screen:

centos_7_migration_notes.txt · Last modified: 2018/05/29 11:45 by juckins