I cannot formate the disk due to issues with nftsresize
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| ubiquity (Ubuntu) |
Expired
|
High
|
Unassigned | ||
Bug Description
I cannot formate the disk
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: ubiquity 22.04.17
ProcVersionSign
Uname: Linux 5.15.0-43-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckR
CasperVersion: 1.470
CurrentDesktop: ubuntu:GNOME
Date: Tue Aug 30 13:59:58 2022
InstallCmdLine: BOOT_IMAGE=
LiveMediaBuild: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1)
ProcEnviron:
LANGUAGE=
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
LC_NUMERIC=C.UTF-8
SourcePackage: ubiquity
UpgradeStatus: No upgrade log present (probably fresh install)

From what I can tell there were some issues resizing your NTFS partitions. Could you try running chkdsk as instructed below and then reinstalling? Thanks in advance!
Aug 30 11:50:54 ubuntu ntfsresize: Filesystem check failed! Totally 521162 cluster accounting mismatches. 3hCAybUOAJ: wrong fs type, bad option, bad superblock on /dev/sda2, missing codepage or helper program, or other error. 3hCAybUOAJ. mount: Deactivated successfully. 3hCAybUOAJ: wrong fs type, bad option, bad superblock on /dev/sda4, missing codepage or helper program, or other error. ppRjKgtHQX: wrong fs type, bad option, bad superblock on /dev/sda2, missing codepage or helper program, or other error. ppRjKgtHQX. mount: Deactivated successfully. ppRjKgtHQX: wrong fs type, bad option, bad superblock on /dev/sda4, missing codepage or helper program, or other error.
Aug 30 11:50:54 ubuntu ntfsresize: ERROR: NTFS is inconsistent. Run chkdsk /f on Windows then reboot it TWICE!
Aug 30 11:50:54 ubuntu ntfsresize: The usage of the /f parameter is very IMPORTANT! No modification was
Aug 30 11:50:54 ubuntu ntfsresize: and will be made to NTFS by this software until it gets repaired.
Aug 30 11:50:54 ubuntu partman: Error running 'ntfsresize --info'
Aug 30 11:50:54 ubuntu ntfsresize: ntfsresize v2021.8.22 (libntfs-3g)
Aug 30 11:50:54 ubuntu ntfsresize: Device name : /dev/sda6
Aug 30 11:50:54 ubuntu ntfsresize: NTFS volume version: 3.1
Aug 30 11:50:54 ubuntu ntfsresize: Cluster size : 4096 bytes
Aug 30 11:50:54 ubuntu ntfsresize: Current volume size: 829420032 bytes (830 MB)
Aug 30 11:50:54 ubuntu ntfsresize: Current device size: 829423616 bytes (830 MB)
Aug 30 11:50:54 ubuntu ntfsresize: Checking filesystem consistency ...
Aug 30 11:50:54 ubuntu ntfsresize: Accounting clusters ...
Aug 30 11:50:54 ubuntu ntfsresize: Space in use : 459 MB (55.3%)
Aug 30 11:50:54 ubuntu ntfsresize: Collecting resizing constraints ...
Aug 30 11:50:54 ubuntu ntfsresize: You might resize at 458993664 bytes or 459 MB (freeing 371 MB).
Aug 30 11:50:54 ubuntu ntfsresize: Please make a test run using both the -n and -s options before real resizing!
Aug 30 11:50:54 ubuntu ubiquity: mount: /tmp/tmp.
Aug 30 11:50:54 ubuntu systemd[1]: tmp-tmp.
Aug 30 11:50:55 ubuntu ubiquity: mount: /tmp/tmp.
Aug 30 11:50:55 ubuntu ubiquity: mount: /tmp/tmp.
Aug 30 11:50:55 ubuntu systemd[1]: tmp-tmp.
Aug 30 11:50:55 ubuntu ubiquity: mount: /tmp/tmp.
Aug 30 11:50:57 ubuntu kernel: [ 299.641669] sda: sda1 sda2 sda3 sda4 sda5 sda6