Sudo apt install linux-headers-amd64 linux-headers-$(uname -r) Sudo chgrp -R user FooBar/ Run vboxconfig sudo apt update “FooBar”), first ensire that the existing machine’s folder structure is all owned by your user. To load an existing virtualbox machine image (e.g. Sudo apt -f install Loading an existing machine image Install the VirtualBox package as follows: sudo dpkg -i virtualbox-6.1_6.1.38-153438~Debian~bullseye_b The vboxdrv module appears to be unsigned. Inserting the guest additions CD should now work as expected.Note: To get VirtualBox working on my machine, I had to disable “secure boot” in the machine’s BIOS settings so that the vboxdrv kernel module could be loaded. If you issue “ blkid -po udev /dev/sr0 again“, the system should reply with “ error: /dev/sr0: No medium found“. ID_FS_LABEL_ENC=alpine-virt\x203.5.0\x20x86_64Įject the offending iso image by issuing the command: eject /dev/sr0 Investigate the issue further by using the blkid command to list detailed information about the device. I believe the most frequent issue to be the following error: Could not mount the media/drive ‘/opt/VirtualBox/additions/VBoxGuestAdditions.iso’ (VERR_PDM_MEDIA_LOCKED). dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0 So why does “ mount /media/cdrom0” work when omitting the device_file? Because the mount command will check /etc/fstab to find the missing argument: # /etc/fstab If you’re using a desktop environment, just ignore the subsequent prompt to manage the device. From the “Devices” menu in the virtual machine’s menu bar, select the “Insert Guest Additions CD image” option. # as rootĪpt-get install -no-install-recommends gcc make linux-headers-$(uname -r) Mount the CD and run the installer Let’s keep it clean and only install the bare minimum of required packages. Disclaimer: this is a minimal approach bereft of automagic and thus likely not desirable for most users.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |