hako wrote: Sun Oct 16, 2022 5:47 am
I am somehow reluctant to change the partition model of the disk, because there are lots of data to backup and restore.
If I format the boot partition again to ntfs, and re-install Windows, would that work? can I then install MX in legacy mode?
OK, First note, the MX installer would have asked whether to use WIndows System "boot" partition as ESP and would ask to confirm you selection to reformat to FAT32 to EFI System Partition.
+++EDIT+++
Note: When running the MX Installer, you would just ignore ESP and not select or create any ESP,
and install GRUB into MBR. This can be done also when booted MX LiveUSB in UEFI mode.
+++
Now what I would do ths:
First, do create a proper MX Live USB, using the tool MX Live USB Maker, which is available within the Installed system. This would than later allow you to boot into legacy BIOS mode from Live USB.
Next when done, you need to restore/recreate window System "boot" partition on sda1
by using Windows own tools:
Something like:
* Create Win10 Boot USB (using woeUSB)
* boot into Windows provided feature to run those win-tools like fixmbr bootrec ...
lots of details on the web how to do this.
+++EDIT+++
Potentially, before booting into Windows Repair tools, do reformat ESP on sda1 to NTFS
using Gparted and also remove "esp" flag but keep the "boot" flag ,
to avoid Windows may be confused about an existing ESP.
You would, still be able to boot into MX Linux, even without any ESP using MX Boot Rescue from LiveUSB,
probably in both boot modes UEFI and BIOS, b/c you already created the GRUB efi loader (this was done
during installation) and the GRUB mbr loader (this was done when running grub-install --target=i386 /dev/sda
+++
After windows boot was restored you would now be able to recreate "bios" GRUB loader
in order to provide BIOS booting into existing MX Linux ( where you have already create the grub-install boot loader files) or just re-run from LiveUSB "MX Boot Repair" and create MBR-grub loader. + regenerate GRUB menu.
Or alternatively boot into installed MX Linux with MX LiveUSB Rescue-Boot, search for GRUB menu, and
install GRUB to mbr with "sudo grub-install --target=i386 /dev/sda"
followed by "sudo update-grub".
This would than allow you to boot into both Windows and MX Linux from GRUB.