Centos Stream and VirtualBox

Because sometimes, it just won’t work out of the box.

Presenting CentOS stream attracted my attention, so wanted to give it a try from within a virtual box machine.

Downloaded the small 8G ISO Installation went, really, smoothly, then we are off to compiling the guest additions for our new machine.


yum remove kernel
yum install elfutils-libelf-devel

 
yum install glibc

 wget http://ftp.mirrorservice.org/sites/sourceware.org/pub/gcc/releases/gcc-9.2.0/gcc-9.2.0.tar.gz
/tmp/vbox.0/r0drv/linux/memuserkernel-r0drv-linux.c: In function ‘VBoxGuest_RTR0MemUserIsValidAddr’:
/tmp/vbox.0/r0drv/linux/memuserkernel-r0drv-linux.c:72:55: error: macro "access_ok" passed 3 arguments, but takes just 2
     bool fRc = access_ok(VERIFY_READ, (void *)R3Ptr, 1);
                                                       ^
/tmp/vbox.0/r0drv/linux/memuserkernel-r0drv-linux.c:72:16: error: ‘access_ok’ undeclared (first use in this function)
     bool fRc = access_ok(VERIFY_READ, (void *)R3Ptr, 1);
                ^~~~~~~~~