OK
@Adrian sorry I have tried to figure out what I'm doing wrong here but can't for the life of me get cli-installer to run without something going wrong with the grub installation using the ESP UEFI option
I'm installing MX 23.6_CLI on a mid-2012 intel macbook pro. I had previously whatever is the latest full version of MX linux on it, installed with no problems, but wanted to clear it out and start from the CLI version. It is my computer for experiments, learning linux, and breaking things, so losing data is not a problem at all.
once I figured out how to use wpa_supplicant I had no problems connecting to my wifi network and getting internet access prior to the installation
I have my file system partitioned & formatted, even though I know the script does some formatting
esp partition is sda1 (fat32) 550M
root partition is sda3 (ext3) 10G
swap is sda2 8G
(The ssd is actually ~500G but I wanted to leave extra space for other partitions later)
something breaks when running grub-installer. As far as I can tell based on the output, I think something is going wrong at Line 330
at one point I wrote an extra line above 330 to echo the chroot command below it, here is that output and then the error:
Code: Select all
chroot/media/sda3 grub-install --force-extra-removable --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=MX-Linux --recheck
chroot: failed to run command *grub-install*: No such file or directory
GRUB installed
I abort the script here and lsblk shows
sda1 mounted at /media/sda3/boot/efi
sda2 [swap]
sda3 /media/sda3
Sorry I didn't get the full output of lsblk, I'm typing this on a separate computer. let me know if you need more info
If i let the script keep going, it will act like everything's set up, but on reboot I get no Grub menu (just a flashing folder with a question mark). I can still hold Option to boot from the live usb, which I've kept doing in trying to troubleshoot.