win10出来了当然准备试一试,但装完之后怎么都进不了ubuntu,网上的各种方法试了一遍。。好像都不能引导到ubuntu。
于是决定用grub去引导win10 重装了一遍系统,这次先装的ubuntu再装的win10。
现在的情况是,开机进grub,然后进ubuntu无压力。在/boot/grub/grub.cfg中添加了win10启动项。
试了两种。
chainloader +1 启动会报EFI什么...的错误
后来chainloader改成图片中的样子 会报下图的错误
我开机需要狂按F12 然后从bios里的windows boot manager里进,不过确实可以进
我现在整个人不太好。。。
PS:欢迎小伙伴勾搭~ 学校里主要是做数据挖掘相关的项目,课余玩玩web开发~
阿神2017-04-17 13:55:50
### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows 8 (loader) (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-F40A1F270A1EE680' {
insmod part_msdos
insmod ntfs
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 F40A1F270A1EE680
else
search --no-floppy --fs-uuid --set=root F40A1F270A1EE680
fi
parttool ${root} hidden-
drivemap -s (hd0) ${root}
chainloader +1
}
set timeout_style=menu
if [ "${timeout}" = 0 ]; then
set timeout=10
fi
### END /etc/grub.d/30_os-prober ###
This is part of the bootgrub.cfg
in my win10
file. I upgraded from win8 to win10. This section was automatically generated during installation...
I have 2 boot partitions, sda1 boots win8 (later win10), sda5 is divided into 2G /boot partition to boot Ubuntu
In addition, my installation process is as follows:
Win10 is installed first , then allocate 60G of free space
and then choose another USB disk to install Ubuntu. Ubuntu will create a /boot partition, and then select sda5 of /boot instead of the default sda1 when booting
and then restart directly into win10. Use easybcd to edit the boot menu, add a grub2 Ubuntu boot, select sda5
Save and then turn off the win10 quick start
Then you can choose win10 or ubuntu when you boot...