I'm trying to diagnose/rescue a Windows 11 PC which won't boot into Windows 11. I use Ubuntu on another of my PCs. I created a Linux Ubuntu bootable USB key and it booted the "Windows dead" PC but it doesn't show the Windows files on the "Windows dead" PC ? Is there any way to do this ?
Asked
Active
Viewed 77 times
1 Answers
0
- Determine the device of interest, using:
sudo fdisk -l
Note: You could also use sudo parted -l, but the device name is less explicit.
Example: Here, the Windows partition corresponds to the /dev/nvme0n1p4 device (see the filesystem size and type).
$ sudo fdisk -l
...
Périphérique Début Fin Secteurs Taille Type
/dev/nvme0n1p1 2048 1087487 1085440 530M Environnement de récupération Windows
/dev/nvme0n1p2 1087488 1619967 532480 260M Système EFI
/dev/nvme0n1p3 1619968 1882111 262144 128M Réservé Microsoft
/dev/nvme0n1p4 1882112 281618431 279736320 133,4G Données de base Microsoft
/dev/nvme0n1p5 998418432 1000212479 1794048 876M Environnement de récupération Windows
/dev/nvme0n1p6 281618432 289431551 7813120 3,7G Partition d'échange Linux
/dev/nvme0n1p7 289431552 387088383 97656832 46,6G Système de fichiers Linux
/dev/nvme0n1p8 387088384 998418431 611330048 291,5G Système de fichiers Linux
- Choose/create a (empty) directory where the partition must be mounted.
sudo mkdir -p /mnt/windows
- Mount the partition:
sudo mount /dev/nvme0n1p4 /mnt/windows
Note that depending on how you stopped Windows, this message may appear:
The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Falling back to read-only mount because the NTFS partition is in an
unsafe state. Please resume and shutdown Windows fully (no hibernation
or fast restarting.)
Could not mount read-write, trying read-only
- Do your stuff:
ls /mnt/windows
- After leaving, unmount this filesystem:
sudo umount /mnt/windows
Mando Мандо
- 318
- 10