New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Archinstall should correctly erase/resize the ESP/fat32 partition from Windows when entire disk erase is selected #645
Comments
Sadly this is not something we can do without 100% certainty, as there might be a risk of data loss or that microsoft resets the partition. What we can do is:
I'm leaning more towards option 1, as it's less prone to errors and something users have to do today anyway. |
To be clear, this is occurring specifically when "erase the entire disk and format as Arch sees fit" is selected. I would honestly expect this option to erase/format the Windows ESP partition entirely along with the rest of the Windows partitions as it already does. I suppose option 1 is okay as well, but why preserve the 100MB ESP partition when the NTFS partitions are blown away as expected? |
That is true, and that works better in The new partitioner is more "what you enter is what you get" : ) |
Great to hear, thanks! :) |
So this appears to cause occasional boot failures on kernel upgrades for people who have previously installed Fedora, as detailed over here (related issues: #591). I reinstalled Arch with the installer (and latest ISO: 12.01) today to try and fix the problem. Unfortunately, the extra entries in the boot menu remain. @Torxed: Should the new partitioner be wiping these entries, and is it included in the December ISO? |
The extra entries still remain. The december ISO should however wipe anything on |
The install itself went great! And whoops, #592 and #541 are unrelated, I confused the error message with the one I was getting on kernel updates. I think I recall either Ubuntu or Manjaro's installer wiping the boot menu so I'm going to play around with those to see if any will wipe it. Interestingly though, |
One thing we could do, is append a comment to our boot loaders, and only wipe those. |
Currently there appears to be a bug in the way archinstall is formatting a disk when the previous OS was Windows.
Windows 10+ uses an 100MB FAT32 ESP as the first partition, however Arch defaults to 512MB due to /boot kernel disk usage.
When the option to erase the entire disk is selected, the ESP/boot partition is created as a 512MB partition, but the 100MB FAT32 filesystem size from Windows is reused, which causes /boot to be 99% full on first install. The only way I've been able to get parted to work around this oddity is to fully erase the quasi-100MB/512MB FS/partition combo and create/format it from scratch and reinstall GRUB and files afterward. This is super annoying because my primary use case for archinstall is replacing Windows.
The text was updated successfully, but these errors were encountered: