On Mon, 2009-01-26 at 09:17 +0100, line...@ruiner.halo.nu wrote:
> Hi
> 
> I have a relaively recent debian install with LUKS encrypted filesystem, 
> default options.
> 
> An error has been detected on the HD and it will not boot anymore, FSCK wants 
> the root password to do system maintenence.
> 
> 
> I do not know the root password and I would like to fsck the drive.
> 
> How can I do this?
> 
> Thanks
> 
> -Alan

Boot with any Linux Live disk which support cryptsetup.

Then map the encrypted volume (e.g. hdc1):
# cryptsetup luksOpen /dev/hdc1 unencryptednode

Then 'fsck' the disk:
# fsck /dev/mapper/unencryptednode

That is it.

btw. strange you know the password for the encryption, but not for root?

Best,

Rob




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to