LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1026|回复: 9

更新后,系统启动不了了

[复制链接]
发表于 2008-4-10 21:42:43 | 显示全部楼层 |阅读模式
我本来用的xfce4,总觉得不习惯,想改回gnome,pacman了gnome,然后进了gnome桌面,打开终端sudo pacman -Syu,完成后,重启,提示找不到根分区了,fallback也不行了。只有一个ramfs$提示符。兄弟们看看要怎么解决呀?
发表于 2008-4-10 22:07:54 | 显示全部楼层
修改grub里面hda为sda,貌似可能是这样。因为以前别人有这样的情况。我只能猜

下次问问题的时候记得粘贴有用信息,说的貌似是没有用的东西,比方出现ramfs$前面应该有错误提示的。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-4-10 22:16:04 | 显示全部楼层
attempting to create root device /dev/sda3
error:failed to parse block device name for dev/sda3
erro:root fs cannot be detected
回复 支持 反对

使用道具 举报

发表于 2008-4-10 23:26:54 | 显示全部楼层
jarr说的那个人说我吧?
http://www.linuxsir.cn/bbs/showthread.php?t=322915
楼主参考这篇文章吧
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-4-11 08:23:54 | 显示全部楼层
终于看到解决办法了,今天回去试试看,呵呵。

For general installation and configuration instructions, look at the Arch Linux documentation and wiki. Most of the information there applies just as well to Lowarch.

Known Lowarch Problems

Here's one issue that's been coming up with some old laptops:

When rebooting after a successful install, the kernel panics with messages similar to these:

kinit: unable to mount root fs on device dev(0,0)
ERROR : failed to parse block device name for '/dev/hda2'
ERROR : root fs cannot be detected

The reason for this can be that mkinitcpio fails to discover your ide system, and therefore doesn't load the ide modules. The solution is quite simple: In the /etc/mkinitcpio.conf put in this:

MODULES="ide_generic"

Then reinstall the kernel.

You don't have to go through the whole installation procedure again, just to make this fix. Do this:

Boot the install cd/floppy.
Make whatever preparations you needed to do before starting the installation script, if there were any
Run /lowarch/setup
Set up the mount points. Don't create filesystems!
Go straight to the configuration, and fix the mkinitcpio.conf file
Install kernel
Install bootloader, just to be sure.
Reboot, and hopefully smile to your login prompt.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-4-11 08:30:44 | 显示全部楼层
google了下,看样子碰到这个问题的人不少呀,很久以前就有了,怎么这个bug不修复的??
回复 支持 反对

使用道具 举报

发表于 2008-4-11 09:43:53 | 显示全部楼层
debian,arch这样的系统一定要及时更新的,如果你隔个几个月不更新,难保不出什么问题。
更新的时候也一定要看清楚是什么包再动手,不要盲目。有些包,比如 glibc,gcc,kernel,显卡驱动什么的,一定要注意。
回复 支持 反对

使用道具 举报

发表于 2008-4-11 09:44:09 | 显示全部楼层
debian,arch这样的系统一定要及时更新的,如果你隔个几个月不更新,难保不出什么问题。
更新的时候也一定要看清楚是什么包再动手,不要盲目。有些包,比如 glibc,gcc,kernel,显卡驱动什么的,一定要注意。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-4-11 14:28:46 | 显示全部楼层
参照这个办法,终于又进去系统了,呵呵。

http://wiki.archlinux.org/index.php/Kernel_Panics
回复 支持 反对

使用道具 举报

发表于 2008-4-11 16:26:40 | 显示全部楼层
arch 不是 可以回滚么?
就像数据库的roolback一样!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表