mirror of
https://github.com/tiyn/wiki.git
synced 2025-04-10 02:27:45 +02:00
Compare commits
2 Commits
3570f789bb
...
fbafa2b437
Author | SHA1 | Date | |
---|---|---|---|
fbafa2b437 | |||
fc5bb39909 |
33
wiki/linux/dislocker.md
Normal file
33
wiki/linux/dislocker.md
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
# Dislocker
|
||||||
|
|
||||||
|
[Dislocker](https://github.com/Aorimn/dislocker) is a driver to read and write
|
||||||
|
Bitlocker-ed volumes under Linux systems.
|
||||||
|
|
||||||
|
## Setup
|
||||||
|
|
||||||
|
On most of the Linux distributions Dislocker is bundled with the `dislocker`
|
||||||
|
package.
|
||||||
|
|
||||||
|
## Mounting Bitlocker-ed volume
|
||||||
|
|
||||||
|
For the mounting to work two directories are required.
|
||||||
|
One to mount the `dislocker-file` (`/mnt/bitlocker`) and one to mount the
|
||||||
|
windows volume (`/mnt/windows`).
|
||||||
|
The device which holds the windows partition is assumed to be calles
|
||||||
|
`/dev/sdc1`.
|
||||||
|
|
||||||
|
The following command mounts the `dislocker` file to `/mnt/bitlocker`.
|
||||||
|
Make sure to replace the password in the following command.
|
||||||
|
There is no gap between the `-u` and the password:
|
||||||
|
`sudo dislocker /dev/sdc1 -u<password> -- /mnt/bitlocker`
|
||||||
|
|
||||||
|
Alternatively a recovery key can be used:
|
||||||
|
`sudo dislocker /dev/sdc1 -p<recovery_password> -- /mnt/bitlocker`
|
||||||
|
|
||||||
|
Afterwards the `dislocker-file` can be mounted to the `/mnt/windows` directory.
|
||||||
|
`sudo mount -o loop /mnt/bitlocker/dislocker-file /mnt/windows`
|
||||||
|
|
||||||
|
Following these commands the windows partition can be found mounted on
|
||||||
|
`/mnt/windows`.
|
||||||
|
It is possible that the partition uses the NTFS which requires the `ntfs-3g`
|
||||||
|
package to be installed to work with linux.
|
@ -17,3 +17,8 @@ When software installation is done with Flatpak it is recommended to pass the
|
|||||||
`--user` so the software is not installed system-wide but for the user only.
|
`--user` so the software is not installed system-wide but for the user only.
|
||||||
In practice it looks like the following:
|
In practice it looks like the following:
|
||||||
`flatpak install --user <package to install>`.
|
`flatpak install --user <package to install>`.
|
||||||
|
|
||||||
|
## Running software
|
||||||
|
|
||||||
|
Software installed via flatpak can be run by typing the full package path into
|
||||||
|
the command line, for example `com.makemkv.MakeMKV`.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user