I'm posting because I don't seem to be able to install grub-efi and some default MX packages at the same time. Observe: mx-apps depends on mx-bootrepair, which depends on grub-pc, which conflicts with grub-efi.
Code: Select all
# apt install mx-apps Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: grub-pc grub-pc-bin mx-bootrepair Suggested packages: desktop-base The following packages will be REMOVED: grub-efi grub-efi-amd64 The following NEW packages will be installed: grub-pc grub-pc-bin mx-apps mx-bootrepair 0 upgraded, 4 newly installed, 2 to remove and 0 not upgraded. Need to get 1,183 kB of archives. After this operation, 3,714 kB of additional disk space will be used. Do you want to continue? [Y/n]
1. Set up a SSD and a HDD, both GPT-formatted, each with an ESP. Windows 10 is installed on /dev/nvme0n1p3 with bootloader on /dev/nvme0n1p1. A Windows recovery system is installed on /dev/sda1, which also doubles as an ESP (to allow other systems to be installed on /dev/sda for fun).
Code: Select all
Disk /dev/nvme0n1: 468862128 sectors, 223.6 GiB Number Start (sector) End (sector) Size Code Content 1 2048 411647 200.0 MiB EF00 ESP for Win10 and MX 2 411648 444415 16.0 MiB 0C01 MSFT reserved 3 444416 377931775 180.0 GiB 0700 Windows 10 4 377931776 468860927 43.4 GiB 8300 MX Linux Disk /dev/sda: 1953525168 sectors, 931.5 GiB Number Start (sector) End (sector) Size Code Content 1 2048 1050623 512.0 MiB EF00 ESP/Recovery 2 3147776 1945110527 926.0 GiB 0700 NTFS data 3 1945110528 1953523711 4.0 GiB 8200 MX Linux swap
The installer does not allow installing GRUB to the ESP on /dev/nvme0n1p1. It allows installing to the ESP on /dev/sda1 or the MBR on /dev/nvme0n1, neither of which is desirable. Instead, we must chroot into the target rootfs and install grub-efi manually, which forces the removal of mx-bootrepair and mx-apps. Afterwards, mx-bootrepair from the installer is still confused:
3. The installed OS functions well (modulo some drivers needing to be built/installed, but that's a different issue), except it lacks mx-bootrepair and mx-apps. We don't really care about mx-bootrepair, because if we could boot to the OS, the boot probably doesn't need repair. But without mx-apps, we may miss out on some updates to the MX applet collection. And the whole affair just doesn't feel polished.
- Am I doing it wrong?
- Could the installer (and mx-bootrepair) be made to offer all the options for ESP installation?
- Could mx-bootrepair depend on grub-pc | grub-efi to allow either GRUB to be installed?