Ubuntu: Retrieve partitions from Windows after irreversible crash
Ubuntu: Retrieve partitions from Windows after irreversible crash
Dear Reader, I have had some trouble with windows running stable for the last 3 weeks. And of course it crashed in the beginning of this week at the worst moment. I am not able to recover the windows install. So I want to go back to Linux (Ubuntu 16.04.3 (because Ryzen)) for this server of mine. All said and done: I try to mount the ntfs partitions (because +-10Tb of data) and I get this error: Status (terminal): PC@Ubuntu-VM-Hosty:~$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sdf 8:80 0 2,7T 0 disk ├─sdf1 8:81 0 128M 0 part └─sdf2 8:82 0 2,7T 0 part sdd 8:48 0 931,5G 0 disk ├─sdd2 8:50 0 931,4G 0 part └─sdd1 8:49 0 128M 0 part sdb 8:16 0 2,7T 0 disk ├─sdb2 8:18 0 2T 0 part ├─sdb3 8:19 0 746,4G 0 part └─sdb1 8:17 0 128M 0 part sde 8:64 0 931,5G 0 disk ├─sde2 8:66 0 931,4G 0 part └─sde1 8:65 0 128M 0 part sdc 8:32 0 117,4G 0 disk ├─sdc2 8:34 0 116,9G 0 part └─sdc1 8:33 0 500M 0 part sda 8:0 0 2,7T 0 disk ├─sda4 8:4 0 500G 0 part ├─sda2 8:2 0 300G 0 part ├─sda5 8:5 0 931,4G 0 part ├─sda3 8:3 0 20G 0 part ├─sda1 8:1 0 128M 0 part └─sda6 8:6 0 1T 0 part nvme0n1 259:0 0 27,3G 0 disk ├─nvme0n1p3 259:3 0 7,6G 0 part / ├─nvme0n1p1 259:1 0 1,9G 0 part [SWAP] ├─nvme0n1p4 259:4 0 17,7G 0 part /media/Optane └─nvme0n1p2 259:2 0 75M 0 part /boot/efi PC@Ubuntu-VM-Hosty:~$ sudo mount -t ntfs-3g -o remove_hiberfile /dev/sda2 /media/Vm The disk contains an unclean file system (0, 0). Metadata kept in Windows cache, refused to mount. Failed to mount '/dev/sda2': Operation not permitted The NTFS partition is in an unsafe state. Please resume and shutdown Windows fully (no hibernation or fast restarting), or mount the volume read-only with the 'ro' mount option. PC@Ubuntu-VM-Hosty:~$ What am I doing wrong here or what am I forgetting? (I have done this succes fully in the past with Ubuntu 14.03) edit: Yes, i am running optane nvme on ryzen as een ssd
Ubuntu and other Linux distributions generally avoid modifying NTFS partitions unless they are properly unmounted. You’ll need to open them in Windows and then restart cleanly, I think.
You can start from a Windows installation media. Press SHIFT plus F10 to launch Command Prompt, then use chkdsk /f to verify the drive and ensure it's error-free.
Thanks for the assistance. I was able to open them now. It looks like I mounted it as read-only, and checking it in Windows resolved the issue.