Hallo,
Nach tagelangem googeln und postings lesen versuche ich es mal hier.
Ich habe für meinen Laptop Etch mit Luks verschlüsselten LVM's installiert. Klappte wunderbar mit dem neuen Installer. Nun möchte ich diverse Virtualisierungstools wie VMWareserver und VirtualBox ausprobieren wozu ich einen selbstgebauten kernel-2.6.21 verwenden muss, da VMWareserver darauf besteht.
Der bootet zwar von der verschlüsselten Rootpartition /dev/hda5 doch die Luks Passphrase wird nicht gefunden, d.h. diese Fehlermeldungen werden angezeigt:
device mapper: table 254:0: crypt: Error alocating cryptotfm
device mapper: ioctl: error adding target to table
Failed to setup dm-crypt key mapping
check kernel for the aes-cbc-essiv:sha256 cipher spec and verify that /dev/hda5 has at least 258 sectors
Failed to read key from key storage
No key available with this passphrase
so weit so gut nun zu meiner Frage. Wo finde ich diesen Hexwert und wie kann ich einstellen dass der "neue" Kernel diesen verwendet?
Hat wer ne Idee?
Danke schonmal
hackbox
Failed to read key from key storage
Failed to read key from key storage
root is a question of mind
- mragucci
- Beiträge: 598
- Registriert: 08.09.2004 03:21:24
- Lizenz eigener Beiträge: MIT Lizenz
- Wohnort: Endor
-
Kontaktdaten:
Re: Failed to read key from key storage
Das ist ja mal ganz was neues. Ich habe den VMWare Server jetzt schon zig Mal unter einem Standard-Etchkernel installiert und musste nie einen eigenen Kernel kompilieren... Wenn Dein System mit dem Standard-Kernel bootet solltest Du Dir lieber nochmal das VMWare-Setup anschauen.....hackbox hat geschrieben:Nun möchte ich diverse Virtualisierungstools wie VMWareserver und VirtualBox ausprobieren wozu ich einen selbstgebauten kernel-2.6.21 verwenden muss, da VMWareserver darauf besteht.
Ich will im Schlaf sterben - Wie mein Opa...
Und nicht weinend und schreiend wie sein Beifahrer!
-----
https://www.whisperedshouts.de
Und nicht weinend und schreiend wie sein Beifahrer!
-----
https://www.whisperedshouts.de
RE: Failed to read key from key storage
Hallo mragucci,
da kam wohl was falsch an, sorry was ich sagen wollte war, daß ich eine Fehlermeldung des vmware-server-install scripts do verstanden habe, daß der nur auf einem (selbst) kompilierten Kernel läuft, da eine Header Datei (linux/version.h) fehlt, die nur erstellt wird wenn die Quellen kompiliert worden sind.
Ich meinte das hier:
---schnippel_on--------------------------------------------------------------------------------------------------------
None of the pre-built vmmon modules for VMware Server is suitable for your
running kernel. Do you want this program to try to build the vmmon module for
your system (you need to have a C compiler installed on your system)? [yes]
Using compiler "/usr/bin/gcc". Use environment variable CC to override.
Your kernel was built with "gcc" version "4.1.2", while you are trying to use
"/usr/bin/gcc" version "4.1.3". This configuration is not recommended and
VMware Server may crash if you'll continue. Please try to use exactly same
compiler as one used for building your kernel. Do you want to go with compiler
"/usr/bin/gcc" version "4.1.3" anyway? [no] yes
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include] /usr/src/linux-headers-2.6.18-4/include
The path "/usr/src/linux-headers-2.6.18-4/include" is a kernel header file
directory, but it does not contain the file "linux/version.h" as expected.
This can happen if the kernel has never been built, or if you have invoked the
"make mrproper" command in your kernel directory. In any case, you may want to
rebuild your kernel.
-----schnippel_off--------------------------------------------------------------------------------------------------------------------
Die Kernel-headers habe ich installiert das linux-image-2.6 auch doch was nun?
Wie mache ich das rebuild ohne Kernelquellen des debian Kernels?
Gruss
hackbox
da kam wohl was falsch an, sorry was ich sagen wollte war, daß ich eine Fehlermeldung des vmware-server-install scripts do verstanden habe, daß der nur auf einem (selbst) kompilierten Kernel läuft, da eine Header Datei (linux/version.h) fehlt, die nur erstellt wird wenn die Quellen kompiliert worden sind.
Ich meinte das hier:
---schnippel_on--------------------------------------------------------------------------------------------------------
None of the pre-built vmmon modules for VMware Server is suitable for your
running kernel. Do you want this program to try to build the vmmon module for
your system (you need to have a C compiler installed on your system)? [yes]
Using compiler "/usr/bin/gcc". Use environment variable CC to override.
Your kernel was built with "gcc" version "4.1.2", while you are trying to use
"/usr/bin/gcc" version "4.1.3". This configuration is not recommended and
VMware Server may crash if you'll continue. Please try to use exactly same
compiler as one used for building your kernel. Do you want to go with compiler
"/usr/bin/gcc" version "4.1.3" anyway? [no] yes
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include] /usr/src/linux-headers-2.6.18-4/include
The path "/usr/src/linux-headers-2.6.18-4/include" is a kernel header file
directory, but it does not contain the file "linux/version.h" as expected.
This can happen if the kernel has never been built, or if you have invoked the
"make mrproper" command in your kernel directory. In any case, you may want to
rebuild your kernel.
-----schnippel_off--------------------------------------------------------------------------------------------------------------------
Die Kernel-headers habe ich installiert das linux-image-2.6 auch doch was nun?
Wie mache ich das rebuild ohne Kernelquellen des debian Kernels?
Gruss
hackbox
root is a question of mind
- mragucci
- Beiträge: 598
- Registriert: 08.09.2004 03:21:24
- Lizenz eigener Beiträge: MIT Lizenz
- Wohnort: Endor
-
Kontaktdaten:
RE
Moin,
brauchst Du Dich doch nicht für entschuldigen
Aber wenn Du die Kernelheader installiert hast sollte das eigentlich funktionieren.
Eventuell nochmal ein
ausführen und nochmal versuchen.
Kurzes googlen brachte das hier:
http://www.howtoforge.com/debian_etch_v ... rver_howto
Habe ich eben nur kurz überflogen, scheint aber sämtliche Schritte genau aufzuführen, ab Punkt 2 ist die SW-Installation beschrieben, so sollte es funktionieren!
Viel Erfolg
brauchst Du Dich doch nicht für entschuldigen
Aber wenn Du die Kernelheader installiert hast sollte das eigentlich funktionieren.
Eventuell nochmal ein
Code: Alles auswählen
aptitude install linux-headers-`uname r` build-essential
Kurzes googlen brachte das hier:
http://www.howtoforge.com/debian_etch_v ... rver_howto
Habe ich eben nur kurz überflogen, scheint aber sämtliche Schritte genau aufzuführen, ab Punkt 2 ist die SW-Installation beschrieben, so sollte es funktionieren!
Viel Erfolg
Ich will im Schlaf sterben - Wie mein Opa...
Und nicht weinend und schreiend wie sein Beifahrer!
-----
https://www.whisperedshouts.de
Und nicht weinend und schreiend wie sein Beifahrer!
-----
https://www.whisperedshouts.de
ReRE.: failed to read key from key-storage
Hallo mragucci,
also ich bin glauibe ich zu blöd, weil so schwer kann es ja laut howto nicht sein.
das habe ich ausgeführt: aptitude install linux-headers-`uname r` build-essential
dieses Verzeichnis enthält die Header Files allerdings nicht version.h
Das Verzeichnis existiert nicht What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
also habe ich dieses Verzeichnis gewählt: /lib/modules/2.6.18-4-686/build/include
und das ist ide Fehlermeldung: The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match
your running kernel (version 2.6.18-4-686). Even if the module were to compile
successfully, it would not load into the running kernel.
Wo finde ich die passenden Kernel-Header? das Paket linux-headers-2.6.18-4-686 ist installiert kernel ist 2.6.18-4-686
Danke schon mal im Voraus
hackbox
also ich bin glauibe ich zu blöd, weil so schwer kann es ja laut howto nicht sein.
das habe ich ausgeführt: aptitude install linux-headers-`uname r` build-essential
dieses Verzeichnis enthält die Header Files allerdings nicht version.h
Das Verzeichnis existiert nicht What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
also habe ich dieses Verzeichnis gewählt: /lib/modules/2.6.18-4-686/build/include
und das ist ide Fehlermeldung: The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match
your running kernel (version 2.6.18-4-686). Even if the module were to compile
successfully, it would not load into the running kernel.
Wo finde ich die passenden Kernel-Header? das Paket linux-headers-2.6.18-4-686 ist installiert kernel ist 2.6.18-4-686
Danke schon mal im Voraus
hackbox
root is a question of mind