Can I mount a bitlockered volume at boot?
At boot (talking about Xubuntu here), I'm already asked for the decryption key for the /
mount point (for the OS itself), which is set up with /etc/fstab
and /etc/crypttab
. The current setup is having a /boot
, a LUKS-encrypted /
, and a Bitlocker-encrypted Windows partition.
Currently I can mount the bitlockered partition with these lines:
sudo dislocker -vu /dev/sdXY /media/user/windows
sudo ntfs-3g /media/user/windows/dislocker-file /media/user/windows
Can I use somehow the crypttab
and fstab
to unlock a /dev/sdXY
device with dislocker
, so I'm asked for the key the same way at boot?
boot dual-boot mount encryption fstab
add a comment |
At boot (talking about Xubuntu here), I'm already asked for the decryption key for the /
mount point (for the OS itself), which is set up with /etc/fstab
and /etc/crypttab
. The current setup is having a /boot
, a LUKS-encrypted /
, and a Bitlocker-encrypted Windows partition.
Currently I can mount the bitlockered partition with these lines:
sudo dislocker -vu /dev/sdXY /media/user/windows
sudo ntfs-3g /media/user/windows/dislocker-file /media/user/windows
Can I use somehow the crypttab
and fstab
to unlock a /dev/sdXY
device with dislocker
, so I'm asked for the key the same way at boot?
boot dual-boot mount encryption fstab
add a comment |
At boot (talking about Xubuntu here), I'm already asked for the decryption key for the /
mount point (for the OS itself), which is set up with /etc/fstab
and /etc/crypttab
. The current setup is having a /boot
, a LUKS-encrypted /
, and a Bitlocker-encrypted Windows partition.
Currently I can mount the bitlockered partition with these lines:
sudo dislocker -vu /dev/sdXY /media/user/windows
sudo ntfs-3g /media/user/windows/dislocker-file /media/user/windows
Can I use somehow the crypttab
and fstab
to unlock a /dev/sdXY
device with dislocker
, so I'm asked for the key the same way at boot?
boot dual-boot mount encryption fstab
At boot (talking about Xubuntu here), I'm already asked for the decryption key for the /
mount point (for the OS itself), which is set up with /etc/fstab
and /etc/crypttab
. The current setup is having a /boot
, a LUKS-encrypted /
, and a Bitlocker-encrypted Windows partition.
Currently I can mount the bitlockered partition with these lines:
sudo dislocker -vu /dev/sdXY /media/user/windows
sudo ntfs-3g /media/user/windows/dislocker-file /media/user/windows
Can I use somehow the crypttab
and fstab
to unlock a /dev/sdXY
device with dislocker
, so I'm asked for the key the same way at boot?
boot dual-boot mount encryption fstab
boot dual-boot mount encryption fstab
asked Aug 31 '17 at 8:34
ExecExec
62
62
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
Try this edit to fstab
Backup /etc/fstab
by making a copy:
sudo cp /etc/fstab /etc/fstab.original
Edit /etc/fstab
and add the following lines
# Windows' NTFS Disk C:/
/dev/sdXY /media/user/windows fuse.dislocker recovery-password=000000-000000-000000-000000-000000-000000-000000-000000 0 0
/media/user/windows/dislocker-file /media/user/windows auto nofail,x-gvfs-show,x-gvfs-name=C: 0 0
/dev/sdXY
is the bitlocker encrypted partition. X can be a, b, c, etc. Y can be 1, 2, 3, etc.
You will need to use your own recovery password instead of a bunch of zeros.
Source: https://github.com/Aorimn/dislocker/issues/131
Hope this helps
add a comment |
Try this in fstab
# /dev/sdxY Windows partition
/dev/sdxY /mnt/Windows fuse.dislocker recovery-password=000000-000000-000000-000000-000000-000000-000000-000000 0 0
/mnt/Windows/dislocker-file /mnt/Data auto nofail,x-gvfs-show,x-gvfs-name=C: 0 0
Change the Windows partition name, mount points and recovery-password as necessary.
Then sudo mount -a
to test if it works.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f951542%2fcan-i-mount-a-bitlockered-volume-at-boot%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Try this edit to fstab
Backup /etc/fstab
by making a copy:
sudo cp /etc/fstab /etc/fstab.original
Edit /etc/fstab
and add the following lines
# Windows' NTFS Disk C:/
/dev/sdXY /media/user/windows fuse.dislocker recovery-password=000000-000000-000000-000000-000000-000000-000000-000000 0 0
/media/user/windows/dislocker-file /media/user/windows auto nofail,x-gvfs-show,x-gvfs-name=C: 0 0
/dev/sdXY
is the bitlocker encrypted partition. X can be a, b, c, etc. Y can be 1, 2, 3, etc.
You will need to use your own recovery password instead of a bunch of zeros.
Source: https://github.com/Aorimn/dislocker/issues/131
Hope this helps
add a comment |
Try this edit to fstab
Backup /etc/fstab
by making a copy:
sudo cp /etc/fstab /etc/fstab.original
Edit /etc/fstab
and add the following lines
# Windows' NTFS Disk C:/
/dev/sdXY /media/user/windows fuse.dislocker recovery-password=000000-000000-000000-000000-000000-000000-000000-000000 0 0
/media/user/windows/dislocker-file /media/user/windows auto nofail,x-gvfs-show,x-gvfs-name=C: 0 0
/dev/sdXY
is the bitlocker encrypted partition. X can be a, b, c, etc. Y can be 1, 2, 3, etc.
You will need to use your own recovery password instead of a bunch of zeros.
Source: https://github.com/Aorimn/dislocker/issues/131
Hope this helps
add a comment |
Try this edit to fstab
Backup /etc/fstab
by making a copy:
sudo cp /etc/fstab /etc/fstab.original
Edit /etc/fstab
and add the following lines
# Windows' NTFS Disk C:/
/dev/sdXY /media/user/windows fuse.dislocker recovery-password=000000-000000-000000-000000-000000-000000-000000-000000 0 0
/media/user/windows/dislocker-file /media/user/windows auto nofail,x-gvfs-show,x-gvfs-name=C: 0 0
/dev/sdXY
is the bitlocker encrypted partition. X can be a, b, c, etc. Y can be 1, 2, 3, etc.
You will need to use your own recovery password instead of a bunch of zeros.
Source: https://github.com/Aorimn/dislocker/issues/131
Hope this helps
Try this edit to fstab
Backup /etc/fstab
by making a copy:
sudo cp /etc/fstab /etc/fstab.original
Edit /etc/fstab
and add the following lines
# Windows' NTFS Disk C:/
/dev/sdXY /media/user/windows fuse.dislocker recovery-password=000000-000000-000000-000000-000000-000000-000000-000000 0 0
/media/user/windows/dislocker-file /media/user/windows auto nofail,x-gvfs-show,x-gvfs-name=C: 0 0
/dev/sdXY
is the bitlocker encrypted partition. X can be a, b, c, etc. Y can be 1, 2, 3, etc.
You will need to use your own recovery password instead of a bunch of zeros.
Source: https://github.com/Aorimn/dislocker/issues/131
Hope this helps
answered Apr 23 '18 at 14:43
user68186user68186
16.5k84969
16.5k84969
add a comment |
add a comment |
Try this in fstab
# /dev/sdxY Windows partition
/dev/sdxY /mnt/Windows fuse.dislocker recovery-password=000000-000000-000000-000000-000000-000000-000000-000000 0 0
/mnt/Windows/dislocker-file /mnt/Data auto nofail,x-gvfs-show,x-gvfs-name=C: 0 0
Change the Windows partition name, mount points and recovery-password as necessary.
Then sudo mount -a
to test if it works.
add a comment |
Try this in fstab
# /dev/sdxY Windows partition
/dev/sdxY /mnt/Windows fuse.dislocker recovery-password=000000-000000-000000-000000-000000-000000-000000-000000 0 0
/mnt/Windows/dislocker-file /mnt/Data auto nofail,x-gvfs-show,x-gvfs-name=C: 0 0
Change the Windows partition name, mount points and recovery-password as necessary.
Then sudo mount -a
to test if it works.
add a comment |
Try this in fstab
# /dev/sdxY Windows partition
/dev/sdxY /mnt/Windows fuse.dislocker recovery-password=000000-000000-000000-000000-000000-000000-000000-000000 0 0
/mnt/Windows/dislocker-file /mnt/Data auto nofail,x-gvfs-show,x-gvfs-name=C: 0 0
Change the Windows partition name, mount points and recovery-password as necessary.
Then sudo mount -a
to test if it works.
Try this in fstab
# /dev/sdxY Windows partition
/dev/sdxY /mnt/Windows fuse.dislocker recovery-password=000000-000000-000000-000000-000000-000000-000000-000000 0 0
/mnt/Windows/dislocker-file /mnt/Data auto nofail,x-gvfs-show,x-gvfs-name=C: 0 0
Change the Windows partition name, mount points and recovery-password as necessary.
Then sudo mount -a
to test if it works.
answered 3 hours ago
To DoTo Do
8,70694992
8,70694992
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f951542%2fcan-i-mount-a-bitlockered-volume-at-boot%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown