EFI Boot Macbook Air 3,1 using Porteus 3.0.1 64-bit [SOLVED]

Here you can post about your various experiences with PC hardware. You can also post about hardware that is not compatible with the linux kernel or not recommended for use with Porteus.
FLLinuxUser
White ninja
White ninja
Posts: 13
Joined: 15 Oct 2014, 16:45
Distribution: Fedora
Location: USA

EFI Boot Macbook Air 3,1 using Porteus 3.0.1 64-bit [SOLVED]

Post#1 by FLLinuxUser » 15 Oct 2014, 16:57

I have a Mac that I would like to run Porteus on. It is a Macbook Air 3,1 (currently running OS X 10.9.5). I can't seem to get Porteus 3.0.1 to boot on it. I have following the info at http://forum.porteus.org/viewtopic.php?f=81&t=2212 to build a USB drive that will boot the Macbook (great help on this). It will boot into Text only mode but not into X.

I have the nVidia-340.24-porteus-v3.0.1-x86_64-1ftm.xzm in the optional directory but when i add this to the boot options using the load=nVidia or vga_detect chectcodes the boot process stalls at a blank screen. Even if i put the nvidia module in the modules directory and boot into text mode the system fails to boot it just stalls at a blank screen.

the lspci output on the Macbook looks like
02:00.0 VGA compatible controller: NVIDIA Corporation MCP89 [GeForce 320M] (rev a2)
I have alos tried booting into text mode and activating the nvidia module and running startx, but I get the error that it can't load the nvidia module and fails to start X.

I downloaded the nvidia module using the build feature on the website, and also downloaded directly form the dl.porteus.org location neither seem to work.

Any help would be great.

Thanks,
Last edited by FLLinuxUser on 22 Oct 2014, 16:25, edited 1 time in total.
If at first you don't successed lower you standards and try again

User avatar
freestyler
Contributor
Contributor
Posts: 384
Joined: 17 Oct 2013, 14:21
Distribution: Porteus XFCE

Re: EFI Boot Macbook Air 3,1 using Porteus 3.0.1 64-bit

Post#2 by freestyler » 15 Oct 2014, 21:54

Hey FLLinuxUser. Have you tried using the opensource drivers?
https://www.porteus-apps.org

User avatar
francois
Contributor
Contributor
Posts: 6445
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: EFI Boot Macbook Air 3,1 using Porteus 3.0.1 64-bit

Post#3 by francois » 16 Oct 2014, 02:19

Hello fllinuxuser. Welcome to porteus forum.

You have the right driver for your nvidia card:
http://www.nvidia.com/download/driverRe ... 6884/en-us

However, instead of putting the nvidia 324.40 into the /porteus/optional folder, please put it in the /porteus/modules folder. Remove the load=nVidia or vga_detect cheatcodes. And just reboot. 8)
viewtopic.php?f=123&t=3506
Prendre son temps, profiter de celui qui passe.

User avatar
francois
Contributor
Contributor
Posts: 6445
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: EFI Boot Macbook Air 3,1 using Porteus 3.0.1 64-bit

Post#4 by francois » 16 Oct 2014, 23:51

It just came back to me that maybe mac is something more complicated when it comes to linux. You would need refit:
http://ubuntuguide.net/how-to-install-u ... lash-drive
http://forum.porteus.org/viewtopic.php?f=53&t=2044
Prendre son temps, profiter de celui qui passe.

FLLinuxUser
White ninja
White ninja
Posts: 13
Joined: 15 Oct 2014, 16:45
Distribution: Fedora
Location: USA

Re: EFI Boot Macbook Air 3,1 using Porteus 3.0.1 64-bit

Post#5 by FLLinuxUser » 20 Oct 2014, 16:26

Hey Francois,

I have attempted putting the driver in the modules folder and it still stalls at a blank screen on boot up. It seems when the driver xzm is loaded it will not boot. If i remove the driver xzm from being loaded on boot up it seems to work, but X is unalbe to start witht the standard driver.

I am also using rEFInd which is a update to the rEFit. I am able to boot the USB drive from my Macbook Pro but not my MacBook Air. Would like to get it working on both of them.

Thanks
If at first you don't successed lower you standards and try again

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5667
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: EFI Boot Macbook Air 3,1 using Porteus 3.0.1 64-bit

