红联Linux门户
Linux帮助

Unable to access resume device (LABEL=SWAP-sda3)

发布时间:2010-12-02 10:37:56来源:红联作者:myskywei
在Vmware虚拟机上安装红旗桌面6的sp3,划分了700M的内存,可是很慢才安装完成,就把内存改成了1024M。
开机运行时进入第一个彩色画面就不动了。
进救援模式后,也登录不了。
进但用户模式也进不了。
切换终端也切换不了。
登录提示错误信息如下:
未救援修复之前的错误提示:
sd 2:0:0:0: [sda] Write Protect is off
sd 2:0:0:0: [sda] Cache data unavailable
sd 2:0:0:0: [sda] Assuming drive cache: write through
sd 2:0:0:0: [sda] Cache data unavailable
sd 2:0:0:0: [sda] Assuming drive cache: write through
sda: sda1 sda2 sda3
sd 2:0:0:0: [sda] Cache data unavailable
sd 2:0:0:0: [sda] Assuming drive cache: write through
sd 2:0:0:0: [sda] Attached SCSI disk
sd 2:0:0:0: Attached scsi generic sg1 type 0
Unable to access resume device (/dev/sda3)
Creating root deviced.
Mounting root filesystem.
mount: could not find filesystem '/dev/root'
Setting up other filesystems:
Setting up new root fs
setuproot: moving /dev failed: No such file or directory
no fstab.sys, mounting internal defaults
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys:No such file or directory
Switching to new root and running init.
unmounting old /dev
unmounting old /proc
unmounting old /sys
switchroot: mount failed: No such file or directory
Kernel panic - not syncing: Attempted to kill init!
Pid: 1,comn: init Not tainted 2.6.31-4 #1
Call Trace:
[] ? panic+0x3e/0xe5
[] ? do_exit+0x5a/0x539
[] ? do_group_exit+0x5a/0x81
[] ? sys_exit_group+0xd/0x10
[] ? sysenter_do_call+0x12/0x26

后来进救援模式修复后,错误提示又成了:
sd 2:0:0:0: Attached scsi generic sg1 type 0
Unable to access resume device (LABEL=SWAP-sda3)
Creating root deviced.
Mounting root filesystem.
mount: could not find filesystem '/dev/root'
Setting up other filesystems:
Setting up new root fs
setuproot: moving /dev failed: No such file or directory
no fstab.sys, mounting internal defaults
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys:No such file or directory
Switching to new root and running init.
unmounting old /dev
unmounting old /proc
unmounting old /sys
switchroot: mount failed: No such file or directory
Kernel panic - not syncing: Attempted to kill init!
Pid: 1,comn: init Not tainted 2.6.31-4 #1
Call Trace:
[] ? panic+0x3e/0xe5
[] ? do_exit+0x5a/0x539
[] ? do_group_exit+0x5a/0x81
[] ? sys_exit_group+0xd/0x10
[] ? sysenter_do_call+0x12/0x26

而且输入reboot或者是shutdown命令不能正常执行,会提示下列错误:
WARNING:could not determine runlevel - doing soft reboot
(it's better to use shutdown instead of reboot from the command line)
shutdown: /dev/initctl: No such file or directory
init: /dev/initctl : No such file or directory

尝试过以下方法,但都没解决:
1、输入命令#swapoff /dev/sda3
# mkswap -L SWAP -sda3 /dev/sda3 [font=东文宋体, serif]2、想升级内核试试,但是救援模式无法加载U盘,也无法配置联网。
[/font]
文章评论

共有 1 条评论

  1. myskywei 于 2010-12-17 14:18:15发表:

    我自己评吧,内存还是分的少,看来图形界面真是费资源阿,而且提示信息里有kernel panic,估计没救了。再折腾吧