Welcome!
Important information
-- Required MX 15/16 Repository Changes
-- Information on torrent hosting changes
-- Information on MX15/16 GPG Keys
-- Spectre and Meltdown vulnerabilities

News
-- Introducing our new Website
-- MX Linux on social media: here

Current releases
-- MX-18.3 Point Release release info here
-- Migration Information to MX-18 here
-- antiX-17.4.1 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

Live MX-18 image on USB fails to boot on iMac

User avatar
fehlix
Forum Veteran
Forum Veteran
Posts: 3930
Joined: Wed Apr 11, 2018 5:09 pm

Re: Live MX-18 image on USB fails to boot on iMac

#41

Post by fehlix » Sun Apr 28, 2019 7:18 am

meaw229a wrote:
Sun Apr 28, 2019 6:40 am
I have installed MX now on my hard drive. I booted the iso with
your grub command line commands and that works.
Than from the running live system I installed to hard drive.
Reboot and all good, MX comes up as expected.

Well that's OK for me but not ideal for he MX project as there is a bug
in the iso that will prevent some users to boot the iso and try MX.

If I can be helpful to solve the issue I am more than happy to do so.
Just let me know what you want me to try.
Great, as I see there are different ways to approach this, could you let me know which
exact ISO from another distribution you could boot Live without problems?
Thanks
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
fehlix
Forum Veteran
Forum Veteran
Posts: 3930
Joined: Wed Apr 11, 2018 5:09 pm

Re: Live MX-18 image on USB fails to boot on iMac

#42

Post by fehlix » Sun Apr 28, 2019 6:36 pm

meaw229a wrote:
Sun Apr 28, 2019 6:40 am
If I can be helpful to solve the issue I am more than happy to do so.
Just let me know what you want me to try.
Yes, please. I made a tool to convert MX Linux ISO to ISO with Apple-format. Please see this thread, where I have described how to use it.
Boot MX/antiX on iMAc : Convert MX/antiX ISO's to an "Apple HFS/HFS+" ISO : viewtopic.php?f=35&t=49973
If the ISO created with this tool would boot on you'r Mac, that would be great.
Thanks
:puppy:
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

meaw229a
Forum Novice
Forum  Novice
Posts: 8
Joined: Mon Apr 22, 2019 12:57 am

Re: Live MX-18 image on USB fails to boot on iMac

#43

Post by meaw229a » Sun May 12, 2019 12:49 am

Sorry for slow response. I was away for a while but just today I tried your script.

Unfortunately it did not work. It is actually creating the MX-Mac.iso but the
iso is only 15 MB instead of the normal 1.4 GB MX iso.

Here is the output info I got from the script.

meaw@Neptune:~/Software/OS Images$ ./mk-mx-imac-iso.sh MX-18.2_x64.iso
xorriso 1.5.0 : RockRidge filesystem manipulator, libburnia project.

xorriso : FAILURE : Not a known command: 'Images/MX-18.2_x64.iso'

xorriso : aborting : -abort_on 'FAILURE' encountered 'FAILURE'
sed: can't read /tmp/mx-iso-extraxt.hlhOvNuWpwa2dC/boot/grub/grub.cfg: No such file or directory
sed: can't read /tmp/mx-iso-extraxt.hlhOvNuWpwa2dC/boot/grub/grub.cfg: No such file or directory
./mk-mx-imac-iso.sh: line 98: /tmp/mx-iso-extraxt.hlhOvNuWpwa2dC/boot/grub/grub.cfg: No such file or directory
xorriso 1.5.0 : RockRidge filesystem manipulator, libburnia project.

Drive current: -outdev 'stdio:MX-18.2_x64_imac.iso'
Media current: stdio file, overwriteable
Media status : is blank
Media summary: 0 sessions, 0 data blocks, 0 data, 650g free
Added to ISO image: directory '/'='/tmp/grub.FJtqPc'
xorriso : UPDATE : 597 files added in 1 seconds
Added to ISO image: directory '/'='/tmp/mx-iso-extraxt.hlhOvNuWpwa2dC'
xorriso : UPDATE : 597 files added in 1 seconds
xorriso : NOTE : Copying to System Area: 512 bytes from file '/usr/lib/grub/i386-pc/boot_hybrid.img'
ISO image produced: 7556 sectors
Written to medium : 7556 sectors at LBA 0
Writing to 'stdio:MX-18.2_x64_imac.iso' completed successfully.


You asked of an example iso from any other distro I have tried and the iso boots without problems.

Please see the following list. They all boot fine without problems. (Even the Gost BSD)

