LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > antiX / MX Linux
User Name
Password
antiX / MX Linux This forum is for the discussion of antiX and MX Linux.

Notices


Reply
  Search this Thread
Old 02-29-2024, 12:35 AM   #1
JASlinux
Member
 
Registered: Oct 2020
Posts: 385

Rep: Reputation: Disabled
Question Is it true that a live MX .iso is incompatible with GRUB?


I am struggling to boot a USBFLASH .iso (this is GRUB2):

Code:
menuentry 'USB MX Fossa64 XFCE (/ISO/MX-19.4_x64.iso)' {
   set isofile="/ISO/MX-19.4_x64.iso"
   rmmod tpm
   loopback loop (hd0,1)$isofile
   linux (loop)/antiX/vmlinuz boot=boot iso-scan/filename=$isofile noprompt noeject
   initrd (loop)/antiX/initrd.gz
}
Looking for an example of what I'm missing, I stumbled upon this graphic stating MX does not boot GRUB:

True? I am supposed to give up & put MX on solo media?
Attached Thumbnails
Click image for larger version

Name:	boot-mx-linux-iso-image.jpg
Views:	12
Size:	32.8 KB
ID:	42607  
 
Old 02-29-2024, 06:47 AM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,534

Rep: Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495
The image you posted doesn't say anything about MX being incompatible with Grub but rather that it doesn't by default use Grub to boot, most likely uses the Syslinux boot loader. I was trying to boot MX23 a few months ago directly from the iso but was not able to so I simply extracted the iso and copied it to a partition and booted it that way. You can put it on a partition on your hard drive or an external drive, a flash drive if you want. You just need a correct entry in grub.cfg to point to it.

Using your example above where you have a directory names ISO in the root of the sda1 partition, the entry below in the grub.cfg file should work. That is if you are booting from sda drive and you copy the MX linux extracted files to the ISO directory on the same drive.

Quote:
menuentry "MX-23" {
set root='hd0,1'
linux /ISO/antiX/vmlinuz quiet splash --
initrd /ISO/antiX/initrd.gz
}

Last edited by yancek; 02-29-2024 at 07:11 AM.
 
1 members found this post helpful.
Old 02-29-2024, 07:54 PM   #3
JASlinux
Member
 
Registered: Oct 2020
Posts: 385

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by yancek View Post
I was trying to boot MX23 a few months ago directly from the iso but was not able to so I simply extracted the iso and copied it to a partition and booted it that way.
I see sophisticated file systems require symlinks & permissions not supported on the USB file systems I use (FAT32 & NTFS for Redmond compatibility).

So to really use extracted ISO I need to experiment with new file systems. I'd rather not use an ext4 MX partition because it's a unique demand.

I would of course name an extracted .iso directory something different than ISO (e.g., the base name of the .iso).

The Redmond YUMI tool lets us choose GRUB or syslinux, but in a GRUB tool I might be limited to extraction.

I am looking for a popular XFCE distro with a strong user base. Xubuntu doesn't have the wi-fi driver for my laptop or a default screensaver.
 
Old 03-01-2024, 07:19 AM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,534

Rep: Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495
You don't need to use an ext4 or any other Linux filesystem for an iso or an extracted iso file as it will be iso9660. You can put an iso directly on a vfat or ntfs partition or the extracted contents on a vfat or ntfs partition and boot it with a correct menuentry form Grub. I've done all this previously and it is not complex. I don't know what you want to 'experiment' with but you are limited by the very nature of the system, being read-only.
 
Old 03-12-2024, 09:47 AM   #5
JASlinux
Member
 
Registered: Oct 2020
Posts: 385

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by yancek View Post
You don't need to use an ext4 or any other Linux filesystem for an iso or an extracted iso file as it will be iso9660.
I'll have to grasp this conceptually.

Files from an .iso file will be sitting on a NTFS partition & when GRUB2 boots them they'll be treated as read-only iso9660, the optical partition format?

It's worth a try if MX is that good.
 
Old 03-12-2024, 05:05 PM   #6
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,534

Rep: Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495
Quote:
Files from an .iso file will be sitting on a NTFS partition & when GRUB2 boots them they'll be treated as read-only iso9660
Correct. Done this booting iso files of various Linux systems from vfat, ext2,3,4 filesystems as well as ntfs and it has to do with booting the iso which is an iso9660 format and has nothing specific to do with MX Linux, any Linux iso should work. At least it always has for me.
 
  


Reply

Tags
antix, booting, grub 2, iso, mx linux



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Infinite Grub Loop: GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB... beeblequix MEPIS 2 11-02-2013 10:56 PM
Failed 12.10 upgrade, grub rescue errors: incompatible license. Nizzok Linux - Newbie 3 10-31-2012 05:43 PM
which is true? more than one could be true? ddomiray Linux - General 3 10-26-2009 02:41 AM
Booting my new ubuntu install = "GRUB GRUB GRUB GRUB GRUB" etc. dissolved soul Ubuntu 2 01-13-2007 12:55 PM
Does anyone Know how to open either .iso.rz or these .iso.xdelta,.iso.bz2,.iso.lzma?? maximalred Debian 5 06-09-2004 06:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > antiX / MX Linux

All times are GMT -5. The time now is 04:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration