[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to manipulate an encrypted partition in a switched_root environment.



> 
> Inside the switched_root system, I do e2fsck or dumpe2fs on /dev/sda2,
> where sda2 is that encrypted partitionand it returns: bad superblock and
> stuff like this.In the ramdisk I had the /dev/mapper/enc device, but in
> switched_root system I don't have it. I only have /dev/mapper/control.

Since sda2 is encrypted e2fsck cant find superblock and fs data. You
must pass e2fsck to the fs unlocked.

Look for which device is mounted as rootfs and do e2fsck to this one.

_______________________________________________
dm-crypt mailing list
dm-crypt@xxxxxxxx
http://www.saout.de/mailman/listinfo/dm-crypt


[DM Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

Add to Google Powered by Linux