You are not logged in.
hey guys,
i am fairly new to linux and i need the community assist with an issue i cant solve for 2 days now.
i installed linux arch on one SSD, and in the other SSD i had windows 10 encrypted with bitlocker.
after installation i saw that grub wont recognize the window bootmanager
1) this is my first lsblk after opening the arch machine
[xxxxxx@archlinux c_drive]$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
nvme1n1 259:0 0 953.9G 0 disk
├─nvme1n1p1 259:1 0 511M 0 part /boot
└─nvme1n1p2 259:2 0 953.4G 0 part ------------------ linux image
└─cryptlvm 254:0 0 953.4G 0 crypt /var/log
/var/cache/pacman/pkg
/home
/.snapshots
/
nvme0n1 259:3 0 953.9G 0 disk
├─nvme0n1p1 259:4 0 16M 0 part
├─nvme0n1p2 259:5 0 953.3G 0 part ------------------ windows image
└─nvme0n1p3 259:6 0 515M 0 part
sudo fdisk -l
Disk /dev/nvme1n1: 953.87 GiB, 1024209543168 bytes, 2000409264 sectors
Disk model: INTEL SSDPEKNW010T9
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 3BA50D26-9D87-4D02-98F7-08BEFFBAA836
## here is where i host linuxarch - nvme1n1p2
Device Start End Sectors Size Type
/dev/nvme1n1p1 2048 1048575 1046528 511M EFI System
/dev/nvme1n1p2 1050624 2000408575 1999357952 953.4G Linux filesystem
-----------------------------------------------------------------------------------------------------------------------
Disk /dev/nvme0n1: 953.87 GiB, 1024209543168 bytes, 2000409264 sectors
Disk model: ADATA SX8200PNP
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 9B3F99D7-F8DE-4F37-A0B2-36418435A5D3
## Here is where i host windows - nvme0n1p2
Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 34815 32768 16M Microsoft reserved
/dev/nvme0n1p2 34816 1999351596 1999316781 953.3G Microsoft basic data
/dev/nvme0n1p3 1999351808 2000406527 1054720 515M Windows recovery environment
Disk /dev/mapper/cryptlvm: 953.35 GiB, 1023654494208 bytes, 1999325184 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
i did the following:
1) installed os-prober - but it didnt find windows
2) i added to /etc/default/grub ---> GRUB_DISABLE_OS_PROBER=false
and recreate the grub config with:
grub-mkconfig -o /boot/grub/grub.cfg
sudo grub-mkconfig -o /boot/grub/grub.cfg
**Generating grub configuration file ...
**Found linux image: /boot/vmlinuz-linux
**Found initrd image: /boot/intel-ucode.img /boot/initramfs-linux.img
**Found fallback initrd image(s) in /boot: intel-ucode.img initramfs-linux-fallback.img
**Warning: os-prober will be executed to detect other bootable partitions.
**Its output will be used to detect bootable binaries on them and create new boot entries.
**Adding boot menu entry for UEFI Firmware Settings ...
**done
but still it cant find windows
4) i used dislocker to to decrypt the drive and mount it
4.1) sudo dislocker -V /dev/nvme0n1p2 -p -- /mnt/dislocker/
Enter the recovery password: XXXXXX-XXXXXX-XXXXXX-XXXXXX-XXXXXX-XXXXXX-XXXXXX-XXXXXX
Valid password format, continuing.
4.2) sudo mount -t ntfs --source /mnt/dislocker/dislocker-file --target /mnt/c_drive/
[xxxxxx@archlinux mnt]$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
loop0 7:0 0 953.3G 0 loop /mnt/c_drive ----------------------------- i can access every thing in the drive but its showing as loop and not as nvme0n1p2 the real drive.
sda 8:0 1 7.5G 0 disk
└─sda1 8:1 1 7.5G 0 part
sdb 8:16 1 0B 0 disk
zram0 253:0 0 4G 0 disk [SWAP]
nvme1n1 259:0 0 953.9G 0 disk
├─nvme1n1p1 259:1 0 511M 0 part /boot
└─nvme1n1p2 259:2 0 953.4G 0 part
└─cryptlvm 254:0 0 953.4G 0 crypt /var/log
/var/cache/pacman/pkg
/home
/.snapshots
/
nvme0n1 259:3 0 953.9G 0 disk
├─nvme0n1p1 259:4 0 16M 0 part
├─nvme0n1p2 259:5 0 953.3G 0 part ---------------------
└─nvme0n1p3 259:6 0 515M 0 part
4.3) i recreated the grub file again but with same results
4.4) i run again os-prober with no success
everything is up to date.
i currently cant boot windows 10 and that what i am trying to achive
any suggestions will be welcome
Last edited by BAGLE3 (2023-04-15 14:35:12)
Offline
Welcome to the forum, please use code tags for your terminal output:
[code]
output here
[/code]
A bitlocker encrypted windows cannot be booted easily from grub. You'd have to enter the recovery key each time I think. If that is acceptable you might be able to add a custom boot entry like this:
https://wiki.gentoo.org/wiki/GRUB/Chain … I_with_GPT /change the uuid to the one of your windows efi partition)
Some related thread here: https://bbs.archlinux.org/viewtopic.php?id=283267
If you want to avoid typing the bitlocker recovery key / password, your uefi firmware hopefully has a boot menu you can open during startup with some key combination where you can choose windows.
https://discussion.fedoraproject.org/t/ … grub/78428
Edit: If you use systemd-boot instead of grub you can try its "reboot-for-bitlocker" option.
https://wiki.archlinux.org/title/System … _unlocking
Last edited by progandy (2023-04-15 14:15:07)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline