You are not logged in.
I'm sorry if this problem is documented somewhere, but I'm currently on a knoppix live cd ...
My fstab is somehow broken, i.e. there's an entry for a hdd that is not present so I'm falling into maintenance after boot.
Normally I would take my knoppix cd, mount my root partition and fix fstab from there. But this isn't working. My System is encrypted and I cannot access it via knoppix.
cryptsetup luksOpen /dev/sda2 maintenance
Enter LUKS passphrase:
Failed to setup dm-crypt key mapping.
Check kernel for support for the aes-lrw-benbi cipher spec and verify that /dev/sda2 contains at least 383 sectors.
Failed to read from key storage
I can't remember what -c option I was using when I encrypted. But it was either
cryptsetup -c aes-xts-plain -y -s 512 luksFormat /dev/sda2
or
cryptsetup -c aes-lrw-benbi -y -s 384 luksFormat /dev/sda2
As the message tells me about the second one, I guess I used that one. But it doesn't seem to be supported in knoppix ....
How can I fix this???
I can open the partition in arch maintenance environment, but I cannot write and change fstab as it's read-only!
Really big needy thank you in advance!
Last edited by fourreux (2011-06-03 10:59:32)
Offline
Ok. I got it.
I need to "mount -n -o remount,rw /" and I can write to it.
Sorry to bother.
Offline