【笔记本装9.10】“no such device”【已解决】【7楼】

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
soier
帖子: 5
注册时间: 2007-06-01 13:48

【笔记本装9.10】“no such device”【已解决】【7楼】

#1

帖子 soier » 2009-11-04 8:12

笔记本型号:联想天逸Y300 ,昨天下载了ubuntu 9.10 DVD版本,刻录完毕后进行安装,试了图形界面安装、文字界面安装、使用后再安装,并且使用整个硬盘,均在安装完启动后出现错误。无奈又下载了xubuntu 9.10 CD版本安装,同样安装完后启动出现错误,无法进入系统,出现的错误也一样:

Error:no such device:3cb2203b-20fc-449c-aa6b-15dc49ba0210
Failed to boot default entries.

Press any key to continue.


ubuntu 9.10 DVD 安装巨慢,图形界面安装用了2.5小时,文字界面安装用了1.5小时,虽然都安完了,但还是有错误,真背到极点了....

真是头大死了,不知道各位有没有办法解决!!!!!!!!!先谢谢了。

已经解决:方案在下面7楼
上次由 soier 在 2009-11-04 11:42,总共编辑 3 次。
头像
smallapple
论坛版主
帖子: 7868
注册时间: 2009-03-28 15:12

Re: 笔记本安装 9.10问题,帮忙解决呀!!

#2

帖子 smallapple » 2009-11-04 8:39

安装那么久本身就是有问题,正常的安装不会超过半小时的。
Error:no such device:3cb2203b-20fc-449c-aa6b-15dc49ba0210
Failed to boot default entries.

Press any key to continue.
关于这个问题有人说是和 下面的有关
search --no-floppy --fs-uuid --set 3c7c1d30-86c7-4ea3-ac16-30d6b0371b02

用livecd启动,把原系统中 /boot/grub/grub.cfg中的这一句前面加 # 注释掉再重启试试。
soier
帖子: 5
注册时间: 2007-06-01 13:48

Re: 笔记本安装 9.10问题,帮忙解决呀!!

#3

帖子 soier » 2009-11-04 10:35

说的有道理,正在解决中...
ubuntu DVD版的在文字安装界面过程还是比较快的,1个小时搞定。
头像
smallapple
论坛版主
帖子: 7868
注册时间: 2009-03-28 15:12

Re: 笔记本安装 9.10问题,“no such device”:帮忙解决呀【已解决】

#4

帖子 smallapple » 2009-11-04 11:14

soier 写了:笔记本型号:联想天逸Y300 ,昨天下载了ubuntu 9.10 DVD版本,刻录完毕后进行安装,试了图形界面安装、文字界面安装、使用后再安装,并且使用整个硬盘,均在安装完启动后出现错误。无奈又下载了xubuntu 9.10 CD版本安装,同样安装完后启动出现错误,无法进入系统,出现的错误也一样:

Error:no such device:3cb2203b-20fc-449c-aa6b-15dc49ba0210
Failed to boot default entries.

Press any key to continue.


ubuntu 9.10 DVD 安装巨慢,图形界面安装用了2.5小时,文字界面安装用了1.5小时,虽然都安完了,但还是有错误,真背到极点了....

真是头大死了,不知道各位有没有办法解决!!!!!!!!!先谢谢了。

已经解决:方案在下面4楼
4楼是空的 :em20 :em20 :em20 :em20 :em20 :em20 :em20
soier
帖子: 5
注册时间: 2007-06-01 13:48

Re: 笔记本安装 9.10问题,“no such device”:帮忙解决呀【已解决】

#5

帖子 soier » 2009-11-04 11:21

我的解决方案那里去了,刚还在这里呢,等等,我找找!
soier
帖子: 5
注册时间: 2007-06-01 13:48

Re: 笔记本安装 9.10问题,“no such device”:帮忙解决呀【已解决】

#6

帖子 soier » 2009-11-04 11:21

等等,找找!
soier
帖子: 5
注册时间: 2007-06-01 13:48

Re: 笔记本安装 9.10问题,“no such device”【已解决】

#7

帖子 soier » 2009-11-04 11:25

1. 用LiveDVD重新启动,选择最后一个“修复损坏系统”
2.键盘和语言选择之后,加载无数东西......DHCP不用配置,不进行网络设置。
3.输入主机名后加载一个东东...进入急救模式,选择根文件设备,我的选择是/dev/sda1,然后“在/dev/sda1中运行shell”,继续
4.出现#的命令行。
5.aptitude update
6.aptitude safe-upgrade
7.cd /usr/lib/grub
8.备份文件:cp grub-mkconfig_lib grub-mkconfig_lib.bac
9.修改文件:vi grub-mkconfig_lib
我在174行找到了如下代码,其他用户行数不定:

代码: 全选

 if fs_uuid="`${grub_probe} --device ${device} --target=fs_uuid 2> /dev/null`" ; then
     echo "search --no-floppy --fs-uuid --set ${fs_uuid}"
    echo ""
    fi
vi编辑我第一次用,点“i”进入插入模式,在第2行代码前面加“#”使其变为注释。

代码: 全选

#echo "search --no-floppy --fs-uuid --set ${fs_uuid}"

再点ESC返回,输入冒号“:”,在最下面会有一个带冒号的命令行,输入“wq”回车退出保存。
10.dpkg-reconfigure grub-pc 留空退出
11.exit
12.reboot

重新启动,恢复生机...
zano2
帖子: 1
注册时间: 2010-03-19 17:12

Re: 【笔记本装9.10】“no such device”【已解决】【7楼】

#8

帖子 zano2 » 2010-03-19 18:52

提供另一解决办法,转自英文论坛skiluvr的回帖:

For people who get the repeated "no such device" message and no boot menu:
If you turn on your computer and hold down the shift key, you will get the Grub menu and can then use the instructions in comment below to boot your system."

From the grub bootmenu, press e to get to edit mode. Move cursor down.
Erase the line starting with "search --nofloppy ..." and then press Ctrl+X to boot.

When up and running you could run the command sudo update-grub, or wait till the end of these instructions.
这样应该就能启动到系统了 接下来还有一些设置完就无后顾之忧了---byzan

when booted up and in go to
applications
accessories
terminal
in 'terminal window':
at prompt type:

代码: 全选

sudo gedit /usr/lib/grub/grub-mkconfig_lib
you get a gedit window with lines of code for the grub-mkconfig_lib file
scroll down and find the following line:
prepare_grub_to_access_device ()

then find below this code and delete (or you can comment out by inserting a # before the lines)
if fs_uuid="`${grub_probe} --device ${device} --target=fs_uuid 2> /dev/null`" ; then
echo "search --no-floppy --fs-uuid --set ${fs_uuid}"
fi


then go to file, save, or control+S to save
exit window, alt+f4
back in terminal window that's still open
at prompt enter

代码: 全选

sudo update-grub
then re-start and it should boot to desktop
回复