Comments (4)
Hi @thvasilo
This error is most probably due to an error while giving the drive to dislocker. Are you sure you're giving the encrypted partition to dislocker, and not the disk? What's the exact commandline you're using?
from dislocker.
You are correct, I was trying to mount the whole drive instead of the partition. It works fine now.
from dislocker.
how to give encrypted partition to dislocker instead of the drive ?
from dislocker.
You can use fdisk on the drive and look for the right partition. Once you get it (or in order to get it), you can use the --offset
option of dislocker (multiplying the sector start number by the sector size).
For example, on a disk like the following one, let's say /dev/sda2 is BitLocker-encrypted:
# fdisk -l /dev/sda
Disk /dev/sda: 698.7 GiB, 750156374016 bytes, 1465149168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0xe3102a4b
Device Boot Start End Sectors Size Id Type
/dev/sda1 2048 52430847 52428800 25G 1c Hidden W95 FAT32 (LBA)
/dev/sda2 * 52430848 638488575 586057728 279.5G 7 HPFS/NTFS/exFAT
/dev/sda3 638488576 639512575 1024000 500M 83 Linux
/dev/sda4 639512576 1465149167 825636592 393.7G 5 Extended
/dev/sda5 639514624 1465147391 825632768 393.7G 83 Linux
Then you can run dislocker in the following way (where 52430848 is the beginning sector number of the /dev/sda2 encrypted partition):
dislocker -V /dev/sda -o $((52430848 * 512)) -- /mnt/dislocker/
from dislocker.
Related Issues (20)
- Mounts read only after update Arch Linux HOT 1
- Can Dislocker decrypt Volume Master Key by using BitLocker Recovery Key?
- mbedtls - build fail HOT 2
- Release HOT 1
- svg in README.md no longer available
- NTFS errors after forced shutdown HOT 1
- delete this please - I was wrong expecting an error
- Not able to compile on Ubuntu 22.04 libmbedcrypto.so not found, ruby.h not found
- double free
- Dislocker On Mac with homebrew HOT 9
- Loop devices are not supported on ChromeOS HOT 1
- merge multi-byte characters password patch
- [Question] Can I use it with "Used Space Only" encryption without protectors? HOT 1
- dislocker-metadata returns multiple Recovery Key GUIDs HOT 2
- libpolarssl-dev --> libmbedtls-dev
- Decrypt when Bitlocker is "suspended" HOT 1
- dislocker 0.73 reporting as 0.72
- Errors compiling
- can the recovery key be written BACK to Bitlocker-ed partition?
- Recovery Password Option Does Not Work When Password Provided In Parameter
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dislocker.