You are not logged in.

#1 2007-05-13 20:24:32

Registered: 2007-05-03
Posts: 6

Laptop does not resume after suspend to disk

Hi everybody,

i try to suspend my laptop for power saving purposes with suspend2. Following the article about it in the wiki i configured my laptop.

I shut down X and entered "hibernat" on the command line as root. The system shuts down and it seems like it suspends fine.

But when i restart my system it does a normal boot and complains about my ReiserFS partitions not being clean.

At booting i saw the following lines:

Invalid resume device swap:/dev/sda7
kinit: no resume image, normal boot ...

As you can see here

   Gerät  boot.     Anfang        Ende     Blöcke   Id  System
/dev/sda1   *           1        2550    20482843+   c  W95 FAT32 (LBA)
/dev/sda2            2551        9729    57665317+   5  Erweiterte
/dev/sda5            2551        3855    10482381   83  Linux
/dev/sda6            3856        5160    10482381   83  Linux
/dev/sda7            5161        5421     2096451   82  Linux Swap / Solaris
/dev/sda8            5422        9729    34603978+  83  Linux

there is a swap partition on /dev/sda7.

With this line in /etc/fstab

/dev/sda7 swap swap defaults 0 0

it should be activated and i get [DONE] while booting at the swap space entry.

My menu.lst line looks like this

kernel /boot/vmlinuz26suspend2 root=/dev/sda5 resume=swap:/dev/sda7

Any idea what is happening here?

Any help is appreciated!


#2 2007-05-14 04:21:31

Registered: 2007-05-03
Posts: 6

Re: Laptop does not resume after suspend to disk

Hi guys,

the problem was solved with adding a 2 add the end of resume making it

kernel /boot/vmlinuz26suspend2 root=/dev/sda5 resume2=swap:/dev/sda7

But then it happened:

I used hibernate and could not reboot anymore -> my laptop put me into a grub shell.

After chrooting into my system i noticed that my menu.lst was killed. I even had to use reiserfschk --rebuild-tree because it also killed permissions and stuff.

After that i rebooted and my system stopped while booting... i got the message: no inittab file found.

Now i was scared!


Chrooting in my system again i wanted to edit the inittab file... now guess what: the /etc directory was gone!!!!!

So i guess this is the time to reinstall :-((


Board footer

Powered by FluxBB