升级到 Ubuntu 14.04 后,当我启动 VirtualBox 虚拟机时,我得到:
Failed to open a session for the virtual machine win7pro32bit.
Implementation of the USB 2.0 controller not found!
Because the USB 2.0 controller state is part of the saved VM state, the VM cannot be
started. To fix this problem, either install the 'Oracle VM VirtualBox Extension Pack'
or disable USB 2.0 support in the VM settings (VERR_NOT_FOUND).
Result Code: NS_ERROR_FAILURE (0x80004005)
Component: Console
Interface: IConsole {8ab7c520-2442-4b66-8d74-4ff1e195d2b6}
Run Code Online (Sandbox Code Playgroud)
12.10 相同问题的解决方案不能解决问题:
sudo apt-get purge virtualbox …Run Code Online (Sandbox Code Playgroud) 一个应用程序刚刚崩溃,我想复制错误消息并将其粘贴到搜索引擎中,希望能找到解决方案。
不幸的是,错误对话框不允许我复制/粘贴任何内容:
特别是堆栈跟踪,它很长。手动输入速度慢且不可靠。
也许可以从其他地方复制相同的细节?
注意:类似于如何复制不可报告错误的文本?但有更多细节。如果一个必须作为副本关闭,尽管更新,我相信这个更有用。事实上,它更受欢迎:那里有 200 次观看,这里有 42k 次观看。
我知道如何截屏,但我想在有限的时间内截取多张屏幕截图(截取我无法暂停的单个程序执行的屏幕截图)。
是否有一个程序可以负责“PrtScr”键盘键并且不询问就存储每个屏幕截图?标准的 Ubuntu 工具会弹出一个对话框,询问我想将文件保存在哪里,我想要一个不询问而只保存在桌面上或其他地方的工具,如 00001.png 00002.png 等。
我刚刚安装了 Gnome,当我点击“活动”时,左侧会出现一个方便的栏,允许我切换到其他应用程序。不幸的是,一旦我选择了一个应用程序,该栏就会隐藏。
如何使此栏始终可见?
我的 Thinkpad R500 的后退/前进键与方向键差不多,所以在 Firefox 上我总是不小心丢失输入的文本。
如何禁用这些后退/前进键?
摘自 xev:
KeyPress event, serial 29, synthetic NO, window 0x5e00001,
root 0xbc, subw 0x0, time 2375874, (1279,794), root:(1285,881),
state 0x10, keycode 166 (keysym 0x1008ff26, XF86Back), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 32, synthetic NO, window 0x5e00001,
root 0xbc, subw 0x0, time 2377115, (1279,794), root:(1285,881),
state 0x10, keycode 167 (keysym 0x1008ff27, XF86Forward), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: …Run Code Online (Sandbox Code Playgroud) VirtualBox 突然开始拒绝启动现有的虚拟机,这出现在日志中:
00:00:03.946244 HDA: Reset
00:00:03.946359 AssertLogRel /mnt/tinderbox/extpacks-5.0/src/VBox/Devices/USB/DevEHCI.cpp(4955) int ehciR3Construct(PDMDEVINS*, int, CFGMNODE*): PDM_VERSION_ARE_COMPATIBLE((pDevIns)->pHlpR3->u32Version, PDM_DEVHLPR3_VERSION)
00:00:03.946378 DevHlp=0xffe700f1 mine=0xffe700e1
00:00:03.946407 PDM: Failed to construct 'usb-ehci'/0! VERR_PDM_DEVHLPR3_VERSION_MISMATCH (-2871) - The device helper structure version has changed.
00:00:03.946421 If you have upgraded VirtualBox recently, please make sure you have terminated all VMs and upgraded any extension packs. If this error persists, try re-installing VirtualBox.
00:00:04.037170 NAT: zone(nm:mbuf_cluster, used:0)
00:00:04.037303 NAT: zone(nm:mbuf_packet, used:0)
00:00:04.037317 NAT: zone(nm:mbuf, used:0)
00:00:04.037328 NAT: zone(nm:mbuf_jumbo_pagesize, used:0)
00:00:04.037422 NAT: zone(nm:mbuf_jumbo_9k, used:0) …Run Code Online (Sandbox Code Playgroud) 我正在正常使用我的 Ubuntu 2015.04(带有 ecryptfs 加密的用户主页)笔记本电脑,突然,硬盘驱动器变为只读。
我重新启动,现在它卡在这个:
[ 0.703206] ACPI PCC probe failed.
starting version 219
error: /dev/sdb: No medium found
error: /dev/sdb: No medium found
Welcome to emergency mode! After logging in, type "journalctl -xb" to view
system logs, "systemctl reboot" to reboot, "systemctl default or ^D to
try again to boot into default mode.
root@nico:~#
Run Code Online (Sandbox Code Playgroud)
系统日志中有趣的部分:
-- Unit systemd-fsckd.service has begun starting up.
system-fsck[475]: /dev/sda1 contains a file system with errors, check forced.
kernel: ACPI warning: \_SB_.PCIO.PEG_.VID_._DSM: Argument #4 …Run Code Online (Sandbox Code Playgroud) 是否有任何简短的方法可以将管道输出保存到它处理的同一个文件中。例如,这就是我实际在做的事情
$ cat filename | sort | uniq > result
$ rm -f filename
$ mv result filename
Run Code Online (Sandbox Code Playgroud)
我想知道是否有一种方法可以在一行中完成(不使用 && 附加这些命令)
这不是方法,而是获得一个想法
$ cat filename | sort | uniq > filename
Run Code Online (Sandbox Code Playgroud) Lenovo 将 BIOS 更新作为 .iso 文件(示例)分发,这些文件应该刻录在 CD 上并启动。将它刻录到 CD 工作并正确启动,但现在我想改用 U 盘(因为我不信任我的 CD 驱动器),如何使用 Ubuntu 创建这个 U 盘?
有许多教程解释了如何从基于 Linux 的 ISO(使用 UNetbootin 和类似工具,它们在 U 盘的根目录下创建与 Linux 相关的文件)和基于 Windows 的实用程序(使用 FreeDOS 和类似工具)创建可启动的 U 盘。我相信这里也不是解决方案,因为 BIOS 更新 ISO 文件既不是基于 Linux 也不是基于 DOS(安装 ISO 不显示任何已知的文件系统)
virtualbox ×3
boot ×2
14.04 ×1
acpi ×1
apport ×1
bash ×1
bios ×1
command-line ×1
crash ×1
dkms ×1
ecryptfs ×1
fsck ×1
gnome ×1
gnome-shell ×1
hard-drive ×1
iso ×1
kernel ×1
keyboard ×1
lenovo ×1
screenshot ×1
thinkpad ×1
unetbootin ×1
usability ×1
usb-storage ×1