I recently tried to dual boot install Linux on my Windows laptop it failed and my Windows boot partition and files are inaccessible. Linux is bootable and I can see two drives using lsblk - nvme0n1 and nvme1n1
nvme1n1 is my existing partition in which Linux is working in and nvme0n1 is the inaccessible partition which currently from the size should have the WIndows OS and files. Is there a way to recover the files from the inaccessible nvme0n1 drive? I tried testdisk/photorec and Gparted without any success. I cannot access the nvme0n1 drive from Grub command prompt or the windows recovery command prompt.
Appreciate any help and pointers.
thank you very much
Additional information and edits:
The windows drive nvme01 and associated partition does not show up when I do ls in Grub Command line nor the window rescue command prompt when I use disk part. The windows partition is encrypted using bit locker.
the output from sudo nvme command –
Smart Log for NVME device:nvme0n1
namespace-id:ffffffff
critical_warning : 0
temperature : 89 °F (305 K)
available_spare : 100%
available_spare_threshold : 50%
percentage_used : 7%
endurance group critical warning summary: 0
Data Units Read : 46,067,151 (23.59 TB)
Data Units Written : 42,110,803 (21.56 TB)
host_read_commands : 1,271,944,287
host_write_commands : 1,074,384,126
controller_busy_time : 23,817
power_cycles : 1,590
power_on_hours : 16,525
unsafe_shutdowns : 200
media_errors : 0
num_err_log_entries : 0
Warning Temperature Time : 0
Critical Composite Temperature Time : 0
Thermal Management T1 Trans Count : 99
Thermal Management T2 Trans Count : 23
Thermal Management T1 Total Time : 10748
Thermal Management T2 Total Time : 743
EDITS:
fdisk -l on /dev/nvme0n1 shows a partition /dev/nvme0n1p1 of type GPT. This partition has Windows installation and user files.
When I use sudo dislocker with -pbitlockerkey option on the drive /dev/nvme0n1I get an error "Cannot parse volume header. Abort."
EDITS: Here is the output of fdisk and dislocker
% sudo fdisk -l /dev/nvme0n1
Disk /dev/nvme0n1: 476.94 GiB, 512110190592 bytes, 1000215216 sectors
Disk model: H10 HBRPEKNX0202A NVMe INTEL 512GB
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: dos
Disk identifier: 0x00000000
Device Boot Start End Sectors Size Id Type
/dev/nvme0n1p1 1 4294967295 4294967295 2T ee GP
% sudo dislocker -V /dev/nvme0n1p1 -pxxxxxx-xxxxxx-xxxxxx-xxxxxx-xxxxxx-xxxxxx-xxxxxx-xxxxxx /mnt/bitlocker
Wed Feb 19 17:27:15 2025 [CRITICAL] Failed to open /dev/nvme0n1p1: No such file or directory
nvmecommand-line tool installed (the package name might benvmeornvme-cli, depending on distribution)? If yes, runsudo nvme smart-log /dev/nvme0n1and copy/paste the output into your original question post. Alternatively, trysudo smartctl -x /dev/nvme0n1, and also copy/paste the output into your original question. Don't attempt to add the outputs as comments - they are way too long for that.