Difference between revisions of "Update Centos to version 7.6"

From Klaus' wiki
Jump to: navigation, search
Line 5: Line 5:
 
Update VirtualBox to version 6.something and then update your Centos.
 
Update VirtualBox to version 6.something and then update your Centos.
  
If you accedentially updated your Centos first the it can be a bit problematic to install the VirtualBox extension because the mouns doesn't work in the mix of Viirtualbox 5.2.22 drivers and Centos 7.6 drivers.
+
If you accedentially updated your Centos first the it can be a bit problematic to install the VirtualBox extension because the mouse doesn't work in the mix of Virtualbox 5.2.22 drivers and Centos 7.6 drivers.
  
 
Follow these instructions and you should be up running soon:
 
Follow these instructions and you should be up running soon:
Line 11: Line 11:
 
1. Update VirtualBox to version 6.something
 
1. Update VirtualBox to version 6.something
  
2. Start your Centos - hope that yakuake starts automatically.  
+
2. Currently there is a bug in the kernel delivered from Centos. A patched version that will work correctly is over at https://people.centos.org/toracat/kernel/7/plus/bug15570new/kernel-3.10.0-957.1.3.bug15570.plus.el7.x86_64.rpm
 +
<source lang=bash>
 +
] $ sudo yum update
 +
] $ sudo yum install https://people.centos.org/toracat/kernel/7/plus/bug15570new/kernel-3.10.0-957.1.3.bug15570.plus.el7.x86_64.rpm
 +
] $ sudo yum install https://people.centos.org/toracat/kernel/7/plus/bug15570new/kernel-devel-3.10.0-957.5.1.bug15570.plus.el7.x86_64.rpm
 +
] $ sudo reboot now
 +
</source>
 +
 
 +
3. Start your Centos - hope that yakuake starts automatically. If your mouse works correct follow 3.a below if not follow 3.b below.
 +
 
 +
'''3.a''' If your mouse is working correctly then you can access to the devices icon in the system dock to the right in the Centos process line and chose to open the '''Guest Additions CD''' in File manager then click autorun.sh and follow the instructions.
 +
 
 +
If you can't access the CD because the mouse doesn't work properly then follow these instructions:
  
In VirtualBox menu click on '''Devices''' and select Optical Drives. In this menu select '''Force unmount''' if it is available.
+
'''3.b''' In VirtualBox menu click on '''Devices''' and select Optical Drives. In this menu select '''Force unmount''' if it is available. Next click on the '''Insert Guest Additions CD''' in the '''Devices''' menu.
  
3. Open yakuake and execute  
+
Open yakuake and execute  
 
<source lang=bash>
 
<source lang=bash>
 
] $ sudo mkdir -p /mnt/cd
 
] $ sudo mkdir -p /mnt/cd
Line 23: Line 35:
 
] $ sudo reboot now
 
] $ sudo reboot now
 
</source>
 
</source>
after the reboot your mouse may be working again and the window resizes to its maximum.
 
  
4. After reboot it is a good idea to update the Centos software to the latest by performing:
+
reboot and reinstall the VirtualBox extension to the running kernel again. Sometimes a reboot is necessary to get the add-on's to work correctly.
<source lang=bash>
+
] $ sudo yum update
+
</source>
+
if you get a new kernel reboot.
+
 
+
5. Currently there is a bug in the kernel delivered from Centos. A patched version that will work correctly is over at https://people.centos.org/toracat/kernel/7/plus/bug15570new/kernel-3.10.0-957.1.3.bug15570.plus.el7.x86_64.rpm
+
<source lang=bash>
+
] $ sudo yum install https://people.centos.org/toracat/kernel/7/plus/bug15570new/kernel-3.10.0-957.1.3.bug15570.plus.el7.x86_64.rpm
+
</source>
+
reboot and maybe install the VirtualBox extension to this kernel again.
+

Revision as of 10:13, 11 February 2019

Centos is regularly updated - when the number after the . (dot) is updated is it a minor update. But still minor updates brings new and fresh software in the latest releases.

Centos 7.6 is not compatible with VirtualBox 5.2.22 and the new 7.6 kernel does not yet contain fixes to the error that makes the mouse not working correct.

Update VirtualBox to version 6.something and then update your Centos.

If you accedentially updated your Centos first the it can be a bit problematic to install the VirtualBox extension because the mouse doesn't work in the mix of Virtualbox 5.2.22 drivers and Centos 7.6 drivers.

Follow these instructions and you should be up running soon:

1. Update VirtualBox to version 6.something

2. Currently there is a bug in the kernel delivered from Centos. A patched version that will work correctly is over at https://people.centos.org/toracat/kernel/7/plus/bug15570new/kernel-3.10.0-957.1.3.bug15570.plus.el7.x86_64.rpm

] $ sudo yum update
] $ sudo yum install https://people.centos.org/toracat/kernel/7/plus/bug15570new/kernel-3.10.0-957.1.3.bug15570.plus.el7.x86_64.rpm
] $ sudo yum install https://people.centos.org/toracat/kernel/7/plus/bug15570new/kernel-devel-3.10.0-957.5.1.bug15570.plus.el7.x86_64.rpm
] $ sudo reboot now

3. Start your Centos - hope that yakuake starts automatically. If your mouse works correct follow 3.a below if not follow 3.b below.

3.a If your mouse is working correctly then you can access to the devices icon in the system dock to the right in the Centos process line and chose to open the Guest Additions CD in File manager then click autorun.sh and follow the instructions.

If you can't access the CD because the mouse doesn't work properly then follow these instructions:

3.b In VirtualBox menu click on Devices and select Optical Drives. In this menu select Force unmount if it is available. Next click on the Insert Guest Additions CD in the Devices menu.

Open yakuake and execute

] $ sudo mkdir -p /mnt/cd
] $ sudo mount -t iso9660 /dev/sr0 /mnt/cd
] $ cd /mnt/cd
] $ ./autorun.sh
] $ sudo reboot now

reboot and reinstall the VirtualBox extension to the running kernel again. Sometimes a reboot is necessary to get the add-on's to work correctly.