Minimal and CLI respins

Help on all MX Re-spins
Message
Author
User avatar
Adrian
Developer
Posts: 8894
Joined: Wed Jul 12, 2006 1:42 am

Re: Minimal and CLI respins

#41 Post by Adrian »

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.

User avatar
kkwoo
Posts: 2
Joined: Tue Dec 31, 2024 5:59 pm

Re: Minimal and CLI respins

#42 Post by kkwoo »

Hi @Adrian, thanks for the advice! Much appreciated. Regards, Kevin

bittin
Posts: 8
Joined: Tue Feb 08, 2022 2:07 am

Re: Minimal and CLI respins

#43 Post by bittin »

Got a new computer where MXLinux was a good choice: https://i.imgur.com/mG75x0e.png

User avatar
mxer
Posts: 236
Joined: Fri Sep 21, 2018 9:09 am

Re: Minimal and CLI respins

#44 Post by mxer »

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.)
(FOSS, Linux, & BSD since 1999)

User avatar
tghuguenin
Posts: 9
Joined: Thu Mar 20, 2025 10:51 am

Re: Minimal and CLI respins

#45 Post by tghuguenin »

@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?

User avatar
Adrian
Developer
Posts: 8894
Joined: Wed Jul 12, 2006 1:42 am

Re: Minimal and CLI respins

#46 Post by Adrian »

tghuguenin 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?
That's because you need to install it :grin:

User avatar
tghuguenin
Posts: 9
Joined: Thu Mar 20, 2025 10:51 am

Re: Minimal and CLI respins

#47 Post by tghuguenin »

Adrian wrote: Mon Apr 14, 2025 11:00 am
tghuguenin 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?
That's because you need to install it :grin:
ah gotcha

User avatar
tghuguenin
Posts: 9
Joined: Thu Mar 20, 2025 10:51 am

Re: Minimal and CLI respins

#48 Post by tghuguenin »

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.

User avatar
Adrian
Developer
Posts: 8894
Joined: Wed Jul 12, 2006 1:42 am

Re: Minimal and CLI respins

#49 Post by Adrian »

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)

User avatar
tghuguenin
Posts: 9
Joined: Thu Mar 20, 2025 10:51 am

Re: Minimal and CLI respins

#50 Post by tghuguenin »

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)
Thanks. Sounds simple. I will try that next time I get a chance to work on it.

Post Reply

Return to “MX Respins”