Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
执行sudo update-grub报错
Experiences and Insight
1124
views ·
1
replies ·
To
floor
Go
honwhywang
deepin
2018-06-17 01:35
Author
我在原来启动盘/dev/sda中多分出来一个分区/dev/sda3
然后把/dev/sda3 挂载到/boot上(原来没有/boot挂载点的)
然后执行
```
sudo grub-probe -t devicie /boot/grub
sudo grub-install /dev/sda
sudo grub-install --recheck /dev/sda
```
等都么有报错,然后执行`sudo update-grub`时报错
```
mount: /dev/sda3 is already mounted or /boot busy
/dev/sda3 is already mounted on /boot
Installing for i386-pc platform.
Installation finished. No error reported.
Generating grub configuration file ...
Found deepin image:
basename: 缺少操作数
Try 'basename --help' for more information.
```
Reply
Like 0
Favorite
View the author
All Replies
honwhywang
deepin
2018-06-17 01:48
#1
错误出现在/usr/sbin/grub-mkconfig的一行代码上
self=`basename $0`
这个就比较奇怪了
Reply
Like 0
View the author
Please
sign
in first
Featured Collection
Change
[Tutorial] deepin25 WSL Offline Installation Guide
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Ranking
Change
【Enhanced Repo】Better Deepin Repo is released
Popular Events
More
然后把/dev/sda3 挂载到/boot上(原来没有/boot挂载点的)
然后执行
```
sudo grub-probe -t devicie /boot/grub
sudo grub-install /dev/sda
sudo grub-install --recheck /dev/sda
```
等都么有报错,然后执行`sudo update-grub`时报错
```
mount: /dev/sda3 is already mounted or /boot busy
/dev/sda3 is already mounted on /boot
Installing for i386-pc platform.
Installation finished. No error reported.
Generating grub configuration file ...
Found deepin image:
basename: 缺少操作数
Try 'basename --help' for more information.
```