






















Ubuntu 输入密码后卡在桌面壁纸界面
无法与宿主机进行复制粘贴
拖放功能失效
重启虚拟机,在启动时长按 Shift 键进入 GRUB 菜单
选择 "Advanced options for Ubuntu"
选择 "(recovery mode)" 选项
在 Recovery Menu 中:
先选择 network(启用网络)
再选择 root(进入命令行)
进入 root 命令行后,依次执行:
重启进入系统后,检查 VirtualBox 菜单栏:
设备 -> 共享剪贴板 -> 设为 "双向"
设备 -> 拖放 -> 设为 "双向"
Recovery Menu (filesystem state: read/write) ------------------------------------------------ resume Resume normal boot clean Try to make free space dpkg Repair broken packages fsck Check all file systems grub Update grub bootloader network Enable networking <-- 先选这个 root Drop to root shell prompt <-- 再选这个 system-summary System summary
root@ulinux1:~
Verifying archive integrity... 100% MD5 checksums are OK. All good. Uncompressing VirtualBox 7.2.6 Guest Additions for Linux 100% VirtualBox Guest Additions installer VirtualBox Guest Additions: Starting. VirtualBox Guest Additions: Setting up modules VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel modules... VirtualBox Guest Additions: kernel modules and services 7.2.6 r172322 reloaded
Q: 点击"设备 -> 安装增强功能"没反应怎么办?
A: 这是正常的,光盘其实已经挂载。可以直接用命令行操作:
lsblk
Q: 安装完成后复制粘贴还是不能用?
A: 检查菜单栏设置是否设为"双向",并确认 VBoxClient 服务正在运行:
systemctl status vboxservice
重启后能正常进入 Ubuntu 桌面
可以在宿主机和虚拟机之间自由复制粘贴
支持拖放文件操作
💡 提示:本文以 VirtualBox 7.2.6、Ubuntu 24.04 为例,不同版本可能略有差异,但核心步骤相同。
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。