[Newbies] EFI装WIN7和UOS1031版本无法修复引导
Tofloor
poster avatar
zxx889
deepin
2021-04-04 08:08
Author

小弟,GPT安装WIN7和UOS1031版本的双系统,后来WIN7问题无法进入,用修复UEFI工具修复后,发现直接进入WIN7原UOS1031启动菜单不见,用LIVE CD模式打命令修复菜单,到了chroot /mnt这一条总出错,现贴出命令错误,看坛里的前辈能否帮忙修复。

root@deepin:/home/deepin/Desktop# chroot /mnt

chroot: failed to run command ‘/bin/bash’: No such file or directory

还有二条命令没打,估计也执行不了

grub-install /dev/sda

update-grub

 

Reply Favorite View the author
All Replies
wuchu
deepin
2021-04-04 08:41
#1
It has been deleted!
lcw0268
deepin
2021-04-04 18:09
#2

fdisk -l

看 linux的/ 分区如/dev/sda3

在修复模式

mount /dev/sda3 /mnt

才可以chroot /mnt

 

Reply View the author
zxx889
deepin
2021-04-04 21:02
#3

linux分区格式如下

Device         Start       End   Sectors   Size Type

/dev/sda1       2048    616447    614400   300M EFI System

/dev/sda2     616448   3762175   3145728   1.5G Linux filesystem

/dev/sda3    3762176  35219455  31457280    15G Linux filesystem

/dev/sda4   35219456  66676735  31457280    15G Linux filesystem

/dev/sda5   66676736 171528631 104851896    50G Linux filesystem

/dev/sda6  171532288 426917887 255385600 121.8G Microsoft basic data

/dev/sda7  426917888 456278015  29360128    14G Linux filesystem

/dev/sda8  456278016 468860927  12582912     6G Linux swap

根据你说的打了 MOUND /DEV/SDA5 /MNT可以执行再打chroot /mnt还是同样错误root @ deepin:/ home / deepin / Desktop#chroot / mnt

chroot:无法运行命令“ / bin / bash”:没有此类文件或目录

Reply View the author
zxx889
deepin
2021-04-04 21:04
#4

以上用了多种LINUX修复光盘模式进入,就是不能执行 chroot /mnt

Reply View the author
Ziggy
deepin
2021-04-04 22:39
#5

https://bbs.deepin.org/zh/post/205701

Reply View the author