Skip to content
This repository was archived by the owner on Feb 27, 2023. It is now read-only.

Conversation

@procount
Copy link
Contributor

After writing a new partition table, multiimagewritethread::run() attempts to erase any old partition information like volume names by erasing the first sector of the partition. However, For an ext4 partition, the volume label is in the Superblock which is located in the 3rd sector, so these are not erased.
This PR erases 3 sectors so that it will clear ext4 and FAT partition volume names.

Also, the additional feature of installing to a USB drive did not take this into account properly and so the boot partitions were not erased in a _multiDrive installation. This is also fixed by this PR.

Fixes the other issue in #456

@procount procount mentioned this pull request Nov 24, 2017
@XECDesign XECDesign merged commit d8a9752 into raspberrypi:master Mar 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants