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

推荐订阅源

人人都是产品经理
人人都是产品经理
Stack Overflow Blog
Stack Overflow Blog
L
LINUX DO - 最新话题
Google Online Security Blog
Google Online Security Blog
Schneier on Security
Schneier on Security
Spread Privacy
Spread Privacy
www.infosecurity-magazine.com
www.infosecurity-magazine.com
雷峰网
雷峰网
Google DeepMind News
Google DeepMind News
Microsoft Azure Blog
Microsoft Azure Blog
IT之家
IT之家
V
Vulnerabilities – Threatpost
K
Kaspersky official blog
S
Schneier on Security
B
Blog
The Register - Security
The Register - Security
SecWiki News
SecWiki News
Hacker News: Ask HN
Hacker News: Ask HN
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
S
Security Affairs
T
The Blog of Author Tim Ferriss
G
Google Developers Blog
T
Tenable Blog
P
Proofpoint News Feed
Apple Machine Learning Research
Apple Machine Learning Research
D
DataBreaches.Net
S
Secure Thoughts
Security Latest
Security Latest
H
Heimdal Security Blog
The Hacker News
The Hacker News
O
OpenAI News
AWS News Blog
AWS News Blog
量子位
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
腾讯CDC
U
Unit 42
L
Lohrmann on Cybersecurity
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
L
LangChain Blog
阮一峰的网络日志
阮一峰的网络日志
T
The Exploit Database - CXSecurity.com
NISL@THU
NISL@THU
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Application and Cybersecurity Blog
Application and Cybersecurity Blog
Hugging Face - Blog
Hugging Face - Blog
The Last Watchdog
The Last Watchdog
Recorded Future
Recorded Future
V2EX - 技术
V2EX - 技术
爱范儿
爱范儿
F
Full Disclosure

轶哥博客

blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog blog
blog
2016-04-20 · via 轶哥博客

Ubuntu

  如果安装ubuntu后启动报错:“Reboot and Select proper Boot device or Insert Boot Media in selected Boot device”。(Ubuntu 16.04)解决方案:插上U盘或CD,进入Try Ubuntu模式。使用sudo fdisk -l查看你的Ubuntu安装在哪里。例如:/dev/sda1,对应修改以下命令执行。注意:不要选择EFI分区!

sudo mount /dev/sda1 /mnt
sudo apt-get update
sudo apt-get install grub

  接下来修复引导:

sudo grub-install /dev/sda --root-directory=/mnt

  会看到这样的界面:

https://cdn.wyr.me/wp-content/uploads/2016/04/QQ20160420-0@2x.png

  OK。接下来即可重启进入操作系统!

  如果安装正确,则可以直接进入系统。当然,也有部分机子会报错:

  如果报错“Minimal BASH-like line editing is supported.” 有两种解决方法:

  第一种(推荐)

  依次输入如下命令(注意字符中空格)

grub>root (hd0,0)

  命令含义:从的硬盘第一个分区C盘启动

grub>chainloader (hd0,0)+1

  命令含义:指示GRUB读取分区的第一个扇区的引导记录

grub>boot

  命令含义:启动GRUB

  PS:如果执行这样的命令后,ubuntu启动提示“Unable to find a medium containing a live file system”。google有解。

  第二种

sudo apt-get -y purge grub
sudo apt-get install grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed
sudo grub-install /dev/sda --efi-directory=/mnt/boot/efi --boot-directory=/mnt/boot

  如果在制作Ubuntu To Go或安装Ubuntu出现“error: file '/grub/i386-pc/normal.mod' not found”的报错,请查看这篇文章