LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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, 03: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



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 07:37 AM
creating initrd to boot from LVM jcai Linux - General 3 06-12-2006 01:04 PM
SuSe 9.3 installation hangs @ 62% creating initrd... CurvKyle SUSE / openSUSE 2 09-14-2005 11:32 AM
Creating an initrd? raid517 Linux - Software 4 04-04-2005 09:26 AM
Creating custom initrd image in suse 9.1 Anmol SUSE / openSUSE 1 01-08-2005 02:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 06:04 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration