倚天系统网资源分享平台领跑者!

首页 > 电脑教程

快速处理win7系统启动Ubuntu时提示error: file的恢复方法

2021-11-12 03:28:29 电脑教程
今天教大家一招关于win7系统启动Ubuntu时提示error: file的解决方法,近日一些用户反映win7系统启动Ubuntu时提示error: file这样一个现象,当我们遇到win7系统启动Ubuntu时提示error: file这种情况该怎么办呢?我们可以  1、首先直接输入ls 命令;  2、会出现(hd0) (hd0,msdos11) (hd0,msdos10) (hd0,msdos9) (hd0,msdos8) (hd0,msdos7) (hd0,msdos6) (hd0,msdos5) (hd0,msdos1)下面跟随小编脚步看看win7系统启动Ubuntu时提示error: file详细的解决方法:

win7系统启动Ubuntu时提示error: file的解决方法

解决方法:

  这个时候只需要重新设置一下root 和prefix,在使用insmod 模块就可以了。

具体步骤如下:

  1、首先直接输入ls 命令;

  2、会出现(hd0) (hd0,msdos11) (hd0,msdos10) (hd0,msdos9) (hd0,msdos8) (hd0,msdos7) (hd0,msdos6) (hd0,msdos5) (hd0,msdos1)

  3、这些都是代表每个分区,每个电脑编号都会不一样,然后就需要找到安装了linux(ubuntu)的分区,只能一个个去尝试;

  4、直接输入 ls (hd0,msdos11)/boot/grub 或者ls (hd0.msdos11)/grub

  5、直到显示 ./ ../ ……i386-pc/ ……等信息为止,

  然后就可以输入命令:

  set root=(hd0,msdos11)/boot/grub 或set root=(hd0,msdos11)/grub

  set prefix=(hd0,msdos11)/boot/grub 或 set prefix=(hd0,msdos11)/grub

  insmod normal

  normal

  6、这样就可完成了。

看完这篇关于win7系统启动Ubuntu时提示error: file的解决方法的教程,如果你的电脑也遇到了这种情况,可以试试上面的方法哦。欢迎给小编留言哦!

热门教程