然后你装ubuntu的时候,ubuntu也会创建/efi/ubutntu/这个目录并放一个grub.efi(也可能叫grubx64.efi,记不清了),作用类似于win8的bootmgfw.efi。然后ubuntu再把grub.efi复制一份到/efi/boot并命名成bootx64.efi里想让自己成为默认启动项,但这样就覆盖了win8的那个,结果就出现了题主说的情况。
解决的办法其实是用efi shell的bcfg这个命令分别为win8和ubuntu添加启动项到bios的启动设备列表里,然后设置其实一个为默认启动。或者默认从grub启动然后让grub来管理系统启动列表。
EFI Shell是EFI提供的一个交互式的命令行Shell环境,在这里你可以执行一些efi应用程序,加载efi设备驱动程序,以及引导 *** 作系统,从引导菜单项中选择”efi shell”,回车,待出现”shell]”提示符时即表明你已进入efi shell环境中,下面对一些常用的efi shell环境下的命令作些简要介绍:[drive_name]: 改变当前驱动器.例如, fs0当前映射到了ls-240 驱动器的话,shell] fs0: [回车]就将提供对ls-240 驱动器的访问.
alias [-bdv] [sname] [value] 设置或获取别名
attrib [-b] [+/- rhs] [file] 察看或设置文件属性
bcfg -? 配置efi nvram中启动时所加载的驱动选项
botmaint 执行启动维护管理
break 设置执行断点
cd [path] 改变当前目录
cls [background color] 清屏
comp file1 file2 进行文件比较
connect [-r] [-c] handle# .devicehandle# driverhandle#绑定efi驱动到一个设备并激活该驱动
cp [-r] file [file] ... [dest] 拷贝文件和目录
date [mm/dd/yyyy] 获取或设置日期
dblk device [lba] [blocks] 察看块设备的16进制印象
devices [-b] [-1xxx] 列出系统中的所有设备
devtree [-b] [-d] 显示设备树
dh [-b] [-p prot_id] | [handle] 察看文件句柄信息
disconnect devicehandle# [driverhandle# [childhandle#] 卸载设备驱动
dmem {address] [size] [mmio] 察看指定内存中的内容
dmpstore drivers [-b] [-lxxx] 列出安装的驱动
drvcfg [-c] [-lxxx] [-f] [-v] [-s] 调用驱动配置协议
drvdiag [-c] [-lxxx] [-s] [-e] [-m] 调用驱动诊断协议
echo [[-on | -off] | [text] 回显
edit [filename] 文本编辑
eficompress infile outfile 压缩efi文件
efidecompress infile outfile 解压efi文件
guid [-b] [sname] 察看知名guid ids
help [-b] [internal_command] 显示帮助信息
hexedit [[-f]filename|[-d diskname offset size]|[-m offset size]] 16进制编
load driver_name 加载驱动
loadbmp [-c] [-t] [-i[uga instance]] file 在屏幕上显示一个位图文件
loadpcirom romfile 加载pci option rom
ls [-b] [dir] [dir] ... 获得目录列表
map [-bdvr] [sname[:]] [handle] 映射驱动器路径
mem [address] [size] [mmio] 察看内存或内存映射i/o
memmap [-b] 察看内存映射表
mkdir dir [dir] 创建目录项
mm address [width] [type] [n] 内存编辑
mode [col row] 设置当前图形显示模式
mount blkdevice [sname[:]] 在一个块设备上加载文件系统
mv [src…] [dst] 移动文件或目录
pci [bus_dev] [func] 显示pci设备信息
rconnect devicehandle# [driverhandle# [childhandle#]] | [-r] 驱动重载
reset [reset_string] 冷启动
rm file/dir [file/dir] 删除文件或目录
setsize file 设置文件大小
stall microseconds 延时
time [hh:mm:ss] 获取或设置时间
type [-a] [-u] [-b] file 察看文件
ver 显示版本信息
vol fs [volume_label] 设置卷标
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)