You are not logged in.

#1 2023-02-03 21:12:58

cyberpink
Member
Registered: 2023-02-03
Posts: 3

Dual Boot (windows/archlinux) problem with bitlocker

Hi,

I’m trying to install arch Linux and Windows, using dual boot, but my windows disk partition is using BitLocker, I tried using `dislocker` utility to unlock and mount, but when I run grub tools, I have not found the way to recognize that partition.
I tried adding a configuration in `40__custom` grub file, but I’m getting the error that the grub file is not found
Has anyone got this problem too? Any advice?

Offline

#2 2023-02-03 21:19:51

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: Dual Boot (windows/archlinux) problem with bitlocker

cyberpink wrote:

I tried using `dislocker` utility to unlock and mount, but when I run grub tools, I have not found the way to recognize that partition.

You should provide the exact, full commands rather than vague descriptions. How did you check that the partition had been unlocked?

cyberpink wrote:

I tried adding a configuration in `40__custom` grub file, but I’m getting the error that the grub file is not found

Again, the full configuration and exact error message is required. Note that the relevant file should be /etc/grub.d/40_custom (or /boot/grub/custom.cfg).

Offline

#3 2023-02-03 21:23:47

cyberpink
Member
Registered: 2023-02-03
Posts: 3

Re: Dual Boot (windows/archlinux) problem with bitlocker

sudo dislocker -v -V /dev/nvme0n1p3 --recovery-password=number_code /media/bitlocker
sudo mkdir -p /media/mount
sudo mount -t ntfs-3g -o loop /media/bitlocker/dislocker-file /windows




#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
menuentry "Microsoft Windows UEFI/GPT" {
        insmod part_gpt
        insmod fat
        insmod chain
        search.fs_uuid --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=nvme0n1,gpt1 42CF-62A1
        chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}

Offline

#4 2023-02-03 21:30:21

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: Dual Boot (windows/archlinux) problem with bitlocker

If this is a UEFI system then you just need to mount the EFI system partition for os-prober to be able to detect it. No need to unlock anything.

Did you install (and enable) os-prober? Is Arch installed in UEFI mode? Check for /sys/firmware/efi/ to confirm.

And you didn't provide the relevant GRUB commands.

cyberpink wrote:

I’m getting the error that the grub file is not found

What was the exact error? Where do you see it? What did you do to provoke it?

Please don't make this thread like pulling teeth. Work with me here.

Offline

#5 2023-02-03 22:05:21

cyberpink
Member
Registered: 2023-02-03
Posts: 3

Re: Dual Boot (windows/archlinux) problem with bitlocker

The error is:
error: no such device: --no-f loopy.
error: file '/EFI/Microsoft/Boot/bootmgfw.efi' not found
Press any key to continue...

where i see it: on the boot menu to select windows option

Offline

#6 2023-02-03 22:24:19

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: Dual Boot (windows/archlinux) problem with bitlocker

Did you check the ESP for that file? Looks like there's a typo in 40_custom ("--no-f loopy"), though it's not present in your transcription.

Note that search.fs_uuid is an alias for search --fs-uuid so you don't need the --fs-uuid bit if you use that. The hints are only needed if you have two partitions with the same UUID and you don't need --no-floppy unless you actually have a floppy disk drive.

Why won't you answer all of my questions? I can't do this unless you co-operate.

Offline

Board footer

Powered by FluxBB