I think there is no need to convert the file system as none of the listed distros have a special
Mac iso. MX is based on Debian. You see also a Debian 9 iso. Boots fine on the Mac.

meaw@Neptune:~/Software/OS Images$ ls -l
total 25867028
-rwxrwxrwx 1 meaw meaw 1884291072 Jan 20 16:02 Fedora-KDE-Live-x86_64-29-1.2.iso
-rwxrwxrwx 1 meaw meaw 1229717504 Apr 11 17:07 GeckoLinux_STATIC_Plasma.x86_64-150.180607.0.iso
-rwxrwxrwx 1 meaw meaw 2742333440 Nov 2 2018 GhostBSD18.10.iso
-rwxrwxrwx 1 meaw meaw 1448083456 Mar 26 13:20 MX-18.1_x64.iso
-rw-r--r-- 1 meaw meaw 1449132032 Apr 22 16:20 MX-18.2_x64.iso
-rw-r--r-- 1 meaw meaw 15474688 May 12 16:21 MX-18.2_x64_imac.iso
-rwxrwxrwx 1 meaw meaw 2251292672 Sep 23 2018 Neptune5-Plasma5-20180827.iso
-rw-r--r-- 1 meaw meaw 2567962624 Apr 27 14:54 Neptune6-Plasma5-20190404.iso
drwxr-xr-x 2 meaw meaw 4096 Sep 24 2018 'Windows XP Pro SP3 - Activated'
-rwxrwxrwx 1 meaw meaw 2957967360 Apr 11 13:34 debian-live-9.8.0-amd64-kde+nonfree.iso
-rwxrwxrwx 1 meaw meaw 1870659584 Dec 29 19:27 kanotix64-steelfire-nightly-KDE.iso
-rwxrwxrwx 1 meaw meaw 1881014272 Jan 27 13:31 kubuntu-18.04.1-desktop-amd64.iso
-rwxrwxrwx 1 meaw meaw 1414529024 Sep 25 2018 linux-lite-4.0-64bit.iso
-rwxr-xr-x 1 meaw meaw 3097 Apr 29 08:34 mk-mx-imac-iso.sh
-rw-r--r-- 1 meaw meaw 1304 May 12 14:36 mk-mx-imac-iso.sh.tgz
-rwxrwxrwx 1 meaw meaw 1850736640 Jan 26 14:50 neon-useredition-20190124-0530-amd64.iso
-rwxrwxrwx 1 meaw meaw 2924544000 Jan 26 12:54 netrunner-desktop-1901-64bit.iso
meaw@Neptune:~/Software/OS Images$


I hope this helps.

User avatar
fehlix
Forum Veteran
Forum Veteran
Posts: 3930
Joined: Wed Apr 11, 2018 5:09 pm

Re: Live MX-18 image on USB fails to boot on iMac

#44

Post by fehlix » Sun May 12, 2019 8:47 am

meaw229a wrote:
Sun May 12, 2019 12:49 am
Sorry for slow response. I was away for a while but just today I tried your script.

Unfortunately it did not work. It is actually creating the MX-Mac.iso but the
iso is only 15 MB instead of the normal 1.4 GB MX iso.

Here is the output info I got from the script.

meaw@Neptune:~/Software/OS Images$ ./mk-mx-imac-iso.sh MX-18.2_x64.iso
Space within a path are always potential show-stopper. Can you rename the folder so it does not contain "spaces", like "OS_Images".
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

meaw229a
Forum Novice
Forum  Novice
Posts: 8
Joined: Mon Apr 22, 2019 12:57 am

Re: Live MX-18 image on USB fails to boot on iMac

#45

Post by meaw229a » Sun May 12, 2019 10:20 pm

Ops! Sorry for that and I should have seen that.

OK - Renamed the folder to OS_Images and the script created a new MX 18.2 Mac iso
and I burned the iso with Etcher to the usb-stick.

Reboot the Mac and told the mac to boot the new MX iso.

And it works. No problems and it just boot up as it should be.

Problem solved I would say. However I do not understand why the other distros I listed
are all booting without a special Mac version. I only downloaded the normal
PC versions from their sites and they do not have special Mac versions.

I can not say if this would be a fix for the older Core 2 duo Macs that was manufactured
between 2006 and 2008 as I do not have one of them. Maybe someone else can try.
Maybe the fix does not work as the problem with them was the 64 bit system but only 32 bit Efi. That's
a different story I think. Anyway Matt came already up with a fix for this ones and it looks
he keeps the isos up to date on his web page.

Thanks a lot for your help on this one.

User avatar
fehlix
Forum Veteran
Forum Veteran
Posts: 3930
Joined: Wed Apr 11, 2018 5:09 pm

