惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

酷 壳 – CoolShell
酷 壳 – CoolShell
H
Hacker News: Front Page
P
Palo Alto Networks Blog
T
ThreatConnect
Apple Machine Learning Research
Apple Machine Learning Research
博客园_首页
T
True Tiger Recordings
P
Privacy & Cybersecurity Law Blog
B
Blog
IT之家
IT之家
Last Week in AI
Last Week in AI
F
Full Disclosure
Hacker News: Ask HN
Hacker News: Ask HN
C
Comments on: Blog
Microsoft Azure Blog
Microsoft Azure Blog
C
Cybersecurity and Infrastructure Security Agency CISA
Microsoft Security Blog
Microsoft Security Blog
博客园 - 【当耐特】
N
News and Events Feed by Topic
NISL@THU
NISL@THU
腾讯CDC
雷峰网
雷峰网
Security Latest
Security Latest
李成银的技术随笔
M
Microsoft Research Blog - Microsoft Research
L
LangChain Blog
L
Lohrmann on Cybersecurity
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
C
Check Point Blog
Y
Y Combinator Blog
Recent Announcements
Recent Announcements
博客园 - Franky
N
News | PayPal Newsroom
V
V2EX
A
About on SuperTechFans
The Register - Security
The Register - Security
月光博客
月光博客
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Google Online Security Blog
Google Online Security Blog
MyScale Blog
MyScale Blog
Cisco Talos Blog
Cisco Talos Blog
Vercel News
Vercel News
WordPress大学
WordPress大学
C
Cyber Attacks, Cyber Crime and Cyber Security
The Hacker News
The Hacker News
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
爱范儿
爱范儿
A
Arctic Wolf
L
LINUX DO - 最新话题
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More

博客园 - 三瑞

idea 安装cline openclaw 允许局域网能访问 VirtualBox 共享文件夹配置指南(Ubuntu 24.04 不重启方案) Nginx+Bearer Key 保护 Ollama + OpenClaw 远程连接 ubuntu24.04 安装 vscode Ubuntu 24.04 安装 KVM 完整指南 - 三瑞 Ubuntu 启动卡顿 2 分钟?一条命令解决 Linux下Ollama + AMD ROCm GPU加速安装实操指南 - 三瑞 Ubuntu 24.04 挂载第二块磁盘并扩展 LVM 系统盘 openclaw qqbot 反复提示 ubuntu 终端代理设置 干货|xrdp 无人值守+同屏稳定配置(Ubuntu 22.04/24.04 实测可用) openclaw 使用不同的模型 AMD GPU (RX 7900 XTX) 使用情况查看 Ubuntu 24.04 自带GNOME RDP远程连不上?一招解决xrdp残留冲突问题 Ubuntu 24.04 磁盘空间管理:从查看到 LVM 动态扩容完整指南 避坑指南完整版:OpenClaw 连接 Ollama 详细实战教程 干货|Ubuntu 24.04 + AMD 7900 XTX 24G:Ollama 纯 Vulkan 加速部署(免 ROCm) Windows 连接 Ubuntu XRDP 远程桌面 QQ机器人接入OpenClaw完整指南:从零开始打造你的智能助手 VirtualBox U盘识别问题完美解决指南 ——记一次从入门到放弃再到入门的折腾历程 Ubuntu 系统 root 密码忘记怎么办?一招教你轻松重置 HTTP 错误 500.21 - Internal Server Error 处理程序“BlockViewHandler”在其模块列表中有一个错误模块“ManagedPipelineHandler” 达梦数据库(DM)通过数据库类型生成修改字段类型的语句
VirtualBox Ubuntu 虚拟机安装增强功能完整指南
三瑞 · 2026-03-13 · via 博客园 - 三瑞

问题现象

  • Ubuntu 输入密码后卡在桌面壁纸界面

  • 无法与宿主机进行复制粘贴

  • 拖放功能失效

🛠️ 解决方案:安装 VirtualBox 增强功能

第一步:进入恢复模式

  1. 重启虚拟机,在启动时长按 Shift 键进入 GRUB 菜单

  2. 选择 "Advanced options for Ubuntu"

  3. 选择 "(recovery mode)" 选项

  4. 在 Recovery Menu 中:

    • 先选择 network(启用网络)

    • 再选择 root(进入命令行)

第二步:准备编译环境

进入 root 命令行后,依次执行:

第三步:挂载增强功能光盘

第四步:安装增强功能

第五步:验证设置

重启进入系统后,检查 VirtualBox 菜单栏:

  • 设备 -> 共享剪贴板 -> 设为 "双向"

  • 设备 -> 拖放 -> 设为 "双向"

📸 关键步骤截图参考

图1:Recovery Menu 界面

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

图2:确认光盘挂载

root@ulinux1:~

图3:安装成功提示

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 为例,不同版本可能略有差异,但核心步骤相同。