V3nom's
  • Welcome
  • Getting Started
    • CEH v13
    • Basics of Networking
      • Network Models
        • Application Layer in OSI ->
        • Presentation Layer in OSI ->
          • Comprehensive list of character encoding formats
        • Session Layer in OSI ->
        • Transport Layer in OSI ->
        • Network Layer in OSI ->
        • Data Link Layer in OSI ->
        • Physical Layer ->
    • Arch Linux Installation Guide
    • How to add VBoxLinuxAdditions.run in Debian Based Linux Distros
    • C# Programming Language
  • Research Papers
    • Word Embedding for Anomaly Detection
    • Build your own Redis
    • Blockchain Technology
    • Interactive blocks
    • OpenAPI
    • Integrations
  • Risk Analysis & Mitigation Notes
    • Risk Analysis & Mitigation
      • Unit 1: An Introduction to Risk Management
      • Unit 2: The Threat Assessment Process
      • Unit 3: Vulnerability Issues
      • Unit 4 ( Risk Analysis & Mitigation )
      • Unit 5 ( Risk Analysis & Mitigation )
  • Ethical Hacking
    • Ethical Hacking Syllabus
      • Unit I: Introduction ( English )
      • Unit I: Introduction ( Hinglish )
      • Unit II: The Business Perspective ( English )
      • Unit II: The Business Perspective ( Hinglish )
      • Unit III: Preparing for a Hack ( English )
      • Unit III: Preparing for a Hack ( Hinglish )
      • Unit IV: Enumeration ( English )
      • Unit IV: Enumeration ( Hinglish )
      • Unit V: Deliverables ( English )
      • Unit V: Deliverables ( Hinglish )
  • .NET Framework Notes
    • .NET Framework Syllabus
      • Unit - I ( Hinglish Version )
      • Unit - I ( English - Version for exams )
      • Unit - II ( Hinglish Version - For Understanding )
      • Unit - II (English Version - for papers)
      • Unit - III ( Hinghlish Version )
      • Unit - III ( English - Version )
      • Unit - IV ( Hinglish Version )
      • Unit - IV ( English Version )
      • Unit - V ( Hinglish Version )
      • Unit - V ( English Version )
  • IOT
    • unit 1
    • unit 2
    • unit 3
    • unit 4
    • unit 5
  • AD-Hoc and Wireless Networks
    • Unit 1 ( Hinglish )
    • unit 2 Hinglish
    • All assignments answers with questions
    • Mind Maps for All Questions
    • Page
  • Distributed Systems
    • Unit 1
    • Unit 2
    • Unit 3
    • Unit 4
    • Unit 5
  • Group 1
    • 1’s and 2’s Complement
    • Direct Memory Access
    • Register Transfer Level
    • Interrupt-Based Input/Output (I/O)
    • Memory and CPU Design
    • Instruction Cycle
    • Addressing Modes
    • Pipelining
    • Three Types of Hazards
    • All Types of Differences Tables
    • Parallel Processing
    • Addition/Subtraction Conversion
    • Data Representation
    • Page 1
Powered by GitBook
On this page
  1. Getting Started

How to add VBoxLinuxAdditions.run in Debian Based Linux Distros

This Installation helps us auto configure the display size and other utilities when we setup a Linux distro inside the Virtual Box.

To install VirtualBox Guest Additions on your Ubuntu or any Debian Linux Distro inside a Virtual machine, follow these steps.

These additions will enable features like auto-resizing the VM window, shared folders, and better graphics support.


1. Mount the Guest Additions ISO

  1. Start your Ubuntu VM.

  2. In the VirtualBox menu, go to:

    • Devices → Insert Guest Additions CD image...

  3. If prompted, allow VirtualBox to download the Guest Additions ISO.


2. Update Your Ubuntu System

Before proceeding, update your system to ensure you have the latest packages:

sudo apt update && sudo apt upgrade -y

3. Install Required Dependencies

The Guest Additions require some tools to be installed first. Install them using the following command:

sudo apt install build-essential dkms linux-headers-$(uname -r)

4. Mount the CD-ROM

If the Guest Additions CD doesn't auto-mount, you can manually mount it:

sudo mkdir /media/cdrom
sudo mount /dev/cdrom /media/cdrom

Check the contents of the CD to confirm the mount worked:

ls /media/cdrom

When you'll mount the CD and will try to read it something like ( This is Read-Only ) will pop-up which is completely fine (so don't panic, everything is okay).


5. Run the Installer

Run the Guest Additions installer from the mounted ISO:

sudo /media/cdrom/VBoxLinuxAdditions.run

6. Reboot the Virtual Machine

After installation completes, reboot the VM:

sudo reboot

7. Verify Auto-Resize

After rebooting:

  • Resize the VirtualBox window, and Ubuntu should automatically adjust its resolution.

  • If it doesn’t work, ensure Auto-resize Guest Display is enabled:

    • Go to View → Auto-resize Guest Display in VirtualBox.


Troubleshooting

If the installation fails or auto-resizing doesn’t work:

  • Check the installation log for errors:

    cat /var/log/vboxadd-setup.log
  • Ensure the Guest Additions kernel modules are loaded:

    sudo modprobe vboxsf

This should be resolving any issues you guys were facing. Have a nice day. V3nom Signing Off!!

PreviousArch Linux Installation GuideNextC# Programming Language

Last updated 5 months ago