Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
【方法】解决deepin 2015 官方方法efi安装无grub.cfg
Experiences and Insight
1891
views ·
0
replies ·
To
floor
Go
idoz
deepin
2016-01-08 19:28
Author
本帖最后由 idoz 于 2016-1-8 11:32 编辑
1. 问题帖:
https://bbs.deepin.org/post/35682
http://bbs.deepin.org/post/35682#
2. 帮助:
来自 @
lieri
https://bbs.deepin.org/post/35682
3. 方法:
多系统安装,windows 下 不建议对ext4分区强行写入。于是
Step 0 准备grub.cfg 文件
menuentry 'Deepin GNU/Linux' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
这个可以不正确,因为下边有按照uuid寻找的命令
if [ x$feature_platform_search_hint = xy ]; then
else
search --no-floppy --fs-uuid --set=root
3be7e356-239e-479d-9dbd-37a837bc4749
fi
linux /boot/vmlinuz-4.2.0-1-amd64 root=UUID=
3be7e356-239e-479d-9dbd-37a837bc4749
ro splash silent quiet loglevel=3
initrd /boot/initrd.img-4.2.0-1-amd64
}
Copy the Code
Step1: 将用来启动的grub.cfg 放入 efi 分区
Step2: efi启动通过grub.efi 启动,然后使用configfile (hd0,gpt4)/efi/Deepin Linux 15/ grub.efi [这个命令是演示用的,具体操作的时候,使用Tab 可以方便的找到]
Step3: 然后就能够选择启动项,然后就进入了系统。 然后 打开终端(ctrl alt t) ,执行
grub-mkconfig -o /boot/grub/grub.cfg
Copy the Code
参考:
http://bbs.archlinuxcn.org/viewtopic.php?id=1037
以上, Step 0 ~ Step2 可以换成另一种方法:就是在grub > 直接写。将,menuentry 里面的东西直接写在grub .这也就意味着,写错一次,要重新写过。 如果cfg文件有小的失误,可以在选项上按e直接修改。
以上,完毕
Reply
Like 0
Favorite
View the author
All Replies
No replies yet
Please
sign
in first
Featured Collection
Change
Nuntia - Modern IMAP/SMTP mail client for Deepin (Beta tester wanted!)
[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
Adding a Dancing Spectrum Bar to the Deepin Taskbar | deepin-spectrum
Popular Events
More
1. 问题帖: https://bbs.deepin.org/post/35682http://bbs.deepin.org/post/35682#
2. 帮助:
来自 @lieri
https://bbs.deepin.org/post/35682
3. 方法:
多系统安装,windows 下 不建议对ext4分区强行写入。于是
Step 0 准备grub.cfg 文件
Step1: 将用来启动的grub.cfg 放入 efi 分区
Step2: efi启动通过grub.efi 启动,然后使用configfile (hd0,gpt4)/efi/Deepin Linux 15/ grub.efi [这个命令是演示用的,具体操作的时候,使用Tab 可以方便的找到]
Step3: 然后就能够选择启动项,然后就进入了系统。 然后 打开终端(ctrl alt t) ,执行
参考:http://bbs.archlinuxcn.org/viewtopic.php?id=1037
以上, Step 0 ~ Step2 可以换成另一种方法:就是在grub > 直接写。将,menuentry 里面的东西直接写在grub .这也就意味着,写错一次,要重新写过。 如果cfg文件有小的失误,可以在选项上按e直接修改。
以上,完毕