我想通过 mount 将分区挂载到辅助文件夹以修复损坏的 grub。
我使用了命令。
sudo mount /dev/sdb2 /home/ubuntu/temp
Run Code Online (Sandbox Code Playgroud)
并得到错误:
mount: you must specify the filesystem type
Run Code Online (Sandbox Code Playgroud)
为什么?
安装 Ubuntu 12.04 后,使用 Ubuntu 10.10 擦除旧分区后,我无法加载 grub。我也无法访问我的 Windows 7 分区
我收到消息:
> error: no such device: 58ABF29C...
grub rescue>
Run Code Online (Sandbox Code Playgroud)
我想我的主引导记录被擦除/损坏了。我该如何检查和解决这个问题?
我想在我的 64 位 Lucid Lynx 上安装 nautilus-open-terminal,我得到了这个:
antonio@antonio-desktop:~$ sudo apt-get install nautilus-open-terminal
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package nautilus-open-terminal is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'nautilus-open-terminal' has no installation candidate
Run Code Online (Sandbox Code Playgroud)
我该如何解决这个问题?
我在 64 位 Ubuntu 12.04 机器上成功安装了 cuda 5 的 nvidia 驱动程序和工具包(但不是示例)。即使我以前运行过,示例也无法安装
sudo apt-get install freeglut3-dev build-essential libx11-dev libxmu-dev libxi-dev libgl1-mesa-glx libglu1-mesa libglu1-mesa-dev
Run Code Online (Sandbox Code Playgroud)
我似乎找不到 nvcc。我跑了
export LD_LIBRARY_PATH=/usr/local/cuda-5.0/lib:/usr/local/cuda-5.0/lib64:$LD_LIBRARY_PATH
Run Code Online (Sandbox Code Playgroud)
nvcc -v 报告未找到编译器:
nvcc -V No command 'nvcc' found, did you mean:
Command 'nvlc' from package 'vlc-nox' (universe)
nvcc: command not found
Run Code Online (Sandbox Code Playgroud)
入门指南在这里没有多大帮助。
这里发生了什么?我是否需要安装 gpu 计算 sdk 示例才能获得 nvcc?
我最终搞砸了我的终端,同时为 Coursera Scala 课程设置了 Sbt。我不能再召唤 gedit(或其他任何东西)了。我收到以下错误:
Command 'gedit' is available in '/usr/bin/gedit'
The command could not be located because '/usr/bin' is not included in the PATH environment variable.
Run Code Online (Sandbox Code Playgroud)
此外,终端的每个新实例在写入任何命令之前都会写入这些消息:
-bash: :/home/antonio/jdk7/jdk1.7.0_07/bin: No such file or directory
-bash: export: `/home/antonio/Desktop/Scala/install/sbt/bin:/home/antonio/jdk7/jdk1.7.0_07/bin': not a valid identifier
Run Code Online (Sandbox Code Playgroud)
我最近手动安装了 jdk 7,它显然有效:
java -version
java version "1.7.0_07"
Java(TM) SE Runtime Environment (build 1.7.0_07-b10)
Java HotSpot(TM) 64-Bit Server VM (build 23.3-b01, mixed mode)
Run Code Online (Sandbox Code Playgroud)
在设置 Sbt 时,我通过gedit ~/.bashrc在终端上写入而不是写入来编辑 bashrc 的错误gedit .bashrc,我在打开的 bashrc 文件的末尾写了以下几行:
export …Run Code Online (Sandbox Code Playgroud)