Hi
Im trying to get tuxonice to work with ubuntu 10.04. I patched and compiled the kernel, making sure to check tuxonice in the menuconfig. According to the tuxonice homepage, if you want to use a initrd file, you have to add the following line to initrd generation routines, before initrd mounts the filesystem:
Code:
echo 1 > /sys/power/tuxonice/do_resume
So i added the file /etc/initramfs-tools/scripts/init-premount/tuxonice
containing:
Code:
#!/bin/bash
echo 1 > /sys/power/tuxonice/do_resume
I then try to create initrd and this happens
Code:
sudo mkinitramfs -d /etc/initramfs-tools/ -o initrd.img-2.6.32.15+drm33.5 version 2.6.32.15+drm33.5
This kernel does not seem to support TuxOnIce user interface, skipping...
/tmp/mkinitramfs_FSPuyS/scripts/init-premount/tuxonice: line 2: /sys/power/tuxonice/do_resume: No such file or directory
What im i doing wrong?