1
0
mirror of https://github.com/tiyn/wiki.git synced 2025-04-03 15:27:45 +02:00

dislocker: added bootable ntfs usage

This commit is contained in:
tiyn 2023-01-04 15:51:26 +01:00
parent 2c5024a0ad
commit 16bf7bcbcd

View File

@ -19,15 +19,19 @@ The device which holds the windows partition is assumed to be calles
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`
`sudo dislocker /dev/sdc1 -u<password> -- /mnt/bitlocker`.
Alternatively a recovery key can be used:
`sudo dislocker /dev/sdc1 -p<recovery_password> -- /mnt/bitlocker`
`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`
Afterwards the `dislocker-file` can be mounted to the `/mnt/windows` directory:
`sudo mount -o loop /mnt/bitlocker/dislocker-file /mnt/windows`.
It is possible that the partition uses the NTFS which requires the `ntfs-3g`
package to be installed to work with linux and specified in the command:
`sudo mount -t ntfs-3g -o loop /mnt/bitlocker/dislocker-file /mnt/windows`.
If the partition to mount is bootable or contains a windows system the
hibernation and fast boot have to be disabled to mount the partition with write
access.
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.