LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 08-12-2010, 04:47 AM   #1
baltazar3
LQ Newbie
 
Registered: Nov 2009
Posts: 13

Rep: Reputation: 0
Problem creating initrd for tuxonice


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?
 
  


Reply

Tags
initrd, kernel


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error when creating initrd file for 2.6.24 kernel hondo Linux - General 3 01-29-2008 08:37 AM
creating initrd to boot from LVM jcai Linux - General 3 06-12-2006 02:04 PM
SuSe 9.3 installation hangs @ 62% creating initrd... CurvKyle Suse/Novell 2 09-14-2005 12:32 PM
Creating an initrd? raid517 Linux - Software 4 04-04-2005 10:26 AM
Creating custom initrd image in suse 9.1 Anmol Suse/Novell 1 01-08-2005 03:31 AM


All times are GMT -5. The time now is 01:11 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration