-   Linux - Desktop (
-   -   Problem booting ubuntu 12.04 after hibernate/suspend (

acidrop 03-19-2013 08:51 AM

Problem booting ubuntu 12.04 after hibernate/suspend


Linux 3.2.0-38-generic #61-Ubuntu SMP Tue Feb 19 12:18:21 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

Distributor ID: Ubuntu
Description: Ubuntu 12.04.2 LTS
Release: 12.04
Codename: precise
Before doing apt-get update , apt-get upgrade I was able to successfully suspend the machine by using /etc/acpi/
After that now when the machine boots It hangs and the only way to boot is by choosing recovery mode -> resume boot.
I am attaching the output of dmesg at the moment of crash:

cat /proc/acpi/wakeup > wakeup

Pearlseattle 03-25-2013 05:11 PM

Don't know which mechanism Ubuntu is using for to "hibernate", but perhaps it's using the swap-filesystem? So, every time it reboots if finds the "invalid" data contained in the swap partition, tries to load it and hangs forever.

If it's potentially like that, and you know which is the partition that is used as swap, you could try overwriting everything in that partition ("dd if=/dev/zero of=/dev/<your_swap_hdd_and_partition>") and then re-create the swap-filesystem.

Example (USE YOUR REAL SWAP-PARTITION! Find it with "fdisk -l" - it's called "Linux swap / Solaris"):
If your swap partition is "sda2" then...
- dd if=/dev/zero of=/dev/sda2
- mkswap /dev/sda2
- reboot


All times are GMT -5. The time now is 12:52 PM.