# Rocky Linux 9.4 on VirtualBox 7.0.6 Guest Additions workaround

**URL:** <https://forums.rockylinux.org/t/rocky-linux-9-4-on-virtualbox-7-0-6-guest-additions-workaround/14951>\
**Category:** Rocky Linux Help & Support\
**Tags:** rocky-linux-9\
**Created:** [July 7, 2024, 9:05am UTC](https://forums.rockylinux.org/t/rocky-linux-9-4-on-virtualbox-7-0-6-guest-additions-workaround/14951 "2024-07-07T09:05:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![guyr](https://avatars.discourse-cdn.com/v4/letter/g/838e76/32.png) [@guyr](https://forums.rockylinux.org/u/guyr)\
**Post date:** [July 7, 2024, 9:05am UTC](https://forums.rockylinux.org/t/rocky-linux-9-4-on-virtualbox-7-0-6-guest-additions-workaround/14951/1 "2024-07-07T09:05:20Z")

</div>

I’ll be brief, because I think my situation may be fairly isolated. I found a similar topic here but it is closed:

[Can’t install / build VirtualBox Guest Additions on Rocky 9](https://forums.rockylinux.org/t/cant-install-build-virtualbox-guest-additions-on-rocky-9/13077)

My host is Windows 7, so I’m stuck with VirtualBox 7.0.6. RockyLinux 9.3 worked fine in this environment, but with the recent update in 9.4 to kernel 5.14.0-427.16.1, Guest Additions failed to build with the following error:

> \_\_pte\_offset\_map is undefined

I couldn’t find much help on this specific error, but I found this general post in Centos 9 about issues installing Guest Additions:

[[Centos 9 Guest] Cannot install Guest Additions 7.0.12](https://forums.virtualbox.org/viewtopic.php?t=110520)

I followed the instructions there, and got Rocky working with the latest Guest Additions on the day I’m writing this:

```auto
[guyr@rocky64 ~]$ VBoxClient -version
7.0.19r163782

```

I just did a software update _after_ getting this all working, including a new kernel, and Guest Additions is continuing to work. I imagine this will probably break again at some point in the future, which is part of my motivation for documenting all this. BTW, I also have an Ubuntu VM running the latest 24.04, and that continues to work with the default VirtualBox 7.0.6 Guest Additions. But that has moved on to kernel 6.8.0-36, which might be why I haven’t encountered this issue there.

Hope this helps somebody (including a future me 😄 ). To save people having to read the complete linked article, the brief solution is to install the latest test build of the Guest Additions:  
" This issue should be fixed in the [VirtualBox test builds](https://www.virtualbox.org/wiki/Testbuilds) 7.0.13r160458 and newer."

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/rockylinux/original/1X/91b7219eec10e30013422e4df76c1d898711a5d5.svg) [@system](https://forums.rockylinux.org/u/system)\
**Post date:** [September 5, 2024, 9:06am UTC](https://forums.rockylinux.org/t/rocky-linux-9-4-on-virtualbox-7-0-6-guest-additions-workaround/14951/2 "2024-09-05T09:06:07Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
