Minimal and CLI respins
Re: Minimal and CLI respins
Not sure, try "sudo apt upgrade" directly in the CLI instead of "sudo apt full-upgrade" which is the default in the mx-apt-updater. Then after you do a simple upgrade, try the full-upgrade and notice what packages are pulled in. If you don't want to upgrade those you can pin them.
Re: Minimal and CLI respins
Hi @Adrian, thanks for the advice! Much appreciated. Regards, Kevin
Re: Minimal and CLI respins
Got a new computer where MXLinux was a good choice: https://i.imgur.com/mG75x0e.png
Re: Minimal and CLI respins
I've installed MX Minimal & added my selection of programs to an old computer I had spare => 5GB installed size, so mid sized now, compared to regular MX XFCE.
(Many thanks for this version of MX.)
(Many thanks for this version of MX.)
(FOSS, Linux, & BSD since 1999)
- tghuguenin
- Posts: 9
- Joined: Thu Mar 20, 2025 10:51 am
Re: Minimal and CLI respins
@Adrian Thanks for this! You mentioned the live-usb-maker tool but I can't seem to find it anywhere using the CLI respin. What am I missing?
Re: Minimal and CLI respins
That's because you need to install ittghuguenin wrote: Mon Apr 14, 2025 10:29 am @Adrian Thanks for this! You mentioned the live-usb-maker tool but I can't seem to find it anywhere using the CLI respin. What am I missing?

- tghuguenin
- Posts: 9
- Joined: Thu Mar 20, 2025 10:51 am
Re: Minimal and CLI respins
ah gotchaAdrian wrote: Mon Apr 14, 2025 11:00 amThat's because you need to install ittghuguenin wrote: Mon Apr 14, 2025 10:29 am @Adrian Thanks for this! You mentioned the live-usb-maker tool but I can't seem to find it anywhere using the CLI respin. What am I missing?![]()
- tghuguenin
- Posts: 9
- Joined: Thu Mar 20, 2025 10:51 am
Re: Minimal and CLI respins
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:
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.
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
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.
Re: Minimal and CLI respins
You need to install grub2, that takes 40MB or so. Not everybody needs to install this so I left it out, plus theoretically there are other ways to install like using a UEFI kernel stub install (not with the cli-installer, but I might add that as an option, we might have to edit cli-installer to check for grub presence and maybe offer the stub installer option instead)
- tghuguenin
- Posts: 9
- Joined: Thu Mar 20, 2025 10:51 am
Re: Minimal and CLI respins
Thanks. Sounds simple. I will try that next time I get a chance to work on it.Adrian wrote: Tue Apr 15, 2025 1:00 pm You need to install grub2, that takes 40MB or so. Not everybody needs to install this so I left it out, plus theoretically there are other ways to install like using a UEFI kernel stub install (not with the cli-installer, but I might add that as an option, we might have to edit cli-installer to check for grub presence and maybe offer the stub installer option instead)