Screen Scrambled when MX-Linux is Booting and Loaded  [Solved]

Help for Current Versions of MX
When asking for help, use Quick System Info from MX Tools. It will be properly formatted using the following steps.
1. Click on Quick System Info in MX Tools
2. Right click in your post and paste.
Message
Author
Charlie Brown

Re: Screen Scrambled when MX-Linux is Booting and Loaded

#21 Post by Charlie Brown »

Maybe the menuentry needs 1-2 changes (where did you get it from? Or.. was it proven to work?)


In the meantime this is enough : Put that entry in /boot/grub/custom.cfg

save, that's all (even no need to sudo update-grub after that..


(though that 40_custom is correct, too, you just need to update grub after that)


I remember such machines had problems with Uefi and rEFInd was the solution (to boot Mac OS) (also in this forum), in fact that's why I didn't ask at first why you were using rEFInd (for I thought you already tried Grub and then found that as the solution)

fbagnato
Posts: 34
Joined: Sun Feb 12, 2023 12:56 pm

Re: Screen Scrambled when MX-Linux is Booting and Loaded

#22 Post by fbagnato »

Hell Charlie Brown,
Maybe the menuentry needs 1-2 changes (where did you get it from? Or.. was it proven to work?)
It was a combination of entries that I found from searching the internet on how to add Mac OS to grub.

These were users posting their grub entries so I read the grub manual and combined the entries from 2 that were working for others and added a line from reading the manual.

Sure, it boots up the Mac OS but constantly crashes and reboots.

I just don't know if it is my patched OS X that is the reason for the reboots when booting Mac OS through grub.
In the meantime this is enough : Put that entry in /boot/grub/custom.cfg

save, that's all (even no need to sudo update-grub after that..
Thanks, that's handy to know for the future.
I remember such machines had problems with Uefi and rEFInd was the solution (to boot Mac OS) (also in this forum), in fact that's why I didn't ask at first why you were using rEFInd (for I thought you already tried Grub and then found that as the solution)
What I have had to do is kept Grub installed to avoid the screen scrambling booting MX-Linux through rEFInd and then I installed rEFInd again, but this time from MX-Linux.

It's not the optimal solution because when I start up the Mac the Mac brings up the rEFInd menu and for Mac I select the Mac entry and if I select the MX-Linux entry it then displays the grub menu where I can boot MX-Linux. It's an extra keystroke and I would have rather had one boot manager not too but as I said to make it all work I had to do this.

Regards,

fbagnato

Charlie Brown

Re: Screen Scrambled when MX-Linux is Booting and Loaded

#23 Post by Charlie Brown »

Sometimes hardcoding the root partition is better:

Code: Select all

menuentry "OS X" {
	insmod part_gpt
	insmod hfsplus
	set root=(hd0,gpt3)
	chainloader (hd0,gpt3)/System/Library/CoreServices/boot.efi
	boot
}
or

Code: Select all

menuentry "OS X" {
	insmod part_gpt
	insmod hfsplus
	set root=(hd0,gpt3)
	chainloader (hd0,gpt3)/System/Library/CoreServices/boot.efi
}
or

Code: Select all

menuentry "OS X" {
    insmod part_gpt
    insmod hfsplus
    set root=(hd0,gpt3)
    chainloader /System/Library/CoreServices/boot.efi
}
As you might already know: hd0: Disk 1 .. if that's ok, just change the gpt3s to whatever it is (partition number), gpt2 etc...

fbagnato
Posts: 34
Joined: Sun Feb 12, 2023 12:56 pm

Re: Screen Scrambled when MX-Linux is Booting and Loaded

#24 Post by fbagnato »

Hello Charlie Brown,

Thanks for that. I will try it.

How do I find out what the hd?,gpt? is?

Regards,

fbagnato

Charlie Brown

Re: Screen Scrambled when MX-Linux is Booting and Loaded

#25 Post by Charlie Brown »

It's probably hd0 (I wrote that "just in case"), this one is your disk1 (hd0) :

/dev/sda ... vendor: Western Digital model: WD2500JS-40TGB0 size: 232.89 GiB


Partitions' numbering begins from 1 (unlike disk drives, they begin from zero and that's the mostly confused part in general)


Shortly, you can open GParted and count partitions from left to right, 1, 2, ...

(Though this may not always be true: say you made changes (moved/deleted/created partitions) and the 2nd partition from left says: sda5 (like mine) ... then it's not gpt2 of course, but gpt5 ... consequently, "disk1, partition5" => hd0,gpt5 )

fbagnato
Posts: 34
Joined: Sun Feb 12, 2023 12:56 pm

Re: Screen Scrambled when MX-Linux is Booting and Loaded

#26 Post by fbagnato »

Hello Charlie Brown,

All 3 of your grub entries work and the Mac OS is not crashing.

Awesome stuff.

I'm very happy with the setup.

MX-Linux runs very quick on this old horse and Mac OS X 10.11.6 runs well too.

Shame about the lack of Video Adapter Hardware Acceleration but there are no 10.11.6 drivers for the Radeon X1600 so that is the sacrifice for running 10.11.6 on the iMac 5,1.

In the end had to install 2 apps as alternatives to the Mac DVD Player and the Maps apps as they require Video Adapter Hardware Acceleration to work.

From testing lots of Media Player apps I found MPlayer OSX Extended - Revision 16 managed to play DVD Videos the best under the circumstances (ie. No Hardware Acceleration).

It can't play DVD Videos full screen as it is slow and unwatchable, but is acceptable playing in a window.

I will be using MX-Linux as the main system so the few shortcomings of the patched Mac OS X that is installed is not even an issue.

I want to thank you again for your help.

Your knowledge is impressive.

Regards,

fbagnato

Charlie Brown

Re: Screen Scrambled when MX-Linux is Booting and Loaded

#27 Post by Charlie Brown »

fbagnato wrote: Sun Jul 30, 2023 3:08 am... All 3 of your grub entries work and the Mac OS is not crashing.... very happy with the setup...
:number1:

Thank you, too for the feedback. Those who search for the same thing in the future will find this and have some hope, thanks to you :)

Charlie Brown

Re: Screen Scrambled when MX-Linux is Booting and Loaded

#28 Post by Charlie Brown »

In the meantime, though this is not a Mac , this laptop (of mine) is even "antiquated" , single core 32 bit with 2048 ram (at max.) (was originally 512 MB only..) .. from the end of 2005 .. It's flying no matter what version MX , even with latest kernels ... Shortly, you can make it even lighter disabling the unnecessary programs from startup (those that you don't need everyday ...)

"Session and Startup" from menu , "App. Autostart" tab .. also in a terminal (for more/advanced)

Code: Select all

sudo sysv-rc-conf
As the browser, Slimjet is really lighter (just closed source as a con) (especially the 32 bit version, but sadly they stopped the 32bit version at 30.0.5.0 )
Last edited by Charlie Brown on Sun Jul 30, 2023 9:18 am, edited 1 time in total.

User avatar
Herve33
Posts: 136
Joined: Fri May 04, 2018 8:48 am

Re: Screen Scrambled when MX-Linux is Booting and Loaded

#29 Post by Herve33 »

Thanks :toast:
Aspire 5733 - Mx Linux

User avatar
CharlesV
Global Moderator
Posts: 7472
Joined: Sun Jul 07, 2019 5:11 pm

Re: Screen Scrambled when MX-Linux is Booting and Loaded

#30 Post by CharlesV »

@fbagnato Glad to hear it is fixed. Please mark the topic as solved, using the check mark on the top right of the post that was the resolution.

Thank you
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

Post Reply

Return to “MX Help”