Topic: Resizing windows partition doesnt work. (ERROR)
I recently installed ubuntu dual boot with windows. It all worked fine and good and I used gparted to do all the partitioning. Now I'm out of space on my ubuntu system and I am want to extend the ubuntu partition or make a new secondary linux partition. But I get an error when trying to resize to windows partition. Even tho it worked a couple weeks ago when i installed ubuntu.
Here is the error details:
GParted 1.0.0 configuration --enable-libparted-dmraid --enable-online-resize libparted 3.3 ======================================== Device: /dev/nvme0n1 Model: SAMSUNG MZALQ128HBHQ-000L2 Serial: none Sector size: 512 Total sectors: 250069680 Heads: 255 Sectors/track: 2 Cylinders: 490332 Partition table: gpt Partition Type Start End Flags Partition Name File System Label Mount Point /dev/nvme0n1p1 Primary 2048 534527 boot, esp EFI system partition fat32 SYSTEM_DRV /boot/efi /dev/nvme0n1p2 Primary 534528 567295 msftres Microsoft reserved partition unknown /dev/nvme0n1p3 Primary 567296 175990783 msftdata Basic data partition ntfs /dev/nvme0n1p6 Primary 175990784 224819199 ext4 / /dev/nvme0n1p7 Primary 224819200 246949887 swap linux-swap /dev/nvme0n1p4 Primary 246949888 248018943 hidden, diag ntfs /dev/nvme0n1p5 Primary 248020992 250068991 hidden, diag Basic data partition ntfs WINRE_DRV ======================================== Shrink /dev/nvme0n1p3 from 83.65 GiB to 58.89 GiB 00:00:03 ( ERROR ) calibrate /dev/nvme0n1p3 00:00:00 ( SUCCESS ) path: /dev/nvme0n1p3 (partition) start: 567296 end: 175990783 size: 175423488 (83.65 GiB) check file system on /dev/nvme0n1p3 for errors and (if possible) fix them 00:00:03 ( ERROR ) ntfsresize -i -f -v '/dev/nvme0n1p3' 00:00:03 ( ERROR ) ntfsresize v2017.3.23AR.3 (libntfs-3g) Device name : /dev/nvme0n1p3 NTFS volume version: 3.1 Cluster size : 4096 bytes Current volume size: 89816822272 bytes (89817 MB) Current device size: 89816825856 bytes (89817 MB) Checking for bad sectors ... Checking filesystem consistency ... 100.00 percent completed Accounting clusters ... Cluster accounting failed at 5771731 (0x5811d3): missing cluster in $Bitmap Cluster accounting failed at 5772010 (0x5812ea): missing cluster in $Bitmap Cluster accounting failed at 5772011 (0x5812eb): missing cluster in $Bitmap Cluster accounting failed at 5772012 (0x5812ec): missing cluster in $Bitmap Cluster accounting failed at 5772013 (0x5812ed): missing cluster in $Bitmap Cluster accounting failed at 5772014 (0x5812ee): missing cluster in $Bitmap Cluster accounting failed at 5772015 (0x5812ef): missing cluster in $Bitmap Filesystem check failed! Totally 7 cluster accounting mismatches. ERROR: NTFS is inconsistent. Run chkdsk /f on Windows then reboot it TWICE! The usage of the /f parameter is very IMPORTANT! No modification was and will be made to NTFS by this software until it gets repaired.