Difference between revisions of "Update Centos to version 7.6"

From Klaus' wiki
Jump to: navigation, search
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
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 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.'''
+
'''Update 20190407: Kernel 3.10.0-957.10.1 is safe to use and the text below should not be necessary any more.'''
 +
 
 +
'''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.
 
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 13:
 
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>
  
In VirtualBox menu click on '''Devices''' and select Optical Drives. In this menu select '''Force unmount''' if it is available.
+
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. Open yakuake and execute  
+
'''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  
 
<source lang=bash>
 
<source lang=bash>
 
] $ sudo mkdir -p /mnt/cd
 
] $ sudo mkdir -p /mnt/cd
 
] $ sudo mount -t iso9660 /dev/sr0 /mnt/cd
 
] $ sudo mount -t iso9660 /dev/sr0 /mnt/cd
] $ sudo init 6
+
] $ cd /mnt/cd
 +
] $ ./autorun.sh
 +
] $ sudo reboot now
 
</source>
 
</source>
after the reboot your mouse may be working again and the window resizes to its maximum.
+
 
 +
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.

Latest revision as of 15:13, 7 April 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.

Update 20190407: Kernel 3.10.0-957.10.1 is safe to use and the text below should not be necessary any more.

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.