Open Harshalrathore007 opened 1 year ago
Use lsblk --fs
to look for the NTFS disk and then mount
to mount it to a folder, say \mnt
. This folder can be passed to --win
(but should also be autodetected once mounted).
The output of that command is
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
nvme0n1
├─nvme0n1p1 vfat FAT32 SYSTEM E6FB-790E 230.3M 10% /boot/efi
├─nvme0n1p2
├─nvme0n1p3 BitLocker 2
├─nvme0n1p4 BitLocker 2
├─nvme0n1p5 ntfs RECOVERY 722CFC0A2CFBC75F
├─nvme0n1p6 ntfs RESTORE 3AE882EEE882A7A9
├─nvme0n1p7 vfat FAT32 MYASUS 4C82-DC0A
├─nvme0n1p8 ext4 1.0 swap e4da591b-04dc-448a-9114-124b3cf54a75
└─nvme0n1p9 ext4 1.0 root 8843633f-ff56-46db-b66a-a1464f39dc96 140.6G 35% /
as you can see there are 2 ntfs partition found, which one is the correct one ? @Konfekt
Probably neither as you seem to have Bitlocker enabled. Follow a guide to mount those partitions and add them after --win
.
Well, the tool in that article did not work for me (and looks like for many others too) so I just had been left with one option according to my understanding which was to turn off the encryption on Windows sadly I wanted to keep Windows encrypted but as my research concluded that BitLocker encryption and Linux dual boot can not go hand in hand as BitLocker requires SECURE_BOOT turned on otherwise it will ask for recovery_key on every boot and without secure boot disabled we arch guys can not boot to Linux (jealousy towards those Ubuntu guys) but oh well the BitLocker encryption isn't that good it seems cause there have been successful bypassing of them as I found somewhere (PS I don't even have the real BitLocker actually no windows 10 home edition does :( ).
BTW thanks for your prompted reply my friend @Konfekt
I've never used BitLocker, Secure Boot is off, I am using Arch, but bt-dualboot --list-win-mounts
shows this:
ERROR: None Windows locations found, use `--win MOUNT` to point actual Windows location
lsblk -fs:
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
sda1 ext4 1.0 327a56cd-d362-4032-be9c-0c6bae156749 17.2T 0% /ARCHIVE
└─sda
sdb1 ext4 1.0 5b5ae487-95c9-4f05-90cf-16cdce28d0e9 868.9G 0% /DDRIVE
└─sdb
sdc1 exfat 1.0 KINGSTON 2230-7EBC 97G 78% /HYPERXDRIVE
└─sdc
nvme0n1p1 vfat FAT32 50B4-0EF6 66.3M 31% /boot/efi
└─nvme0n1
nvme0n1p2
└─nvme0n1
nvme0n1p3 ntfs 80AA28C5AA28B994 179.8G 62% /mnt/windows
└─nvme0n1
nvme0n1p4 ntfs 62F298A2F2987BCB
└─nvme0n1
nvme1n1p1 ext4 1.0 b5a366ea-61c4-41c5-9922-5211087e9f74 856.4G 1% /
└─nvme1n1
mount
shows:
...
/dev/nvme0n1p3 on /mnt/windows type ntfs3 (rw,relatime,uid=0,gid=0,iocharset=utf8)
bt-dualboot --list-win-mounts --win /mnt/windows
shows:
Windows locations:
==================
Facing same problem as @DanteDragan
but there is no file or folder such as C:\Windows\System32\config\SYSTEM
in Windows 11 Home. But there is C:\Windows\System32\config\system
.
Facing same problem as @DanteDragan
but there is no file or folder such as
C:\Windows\System32\config\SYSTEM
in Windows 11 Home. But there isC:\Windows\System32\config\system
.
changing SYSTEM
to system
made it work on Windows 11
I've never used BitLocker, Secure Boot is off, I am using Arch, but
bt-dualboot --list-win-mounts
shows this:ERROR: None Windows locations found, use `--win MOUNT` to point actual Windows location
lsblk -fs:NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS sda1 ext4 1.0 327a56cd-d362-4032-be9c-0c6bae156749 17.2T 0% /ARCHIVE └─sda sdb1 ext4 1.0 5b5ae487-95c9-4f05-90cf-16cdce28d0e9 868.9G 0% /DDRIVE └─sdb sdc1 exfat 1.0 KINGSTON 2230-7EBC 97G 78% /HYPERXDRIVE └─sdc nvme0n1p1 vfat FAT32 50B4-0EF6 66.3M 31% /boot/efi └─nvme0n1 nvme0n1p2 └─nvme0n1 nvme0n1p3 ntfs 80AA28C5AA28B994 179.8G 62% /mnt/windows └─nvme0n1 nvme0n1p4 ntfs 62F298A2F2987BCB └─nvme0n1 nvme1n1p1 ext4 1.0 b5a366ea-61c4-41c5-9922-5211087e9f74 856.4G 1% / └─nvme1n1
mount
shows:... /dev/nvme0n1p3 on /mnt/windows type ntfs3 (rw,relatime,uid=0,gid=0,iocharset=utf8)
bt-dualboot --list-win-mounts --win /mnt/windows
shows:Windows locations: ==================
a simple solution to this is go to your file manager in linux for example nautilus in my case and in '+ other locations' you'll see windows C file system click on it and it will ask for root password give it and viola the C drive was mounted the bt-dualboot --list-win-mounts now should show you the mounted partitions.
Facing same problem as @DanteDragan https://github.com/x2es/bt-dualboot/blob/e3a98df9cc8f6fa6762563401737c9c3f46ac921/bt_dualboot/windows_registry/windows_registry.py#L9
but there is no file or folder such as
C:\Windows\System32\config\SYSTEM
in Windows 11 Home. But there isC:\Windows\System32\config\system
.changing
SYSTEM
tosystem
made it work on Windows 11
I had Windows 10 Home dual booted with arch linux maybe that's why i did not face this issue, glad it worked for you.
Installation step
Tool could not be installed from
sudo pip install
because of below errorError message
``` error: externally-managed-environment × This environment is externally managed ╰─> To install Python packages system-wide, try 'pacman -S python-xyz', where xyz is the package you are trying to install. If you wish to install a non-Arch-packaged Python package, create a virtual environment using 'python -m venv path/to/venv'. Then use path/to/venv/bin/python and path/to/venv/bin/pip. If you wish to install a non-Arch packaged Python application, it may be easiest to use 'pipx install xyz', which will manage a virtual environment for you. Make sure you have python-pipx installed via pacman. note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages. hint: See PEP 668 for the detailed specification. ```So installed from AUR with
❯ yay -S bt-dualboot
Commands outputs
OS
How do I get the path to pass for
--win
parameter?