升级breezy的内核后,新内核不能启动

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

升级breezy的内核后,新内核不能启动

#1

帖子 Tenyears » 2005-08-11 21:40

为用上摄像头,决定升级内核。
换为breezy的源后,执行了

sudo apt-get update
sudo apt-get install linux-image-k7 linux-headers-k7 linux-restricted-modules-k7

重启

GRUB启动了linux-2.6.12-5-k7
然后出现错误
cannot open /sys/bus/scsi/devices/*/type
找不到/dev/hda7(大意)
hda7是我的根分区所在。
请帮忙。
Humanity to others // 己所不欲,勿施与人
Laptop: ThinkPad X220 --- Win7 Home / Ubuntu 12.04
Desktop: Win7/Ubuntu 12.04
Server: Ubuntu12.04
头像
oneleaf
论坛管理员
帖子: 10441
注册时间: 2005-03-27 0:06
系统: Ubuntu 12.04

#2

帖子 oneleaf » 2005-08-11 21:49

你安装386的试试?
当净其意如虚空,远离妄想及诸取,令心所向皆无碍
头像
Tenyears
帖子: 2245
注册时间: 2005-06-30 15:46
来自: 成都

#3

帖子 Tenyears » 2005-08-12 9:15

sudo apt-get install linux-image-386 linux-headers-386 linux-restricted-modules-386

之后重启,选择2.6.12-386,出现和上面一样的错误。
命苦阿
Humanity to others // 己所不欲,勿施与人
Laptop: ThinkPad X220 --- Win7 Home / Ubuntu 12.04
Desktop: Win7/Ubuntu 12.04
Server: Ubuntu12.04
头像
yonsan
帖子: 887
注册时间: 2005-07-01 18:56
来自: 广州市

#4

帖子 yonsan » 2005-08-12 9:37

试试检查一下/boot/grub/menu.lst中是否作了相应的修改!
升级内核成功,当然内核文件就变名了,如果/etc/grub/menu.lst文件中没有自动作变更的话就会出现引导错误!!
I will be back!
头像
Tenyears
帖子: 2245
注册时间: 2005-06-30 15:46
来自: 成都

#5

帖子 Tenyears » 2005-08-12 9:53

yonsan 写了:试试检查一下/boot/grub/menu.lst中是否作了相应的修改!
升级内核成功,当然内核文件就变名了,如果/etc/grub/menu.lst文件中没有自动作变更的话就会出现引导错误!!
多谢。检查过了,我觉得没有问题。贴在后面,兄台看看。

## ## End Default Options ##

title Ubuntu, kernel 2.6.12-6-k7
root (hd0,6)
kernel /boot/vmlinuz-2.6.12-6-k7 root=/dev/hda7 ro quiet splash
initrd /boot/initrd.img-2.6.12-6-k7
savedefault
boot

title Ubuntu, kernel 2.6.12-6-k7 (recovery mode)
root (hd0,6)
kernel /boot/vmlinuz-2.6.12-6-k7 root=/dev/hda7 ro single
initrd /boot/initrd.img-2.6.12-6-k7
savedefault
boot

title Ubuntu, kernel 2.6.10-5-k7
root (hd0,6)
kernel /boot/vmlinuz-2.6.10-5-k7 root=/dev/hda7 ro quiet splash
initrd /boot/initrd.img-2.6.10-5-k7
savedefault
boot

title Ubuntu, kernel 2.6.10-5-k7 (recovery mode)
root (hd0,6)
kernel /boot/vmlinuz-2.6.10-5-k7 root=/dev/hda7 ro single
initrd /boot/initrd.img-2.6.10-5-k7
savedefault
boot

title Ubuntu, kernel 2.6.10-5-386
root (hd0,6)
kernel /boot/vmlinuz-2.6.10-5-386 root=/dev/hda7 ro quiet splash
initrd /boot/initrd.img-2.6.10-5-386
savedefault
boot

title Ubuntu, kernel 2.6.10-5-386 (recovery mode)
root (hd0,6)
kernel /boot/vmlinuz-2.6.10-5-386 root=/dev/hda7 ro single
initrd /boot/initrd.img-2.6.10-5-386
savedefault
boot

title Ubuntu, kernel memtest86+
root (hd0,6)
kernel /boot/memtest86+.bin
savedefault
boot


难道一定要全面升级吗?只升级内核应该没关系的。
Humanity to others // 己所不欲,勿施与人
Laptop: ThinkPad X220 --- Win7 Home / Ubuntu 12.04
Desktop: Win7/Ubuntu 12.04
Server: Ubuntu12.04
头像
Tenyears
帖子: 2245
注册时间: 2005-06-30 15:46
来自: 成都

#6

帖子 Tenyears » 2005-08-12 9:54

说我超过了系统限制的最大发帖数,怎么回事?
Humanity to others // 己所不欲,勿施与人
Laptop: ThinkPad X220 --- Win7 Home / Ubuntu 12.04
Desktop: Win7/Ubuntu 12.04
Server: Ubuntu12.04
头像
yonsan
帖子: 887
注册时间: 2005-07-01 18:56
来自: 广州市

#7

帖子 yonsan » 2005-08-12 10:01

Tenyears 写了:说我超过了系统限制的最大发帖数,怎么回事?
这个没事,偶经常碰上这个提示,只是不给你专家分罢了!


看过你的menu.lst !偶也觉得它没问题,你选其它启动项能进入吗? 还是全都不能启动?
I will be back!
头像
Tenyears
帖子: 2245
注册时间: 2005-06-30 15:46
来自: 成都

#8

帖子 Tenyears » 2005-08-12 10:09

yonsan 写了:
Tenyears 写了:说我超过了系统限制的最大发帖数,怎么回事?
这个没事,偶经常碰上这个提示,只是不给你专家分罢了!


看过你的menu.lst !偶也觉得它没问题,你选其它启动项能进入吗? 还是全都不能启动?
2.6.12的几个启动都不行,全一个错误。
2.6.10的k7还是好的。
还有XP也是好的。 :shock:
Humanity to others // 己所不欲,勿施与人
Laptop: ThinkPad X220 --- Win7 Home / Ubuntu 12.04
Desktop: Win7/Ubuntu 12.04
Server: Ubuntu12.04
头像
yonsan
帖子: 887
注册时间: 2005-07-01 18:56
来自: 广州市

#9

帖子 yonsan » 2005-08-12 10:19

换为breezy的源后,执行了

代码: 全选

sudo apt-get update 
aptitude install linux-k7
有试过这样吗?

因为看到了这些信息,觉得直接安装linux-image-k7 与 linux-k7是有分别的!
p linux-image-k7 - Linux kernel image on AMD K7.
p linux-k7 - Complete Linux kernel on AMD K7.
I will be back!
头像
Tenyears
帖子: 2245
注册时间: 2005-06-30 15:46
来自: 成都

#10

帖子 Tenyears » 2005-08-12 10:35

yonsan 写了:换为breezy的源后,执行了

代码: 全选

sudo apt-get update 
aptitude install linux-k7
有试过这样吗?

因为看到了这些信息,觉得直接安装linux-image-k7 与 linux-k7是有分别的!
p linux-image-k7 - Linux kernel image on AMD K7.
p linux-k7 - Complete Linux kernel on AMD K7.
试过了。还是老样子。 :oops:
Humanity to others // 己所不欲,勿施与人
Laptop: ThinkPad X220 --- Win7 Home / Ubuntu 12.04
Desktop: Win7/Ubuntu 12.04
Server: Ubuntu12.04
回复