No resume image, doing normal boot
发表于 : 2008-12-29 22:53
ubuntu 启动的时候会提示:(看不到的按 alt + F1)
Loading, pease wait...
Kinit: name_to_dev_t(/dev/disk/by-uuid/104ad992-ca26-4337-90a1-17f14a0ea667)= sda8(8,8)
kinit: No resume image, doing normal boot...
睇帮助啦:
man initramfs-tools
找到
resume
On install initramfs-tools tries to autodetect the resume partition. On success the RESUME variable is written to /etc/initramfs-tools/conf.d/resume. The boot variable noresume overrides it.
翻译:
恢复
安装了 initramfs-tools 之后会尝试自动检测恢复分区。当检测成功了,就会把变量写入 /etc/initramfs-tools/conf.d/resume 。启动变量跳过它不恢复。
解决方法:
一般是用 swap 分区保存系统休眠恢复的镜像,所以 /etc/initramfs-tools/conf.d/resume 记录的是 RESUME=UUID=104ad992-ca26-4337-90a1-17f14a0ea667,也就是 swap 的UUID。如果上次是休眠的话,会自动加载休眠时保存的状态,爽。如果上次是关机断电的话,启动的时候会自动跳过,但是要等一会,有点不爽。
如果不需要休眠的话直接屏蔽掉它就行了。
sudo vi /etc/initramfs-tools/conf.d/resume
#RESUME=UUID=104ad992-ca26-4337-90a1-17f14a0ea667
sudo update-initramfs -u
Loading, pease wait...
Kinit: name_to_dev_t(/dev/disk/by-uuid/104ad992-ca26-4337-90a1-17f14a0ea667)= sda8(8,8)
kinit: No resume image, doing normal boot...
睇帮助啦:
man initramfs-tools
找到
resume
On install initramfs-tools tries to autodetect the resume partition. On success the RESUME variable is written to /etc/initramfs-tools/conf.d/resume. The boot variable noresume overrides it.
翻译:
恢复
安装了 initramfs-tools 之后会尝试自动检测恢复分区。当检测成功了,就会把变量写入 /etc/initramfs-tools/conf.d/resume 。启动变量跳过它不恢复。
解决方法:
一般是用 swap 分区保存系统休眠恢复的镜像,所以 /etc/initramfs-tools/conf.d/resume 记录的是 RESUME=UUID=104ad992-ca26-4337-90a1-17f14a0ea667,也就是 swap 的UUID。如果上次是休眠的话,会自动加载休眠时保存的状态,爽。如果上次是关机断电的话,启动的时候会自动跳过,但是要等一会,有点不爽。
如果不需要休眠的话直接屏蔽掉它就行了。
sudo vi /etc/initramfs-tools/conf.d/resume
#RESUME=UUID=104ad992-ca26-4337-90a1-17f14a0ea667
sudo update-initramfs -u