0
点赞
收藏
分享

微信扫一扫

【双系统】删除linux系统扇区后无法启动windows

认真的老去 2022-01-15 阅读 46

参考:https://unix.stackexchange.com/questions/259069/how-to-start-a-windows-partition-from-the-grub-command-line

问题描述:

重装双系统,但是在没有设置windows的mgr时,提前在windows磁盘管理中将linux系统扇区删除。

此时进入grub引导页面:

GNU GRUB version 2.02 beta2-9ubuntu1.3 <br> 
minimal BASH-like editing is supported.for the first word, TAB lists
possible commands completions.anywhere else TAB lists the possible device or file completion.
grub>

解决方案:

首先ls查看有哪些可用扇区。大都以(hd0, xxx)的形式保存。

分别查看对应扇区下的文件:

ls (hd1, gpt1)

直到查找到(hd1, gpt1)时成功发现相关引导目录。将root设为这个目录。boot即可

insmod part_gpt
insmod chain
set root=(hd0,gpt1)
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
boot
举报

相关推荐

0 条评论