Re: Live MX-18 image on USB fails to boot on iMac

#46

Post by fehlix » Mon May 13, 2019 6:28 am

meaw229a wrote:
Sun May 12, 2019 10:20 pm

Reboot the Mac and told the mac to boot the new MX iso.

And it works. No problems and it just boot up as it should be.
Thats is great. Thanks you so much for testing this.
meaw229a wrote:
Sun May 12, 2019 10:20 pm
Problem solved I would say. However I do not understand why the other distros I listed
are all booting without a special Mac version. I only downloaded the normal
PC versions from their sites and they do not have special Mac versions.
Probably because, we had not enough iMac's to test our iso's.
But that's a good starter to integrate it in our future release version.
I'm building another variant which combines the original release with the iMac variant.
If you can help us with testing those it would be great.
:puppy:
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
Jerry3904
Forum Veteran
Forum Veteran
Posts: 24583
Joined: Wed Jul 19, 2006 6:13 am

Re: Live MX-18 image on USB fails to boot on iMac

#47

Post by Jerry3904 » Mon May 13, 2019 6:39 am

Sehr gut gemacht, fehlix!
Production: 4.15.0-1-amd64, MX-17.1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, SSD 120 GB, Data 1TB
Testing: AAO 722: 4.15.0-1-386. MX-17.1, AMD C-60 APU, 4 GB
Personal: XPS 13, 4.18.0-19.3-liquorix, 4 GB

meaw229a
Forum Novice
Forum  Novice
Posts: 8
Joined: Mon Apr 22, 2019 12:57 am

Re: Live MX-18 image on USB fails to boot on iMac

#48

Post by meaw229a » Mon May 13, 2019 11:13 pm

Yes - if you have a new iso version just let me know and I test it for you.
I'm glad to help.
As said thank you for your support with the iso problem.


@ Jerry3904 - are you guys speak German?
Dann können wir uns ja auf Deutsch unterhalten.

User avatar
Z80
Forum Novice
Forum  Novice
Posts: 2
Joined: Sun May 19, 2019 12:18 am

Re: Live MX-18 image on USB fails to boot on iMac

#49

Post by Z80 » Mon May 20, 2019 1:53 pm

Greetings,

I just joined the forum to say that I'm experiencing the same problem on a brand new Dell Inspiron 15-3567 laptop with 64-bit UEFI. I have been using the same usb stick to boot into MX-18.2 on my desktop system with no problems, and the usb stick has correct checksums.

On the Dell, I insert the usb stick, and press F12 to launch a one-time boot menu, select the usb stick option, and get the "error: unrecognized filesystem" message.

When I enter the grub command line, and ls the devices, I see that the usb stick is (hd1), and the internal hard drive is (hd0).

The environment variables are:

prefix = (hd1, msdos2)/boot/grub
root = hd0
cmdpath = (hd1, msdos2)/EFI/BOOT

If I type: set root=hd1, and hit <esc>, a basic graphical boot menu comes up, but without the usual F1, F2, etc options on the bottom of the screen. From that basic menu, I am able to boot and run MX-18 without problems.

But in order to run Memtest, I have to edit its menu option inside grub and change the line that says:
set root=(hd0,msdos2) to set root=(hd1, msdos2)

So it looks like the root variable is being set incorrectly in two different places, even though the prefix is set correctly.

I hope this report will help give the developers more clues to solve the problem.

Until then, I would like to know if there is any way for me to edit the files on the usb stick, or the iso, so that I don't have to open the grub command line every time I boot on this Dell laptop?

User avatar
fehlix
Forum Veteran
Forum Veteran
Posts: 3930
Joined: Wed Apr 11, 2018 5:09 pm

Re: Live MX-18 image on USB fails to boot on iMac

#50

Post by fehlix » Mon May 20, 2019 2:14 pm

Z80 wrote:
Mon May 20, 2019 1:53 pm
I just joined the forum to say that I'm experiencing the same problem on a brand new Dell Inspiron 15-3567 laptop with 64-bit UEFI. I have been using the same usb stick to boot into MX-18.2 on my desktop system with no problems, and the usb stick has correct checksums.
The environment variables are:

prefix = (hd1, msdos2)/boot/grub
root = hd0
cmdpath = (hd1, msdos2)/EFI/BOOT
Basically, we know about this bug. And I think it was fixed with the latest version of Live-USB-Maker.
So depending what version you used to create the LiveUSB you probaly have triggerd this bug with the wrong root settings.
EDIT:
Quick fix: Plug out the other USBstick and boot again, so the stick get a valid root. ;)
:puppy:
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

Post Reply

Return to “Forum How-to's”