From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cp-out11.libero.it (cp-out11.libero.it [212.52.84.111]) by mail.saout.de (Postfix) with ESMTP for ; Mon, 31 Aug 2009 00:49:06 +0200 (CEST) Received: from [10.83.3.3] (151.49.187.253) by cp-out11.libero.it (8.5.107) id 4A96C3B6009CE549 for dm-crypt@saout.de; Mon, 31 Aug 2009 00:49:06 +0200 Message-ID: <4A9B01E1.5030205@tiscali.it> Date: Mon, 31 Aug 2009 00:49:05 +0200 From: Tommaso MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: [dm-crypt] Help: after crypttab modify > begin: waiting for root file system Reply-To: elisapippo@tiscali.it List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de Sorry for my poor english and for the not-so-clear topic, I hope someone can help me because I'm in serious trouble :( I run (ehm... I was running :( ) a headless debian lenny server with encrypted LUKS filesystem. After I made an apparently harmless modify to the crypttab file I can no longer boot the system. At startup I get the message: Begin: waiting for root file system... And all is hanged up. I have a plaintext /boot partition with the bootloader (grub), while everything else is encrypted. My /etc/crypttab file was something like this: lg0-lv0_crypt /dev/mapper/lg0-lv0 none luks so that at boot time it was necessary to manually insert a passphrase to unlock the filesystem (lg0-lv0_crypt is mounted as / on fstab). Now, I must leave the place where the server resides for some weeks, so I decided to temporarily override this behaviour with a cleartext key file to avoid problems due to accidental rebooting. So I did: 1) put a random key_temp file in /boot with 600 permission 2) cryptsetup luksAddKey /dev/mapper/lg0-lv0 /boot/key_temp 3) edited /etc/crypttab to look like this: lg0-lv0_crypt /dev/mapper/lg0-lv0 /boot/key_temp luks 4) update-initramfs -u ALL but when I rebooted... all was hanged up as I said before. I can't manage even how to undo my changes now. Can you help me please? U_U