Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
Deepin MBR 分区下 Legacy 引导和 UEFI 引导共存的问题
Experiences and Insight
1238
views ·
3
replies ·
To
floor
Go
march_happy
deepin
2018-03-26 04:55
Author
本帖最后由 march_happy 于 2018-3-25 20:56 编辑
在一块套在 USB 3.0 的固态硬盘里安装了 Deepin ,原先为了考虑兼容性,使用的是 MBR 格式的分区并且将 Deepin 根目录所在的分区加上了 boot 标签,前方预留了一块 FAT 分区。后来随着电脑的更新,周围没有只能使用 Legacy 方式引导的电脑,
于是给前面的 FAT 分区加上 esp 标签,卸载掉原来的 grub-pc ,换上了 grub-efi-amd64 。但是现在生成出来的配置文件,启动的时候都提示:
error: can't find command 'initrd'
error: can't find command 'linux'
Copy the Code
必须要手动将 grub.cfg 的 initrd 替换为 initrdefi, linux 替换为 linuxefi ,并且每次更新过内核以后生成的新配置文件都会造成同样的问题。
请问有没有高人能给个指点,谢谢。就算必须用 UEFI 也无所谓,反正只能支持 BIOS 启动的电脑已经是老古董了。
Reply
Like 0
Favorite
View the author
All Replies
comzhong
deepin
2018-03-26 06:25
#1
\boot\grub\x86_64-efi 下面是 grub2 模块,都齐全吗?
Reply
Like 0
View the author
梦幻大陆
deepin
2018-03-27 18:30
#2
在/etc/grub.d/00_header里加一条:
insmod linux
然后再运行 update-grub
Reply
Like 0
View the author
march_happy
deepin
2018-03-27 23:06
#3
https://bbs.deepin.org/user/4870
似乎是全的
https://bbs.deepin.org/user/103099
加在一开始吗?
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
How to fix grub boot menu that has disappeared?
Looking Deepin ci 25.2.0 Developer/Unstable repositories
Popular Events
More
在一块套在 USB 3.0 的固态硬盘里安装了 Deepin ,原先为了考虑兼容性,使用的是 MBR 格式的分区并且将 Deepin 根目录所在的分区加上了 boot 标签,前方预留了一块 FAT 分区。后来随着电脑的更新,周围没有只能使用 Legacy 方式引导的电脑,于是给前面的 FAT 分区加上 esp 标签,卸载掉原来的 grub-pc ,换上了 grub-efi-amd64 。但是现在生成出来的配置文件,启动的时候都提示:
必须要手动将 grub.cfg 的 initrd 替换为 initrdefi, linux 替换为 linuxefi ,并且每次更新过内核以后生成的新配置文件都会造成同样的问题。
请问有没有高人能给个指点,谢谢。就算必须用 UEFI 也无所谓,反正只能支持 BIOS 启动的电脑已经是老古董了。