一半君的总结纸

听话只听一半君

Thinkpad T450s dual boot双系统升级windows 10备忘录

预感到肯定会挂,事先去搜了下直接升会不会玩脱,结果还是挂了

lz的笔记本之前装有windows 8.1, centos 7双启动,grub2菜单,正常安装windows10第二次重启之后,直接进入grub rescue模式,修复方法如下图所示

New Doc 10_1

命令是

set prefix=(hd0,msdos3)/grub2
set root=(hd0,msdos3)

insmod normal
normal

这样可保临时出现grub菜单,windows继续重启两次之后,安装完成,此时再次使用上面的方法进入linux

# 先备份个以防万一
cp /boot/grub2/grub.cfg /boot/grub2/grub.cfg.bak
 
# 重新生成多启动菜单
grub2-mkconfig -o /boot/grub2/grub.cfg

# 重装grub2
grub2-install /dev/sda

参考:
How to Upgrade a Linux Dual-Boot System to Windows 10

Windows 10 upgrade lead into grub rescue
grub rescue> Boot fails: Example commands to boot+fix Windows 10 + Linux dual boot
Grub rescue – error: unknown filesystem
24.7. Reinstalling GRUB 2

Fix Grub Not Showing For Windows 10 Linux Dual Boot

Advertisements

发表评论

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 更改 )

Twitter picture

You are commenting using your Twitter account. Log Out / 更改 )

Facebook photo

You are commenting using your Facebook account. Log Out / 更改 )

Google+ photo

You are commenting using your Google+ account. Log Out / 更改 )

Connecting to %s

%d 博主赞过: