Unable to format new disk after selection
I am unable to use the Disk Wizard to format a new disk after it's selection. Both options, the 'Format Entire Disk' and 'Format' option do not allow for forward progress. The only button visible is "Skip," which yields an error. Changing File System Type or any other combination of settings didn't alter this.
#1 Updated by cpg over 5 years ago
Thanks for the screenshots, it helps.
As discussed in IRC, don't forget to fish the logs and attach them for further scrutiny to catch this bug. We're interested in the format of that drive prior to your installing it by hand, which likely erased all traces of what may be triggering the bug.
1) output (or the short url of) fpaste --sysinfo
#4 Updated by taa over 4 years ago
This issue seems remarkably similar to what I've been struggling with for about two days. After clicking SKIP I get, "No partition selected!" I wonder if this what the OP means by "which yields an error."
I finally figured out that even though you can click on "format entire disk" you still have to select the partition so that it shows as "green". There's isn't really a clear indication that this is what you need to do. After all, if you select "format entire disk" shouldn't that be enough info to proceed? (A rhetorical question.) For this reason I don't think the issue subject is correct -- Unable to format new disk after selection -- because checking "format entire disk" doesn't qualify as "selecting".
I get that it is desired to have the user be REALLY SURE but maybe if "format entire disk" is checked you could automatically select the drive for the user? Even better... since there is still a chance to have the user confirm the action, maybe if there is only one partition listed you could automatically select it?
While trying to figure this out, I was reading similar bug reports that talked about what cpg says above, "We're interested in the format of that drive prior to your installing it by hand, which likely erased all traces of what may be triggering the bug."
In my case, the disk in question was a freshly made Virtualbox .vdi disk. In an attempt to fix this issue, I ran fdisk on it and it reported that it could not find a valid partition table (which is to be expected since VBox just created it as an "empty" .vdi) and created one. If I then wrote the fdisk changes to disk and started up the Disk Wizard again, I would still get, "No partition selected!" which to me was starting to look like a bogus error, when what DW really meant was "this is a corrupt disk." So I did the next step in fdisk by creating a new primary #1 partition, wrote the changes to disk, and re-ran DW. No difference. I next ran 'mkfs -t ext4 /dev/sdb1' (or similar, can't remember exactly) then ran DW again. No difference. Of course eventually I realized the problem was with the UI and not the disk image at all.
#6 Updated by taa over 4 years ago
- File amahi-disk-wizard-no-partition-table-1-select-h.png View added
- File amahi-disk-wizard-no-partition-table-2-choose-fs-h.png View added
Also, when the selected disk has no partition table, you can choose to format the entire disk but there's no partition listed so your only option is to SKIP. See attached amahi-disk-wizard-no-partition-table-1-select-h.PNG and amahi-disk-wizard-no-partition-table-2-choose-fs-h.PNG. As a work around, I'll use fdisk to manually create a partition table so I can continue.
Also available in: Atom