Chrome OS + VirtualBox Guest Additions
-
17-04-2021 - |
Question
I can't install the VirtualBox Guest Additions in the latest build of Google Chrome OS. When I run the installer, I get the following error:
Verifying archive integrity... All good. Uncompressing VirtualBox 4.1.8 Guest Additions for Linux......... VirtualBox Guest Additions installer mkdir: cannot create directory `/opt/VBoxGuestAdditions-4.1.8': Read-only file system tar: /opt/VBoxGuestAdditions-4.1.8: Cannot chdir: No such file or directory tar: Error is not recoverable: exiting now
What do I do now? Can I mount the filesystem in read-write mode? Does the Lime build support the guest additions? I'm using the Vanilla build.
Host OS: Mac OS X Lion (10.7)
Guest OS: Google Chrome OS Vanilla from http://chromeos.hexxeh.net/
VirtualBox version: 4.1.8
Solution
So someone on the VirtualBox IRC channel irc://chat.freenode.net/#vbox told me that the guest additions won't work on Chrome OS.
After trying the suggestion from @sarnold, running mount -oremount,rw /
, I was told
Unable to determine your Linux distribution
OTHER TIPS
If you want to try remounting the filesystem as read-write, the command is:
mount -oremount,rw /
But there might be a good reason for /
to be mounted read-only. I doubt the VirtualBox guest tools care where they are installed, so if you just unpack the archive using tar
or ar
or whatever is necessary, you can probably install them somewhere that is mounted read-write and configure them appropriately.
If you don't mind using dev mode, I was able to run a parrot os vm with qemu and kvm on a pixelbook. I used the change kernel flags script from crouton repo, then installed qemu and kvm packages normally for my debian 9 crouton chroot. Virt manager doesn't work, but I can make a hard drive image with CLI and boot up a vm with CLI and it all works, albeit it is a bit slow even with kvm. Probably cause even a pixelbook has low resources compared to a normal laptop.