Post#6 by fanthom » 20 Oct 2014, 16:39

@FLLinuxUser
please boot to text mode -> run 'psinfo' command -> save generated report somewhere on the usb stick -> boot to working system and upload report to pastebin.com then link here

while in the text mode please also:
run 'startx' command -> switch back to VT1 by running Ctrl+Alt+F1 -> save and upload any /var/log/Xorg.0.log files you find.

thanks
Please add [Solved] to your thread title if the solution was found.

FLLinuxUser
White ninja
White ninja
Posts: 13
Joined: 15 Oct 2014, 16:45
Distribution: Fedora
Location: USA

Re: EFI Boot Macbook Air 3,1 using Porteus 3.0.1 64-bit

Post#7 by FLLinuxUser » 20 Oct 2014, 17:43

@fanthom

Hope the links are right. Here is the psinfo from booting into text mode. Then the Xorg log files after trying to run startX. The first Xorg is before activating the Nvidia xzm and the second one is after.

http://pastebin.com/tK9Xi2Yh psinfo paste

http://pastebin.com/fNXqezrU Startx without loading the Nvidia xzm

http://pastebin.com/bMMV3dh5 StartX after activating Nvidia xzm

Thanks
If at first you don't successed lower you standards and try again

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5667
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: EFI Boot Macbook Air 3,1 using Porteus 3.0.1 64-bit

Post#8 by fanthom » 22 Oct 2014, 06:12

no idea why nouveau driver does not work but nVidia was compiled for different kernel (original porteus one) so it has no chance to work.
you can do two things:
a) upgrade to 3.1 rc1 and check if nouveau starts working: http://build.porteus.org/rc/
b) try original 3.0.1 + nVidia driver: http://build.porteus.org/
(3.0.1 has missing EFI framebuffer support so you wont see anything in text mode but GUI should still working properly with nVidia driver.)

make sure you enable EFI support in both cases.
please let us know how about success/fail.

thanks
Please add [Solved] to your thread title if the solution was found.

FLLinuxUser
White ninja
White ninja
Posts: 13
Joined: 15 Oct 2014, 16:45
Distribution: Fedora
Location: USA

Re: EFI Boot Macbook Air 3,1 using Porteus 3.0.1 64-bit

Post#9 by FLLinuxUser » 22 Oct 2014, 16:25

Both of those seem to work. I did switch to the KDE desktop since that seemed like the default option for the 3.1 RC1.

So it boots into 3.1 RC1 on a USB with no extra NVidia driver needed. :Yahoo!:

Thanks for the help

Update: I did some more testing and it appears that only the RC1 build works. It still fails to boot with the NVidia driver on the Macbook Air I have, but the RC1 boots so i am good. Don't know why it doesn't like to load the Nvidia :unknown: driver on boot up but since the RC1 works I am going to start using that one.

Also the switch to KDE is nice.

Thanks again
If at first you don't successed lower you standards and try again

User avatar
francois
Contributor
Contributor
Posts: 6445
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: EFI Boot Macbook Air 3,1 using Porteus 3.0.1 64-bit [SOL

Post#10 by francois » 23 Oct 2014, 12:52

@fllinuxuser:

Good to know that we will eventually count a mac porteus expert amongst our ranks! :)
Prendre son temps, profiter de celui qui passe.

coronamortis25
White ninja
White ninja
Posts: 5
Joined: 08 May 2015, 18:48
Distribution: porteus
Location: turkey

Re: EFI Boot Macbook Air 3,1 using Porteus 3.0.1 64-bit [SOL

Post#11 by coronamortis25 » 09 May 2015, 23:16

Hi FLLinuxUser,
I am new to ports and I also want to boot my macbook air with porteus usb . Can you explain the steps in detail. How to creatw a bootable porteus usb and how to boo. İf yo can add some caps it will be appreciated.

coronamortis25
White ninja
White ninja
Posts: 5
Joined: 08 May 2015, 18:48
Distribution: porteus
Location: turkey

Re: EFI Boot Macbook Air 3,1 using Porteus 3.0.1 64-bit [SOL

Post#12 by coronamortis25 » 09 May 2015, 23:17

sorry it should be I am new to porteus .....

Post Reply