Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm booting in recovery mode Unmount crypto partition.

umount /dev/mapper/sda6_crypt and i make fsck -c /dev/mapper/sda6_crypt

fsck output:

fsck.LVM"_member: not found
    fsck: Error 2 while executing fsck.LVM2_member for /dev/mapper/sda6_crypt

In crypto volume there are two crypto partitions:

  • swap
  • home

I make:

fsck -c /dev/mapper/cifrado-home

fsck.ext2: Superblock invalid, trying backup blocks...
fsck.ext2: Bad magic number in super-block while trying to open /dev/mapper/cifrado/home

I make: fsck -c /dev/sda6

fsck: fsck.crypto_LUKS: not found
fsck: Error 2 while executing fsck.crypto_LUKS for /dev/sda6
share|improve this question
    
It's useful if you actually ask a question... :) –  JanC Oct 23 '10 at 0:50

1 Answer 1

Boot the Ubuntu Desktop CD or go to recovery mode,

Install lvm2 and cryptsetup,

sudo apt-get install lvm2 cryptsetup

load the cyrptsetup module :

sudo modprobe dm-crypt

Decrypt your file system,

sudo cryptsetup luksOpen /dev/hda5 crypt1

Get the live CD to recognize (activate) your LVM :

sudo vgscan --mknodes sudo vgchange -ay

Run fsck,

fsck /dev/mapper/

Answer was found here.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.