After Debian is installed, select "Install enhancement" under virtualbox:
Select "Install enhancement" from the "device" menu, and a "vboxadditions_4.1.6_74713" icon appears on the desktop.
Open the terminal, switch to the root identity, run Su, enter the password, and press Enter.
Run
SH/Media/CDROM/vboxlinuxadditions. Run
Note:
If it is a brand new Debian system, directly installing virtualbox enhancement may fail. This is because the virtualbox enhancement function requires the compilation link tool. Follow these steps to install it:
Run
Apt-Get install build-essential Linux-headers-$ (uname-R)
(This step is essential to install the Build Environment and the required library files. Otherwise, the installation enhancement function may fail and the building the main guest additions module [failure] will be displayed.)
Then execute the command
SH/Media/CDROM/vboxlinuxadditions. Run
Restart and install the Feature Pack.