public inbox for gentoo-user-de@lists.gentoo.org
 help / color / mirror / Atom feed
From: pslizer@gmail.com
To: gentoo-user-de@lists.gentoo.org
Subject: Re: [gentoo-user-de] suspend2 mit genkernel und initrd verwenden?
Date: Sat, 17 Sep 2005 23:15:41 +0200	[thread overview]
Message-ID: <200509172316.59809.pslizer@gmail.com> (raw)
In-Reply-To: <432C8079.30109@mid.email-server.info>

[-- Attachment #1: Type: text/plain, Size: 1811 bytes --]

Am Samstag, 17. September 2005 22:45 schrieb Alexander Skwar:
> Hallo!
>
> Auf meinem Notebook würde ich gerne suspend-to-disk
> verwenden. Angeblich soll ja suspend2 von http://suspend2.net/
> bzw. suspend2-sources besser funktionieren als das suspend im
> Standardkernel. Also möchte ich auch suspend2 verwenden :)
>
> Um die Sachen "einfacher" zu machen, verwende ich ein
> LVM2 System, bei dem auch / im LVM liegt. Nur /boot
> und Swap sind nicht im LVM.
>
> Nun lese ich gerade bei den suspend2 Howtos auf
>
> <http://www.suspend2.net/HOWTO-7.html#ss7.3>:
> | in your linuxrc/init:
> | 	mount /proc
> | 	load modules as required
> | 	use dmsetup create dm-0 <path to config-file> to set up access to the
> | LVM partition echo > /proc/software_suspend/do_resume
> | 	do any other actions required (mount rootfs if initramfs...)
>
> [...]
>
> Also habe ich mir die linuxrc von genkernel
> angeschaut (/usr/share/genkernel/generic/linuxrc)
> und frage mich, wo das
>
> 	echo > /proc/software_suspend/do_resume
>
> einzufügen sei.
>
> Zwar steht in Zeile 25 "mount -o remount,rw /", aber
> irgendwie kann ich nirgends sowas wie "dmsetup"
> finden.
>
> Kann mir jemand helfen?
>
> Danke,
>
> Alexander Skwar

Ich empfehle dir dieses Howto:
http://gentoo-wiki.com/HOWTO_Software_Suspend_v2
Mit genkernel macht man es statt Configure kernel so:
1. cp /etc/kernels/kernel-config-$foo /usr/src/linux/.config
2.  cd /usr/share/linux && make oldconfig && make menuconfig
3. Die Suspend2-Sources nach Howto konfigurieren und alle Dateisysteme+Treiber 
die du zum boote brauchst. 
4. Ein einfaches genkernel all --lvm2 . 
5. Grub usw. ohne initramfs* real_root init usw. konfigurieren. 
Und dem Howto weiter folgen. 

---
Mit freundlichen Grüßen: Paul Kieckhefen

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2005-09-17 21:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-17 20:45 [gentoo-user-de] suspend2 mit genkernel und initrd verwenden? Alexander Skwar
2005-09-17 21:15 ` pslizer [this message]
2005-09-18  8:35   ` Alexander Skwar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200509172316.59809.pslizer@gmail.com \
    --to=pslizer@gmail.com \
    --cc=gentoo-user-de@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox