Skip to content

SpruceOS Installer issues when formatting a microSD (on Windows at least) #1334

@rcostanza

Description

@rcostanza

Related to #1217 , but it's closed and I wasn't sure if I should've added a comment there.

--

Using the Windows installer, when the it formats the card, the free space it had before formatting remains, even when there are no files on it yet. It doesn't happen when formatting using a different tool.

To reproduce this:

  • Format the card as fat32. You might need something like Rufus to force fat32 on large cards
  • Verify that Windows shows the entire drive is free ("116 GB free of 116 GB")
  • Copy some files to it. I used h2testw to fill it with 5GB worth of test files
  • Check that Windows shows it has that much of space occupied ("111 GB free of 116 GB")
  • Use the SpruceOS Installer and begin the installation with default settings. Let it format the card, but cancel before it starts copying files
  • Verify on Windows that it still shows some space is taken (5GB in my case), even though it should be empty or only have a small txt file on it
  • Format the card with the other tool again, verify that it correctly shows the entire drive is free

--

While there's the free space issue, if you go to drive properties > details Windows will say it has that much space taken by "system & reserved" files, even when it's empty. I made sure to check for hidden files, there are none.

For now, I got around it by letting Rufus format and the installer only copy the files (check "Update existing installation (skip format)"). Afterwards, it correctly only shows about 3GB of space taken.

Metadata

Metadata

Labels

wontfixThis will not be worked on

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions