关于Gentoo设置UEFI启动的求助

47 views
Skip to first unread message

苌蓊芪

unread,
Jul 25, 2013, 2:28:22 AM7/25/13
to sh...@googlegroups.com
Hi,各位:
最近在折腾安装Gentoo,同时设想采用UEFI模式启动,安装过程参照了Gentoo官方手册、Funtoo安装手册以及Gentoo Wiki页上bootLoaders部分内容,安装过程基本顺利,但是在按照Gentoo Wiki页上的过程设置UEFI启动时出现问题,希望能够得到帮助:
1.当我使用U盘进行UEFI启动后,我得到的信息是
This is (none).unknown_domain 
(none) Login:
当我使用root登陆之后,依然显示的是none。

2.根目录为只读文件系统 
3.执行efibootmgr -c -d /dev/sda -p 1 -L Gentoo -l "\efi\boot\bootx64.efi" 时出现couldn't open either sysfs or procfs directories for accessing efi variables错误信息

不知是否有人可以告诉我以上问题该如何解决?

AR (aka AleiPhoenix)

unread,
Aug 4, 2013, 9:42:52 PM8/4/13
to sh...@googlegroups.com
2013/7/25 苌蓊芪 <wanke...@gmail.com>
看起来是已经安装好了? 如果bootloader不正常的话应该进不去最终安装好的系统吧。

回正题 

你确定安装的时候机器启动到EFI mode里了吗? 如果是的话记得 modprobe efivars。

另外efi debufs的位置是在/sys下面,所以安装时候chroot之前,记得还要 mount --rbind /sys /path/to/chroot/sys


具体的说明实例可以参考某之前写的在macbookpro 8,2上安装gentoo的文章[1]



--
Silence is golden.

twitter: @AccelReality
wikipedia: AleiPhoenix
blog: weblog.areverie.org
wiki: wiki.areverie.org

AR (aka AleiPhoenix)

unread,
Aug 4, 2013, 10:30:47 PM8/4/13
to sh...@googlegroups.com

2013/8/5 AR (aka AleiPhoenix) <aleip...@gmail.com>

另外 efi debufs 的位置是在 /sys 下面,所以安装时候 chroot 之前,记得还要 mount --rbind /sys /path/to/chroot/sys


*debufs: debugfs 

tlze

unread,
Aug 4, 2013, 11:15:54 PM8/4/13
to sh...@googlegroups.com
2013/7/25 苌蓊芪 <wanke...@gmail.com>:
这样问题有点复杂了,先放个efi shell确定efi正常。
再安装grub2等bootloader,看到正常的grub列表后
剩下的就与mbr下安装gentoo没有区别了,安装一般化后,有问题解决方案也容易找。

Liang Guo

unread,
Aug 5, 2013, 12:10:40 AM8/5/13
to sh...@googlegroups.com
2013/7/25 苌蓊芪 <wanke...@gmail.com>:
efi boot manager 会将一条记录添加到efi的启动菜单。在efibootmanager不可用的情况下
可以将对应的efi文件复制到(EFI system partition)/EFI/boot/bootx64.efi. 个人感觉比grub修改
硬盘的前多少字节更方便



--
Liang Guo
http://bluestone.cublog.cn

Chaos Eternal

unread,
Aug 5, 2013, 1:09:31 AM8/5/13
to sh...@googlegroups.com
(none) Login: 以及你登录后依然显示none是因为你没有设置hostname。


2013/7/25 苌蓊芪 <wanke...@gmail.com>:
> --
> -- You received this message because you are subscribed to the Google Groups
> Shanghai Linux User Group group. To post to this group, send email to
> sh...@googlegroups.com. To unsubscribe from this group, send email to
> shlug+un...@googlegroups.com. For more options, visit this group at
> https://groups.google.com/d/forum/shlug?hl=zh-CN
> ---
> 您收到此邮件是因为您订阅了 Google 网上论坛的“Shanghai Linux User Group”论坛。
> 要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到 shlug+un...@googlegroups.com
> 要查看更多选项,请访问 https://groups.google.com/groups/opt_out
>
>
Reply all
Reply to author
Forward
0 new messages