LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 09-06-2020, 03:56 AM   #16
G-Raps
Member
 
Registered: Apr 2020
Location: Sandy Eggo
Distribution: Debian 10.3.0, Ubuntu 20.04
Posts: 35

Rep: Reputation: Disabled

Great, you have what you were looking to install on one of your Macbooks (Mint 19).
I'm currently on a project with Windows laptops. Probably not useful in this forum, but may install Mint on one of them.

Was Ubuntu interesting enough to try on one of the Macbooks ? Particularly the 2007 model ?
 
Old 09-14-2020, 03:59 PM   #17
Hermani
Member
 
Registered: Apr 2018
Location: Delden, NL
Distribution: Ubuntu
Posts: 247
Blog Entries: 3

Rep: Reputation: 99
I hope you will succeed in what you want to achieve. However, please don't think you can actually work on an Apple G4 laptop. For instance, you won't be able to use a browser in any meaningful way in 2020 because of the speed and memory limitations.

Before you put in too much time please read my LQ blog post I wrote yesterday about this very subject.
 
Old 09-14-2020, 04:18 PM   #18
sgosnell
Senior Member
 
Registered: Jan 2008
Location: Baja Oklahoma
Distribution: Debian Stable and Unstable
Posts: 1,799

Rep: Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501
Macbooks and other laptops from 2007 make attractive doorstops. Unfortunately, they aren't useful for much more, unless you have some specific software to run, and won't use it on the internet.
 
1 members found this post helpful.
Old 09-21-2020, 10:25 AM   #19
SandsOfArrakis
Member
 
Registered: Apr 2012
Location: Netherlands
Distribution: Linux Mint 20 Ulyana with Cinnamon DE
Posts: 154

Rep: Reputation: Disabled
If I remember correctly you need to just press the Option key on your Mac when pressing the power button, that should give you an option screen where you can choose to boot from the USB stick.
 
Old 10-30-2020, 09:34 PM   #20
ofbarea
LQ Newbie
 
Registered: Oct 2020
Location: Costa Rica
Distribution: Lubuntu, Ubuntu DDE
Posts: 12

Rep: Reputation: Disabled
I have a Macbook 2006 (macbook 2,1) that has a 64-bit CPU and a 32-bit EFI.
On my own experience, it was easier to install Linux when I left a very Small OSX Lion partition on the system.

As I recall I started by wiping the whole machine, then I installed lion.
Then I installed the rEFInd Boot Manager
https://www.rodsbooks.com/refind/

After it was working fine, I used BootCamp Assistant to create a Windows partition.
I left a minimal Lion partition behind just for convenience.

I installed Ubuntu on that "Windows partition", I initially installed Lubuntu 18.10 x64 but I have bee upgrading the laptop periodically.
Currently I'm running Lubuntu 20.10 with Kernel 5.8

I followed this approach because BootCamp emualates BIOS.
Using mattgadient software or using one of his preconfigured releases, you can boot Linux x64 from BIOS.
https://mattgadient.com/linux-dvd-im...e-2006-models/

the problem with these early macs is that EFI partition is located in HPFS+ partition.
Also for the boot strap you need EFI32 boot loader.
It is possible to manually configure EFI Boot loader and x64 Linux, but Is not standard.
So so I could not find a pre-caned released that would allow me to do this out of the box.
I found a procedure that allowed me to do just that, manually setup an EFI32 loader, confugured all to boot x64 linux, After several trys, I got it to work, but I dropped that solution as I was worried that a future release will override the manual configuration, rendering the system inaccessible until it gets manually fixed again.

So I followed mattgadient recommendations and I used his software to strips UEFI boot loader out of the Linux ISO, leaving only the BIOS loader.
I think you have the link from previous posts, but for completeness here it is again:
https://mattgadient.com/linux-dvd-im...e-2006-models/

Note that I had good luck with Lubuntu. So you might try that ISO.

Once Lubuntu boot, almost all hardware was recognized. The only problem was the web cam.
I ended extracting the iSight firmware from the OSX Lion partition. I followed this guide from steps 1 to 7…
https://smallbusiness.chron.com/use-...ntu-38894.html

Another problem that I faced this year, was high CPU utilization from ACPI/IRQ9 kworker.

When I checked ACPI interrupts, I noticed that gpe17 had a very high trigger count.
I found the problem with this command:
Quote:
grep . -r /sys/firmware/acpi/interrupts/
output:
Quote:
chicos@mac1:~$ grep . -r /sys/firmware/acpi/interrupts/
/sys/firmware/acpi/interrupts/gpe1F: 0 invalid unmasked
/sys/firmware/acpi/interrupts/gpe13: 0 invalid unmasked
/sys/firmware/acpi/interrupts/gpe0F: 0 invalid unmasked
/sys/firmware/acpi/interrupts/gpe03: 0 disabled unmasked
/sys/firmware/acpi/interrupts/gpe1D: 0 EN enabled unmasked
/sys/firmware/acpi/interrupts/ff_pwr_btn: 0 EN enabled unmasked
/sys/firmware/acpi/interrupts/gpe11: 0 EN enabled unmasked
/sys/firmware/acpi/interrupts/gpe0D: 0 disabled unmasked
/sys/firmware/acpi/interrupts/gpe01: 0 EN enabled unmasked
/sys/firmware/acpi/interrupts/ff_rt_clk: 0 disabled unmasked
/sys/firmware/acpi/interrupts/ff_pmtimer: 0 STS invalid unmasked
/sys/firmware/acpi/interrupts/gpe1B: 0 STS invalid unmasked
/sys/firmware/acpi/interrupts/gpe0B: 0 EN enabled unmasked
/sys/firmware/acpi/interrupts/gpe18: 0 STS invalid unmasked
/sys/firmware/acpi/interrupts/gpe08: 0 invalid unmasked
/sys/firmware/acpi/interrupts/error: 0
/sys/firmware/acpi/interrupts/gpe16: 0 invalid unmasked
/sys/firmware/acpi/interrupts/sci: 3491042
/sys/firmware/acpi/interrupts/gpe06: 0 invalid unmasked
/sys/firmware/acpi/interrupts/gpe14: 0 invalid unmasked
/sys/firmware/acpi/interrupts/gpe04: 0 disabled unmasked
/sys/firmware/acpi/interrupts/gpe1E: 0 invalid unmasked
/sys/firmware/acpi/interrupts/gpe12: 0 invalid unmasked
/sys/firmware/acpi/interrupts/gpe0E: 0 disabled unmasked
/sys/firmware/acpi/interrupts/gpe02: 0 EN enabled unmasked
/sys/firmware/acpi/interrupts/gpe1C: 0 invalid unmasked
/sys/firmware/acpi/interrupts/gpe10: 0 STS invalid unmasked
/sys/firmware/acpi/interrupts/gpe0C: 0 disabled unmasked
/sys/firmware/acpi/interrupts/gpe00: 0 invalid unmasked
/sys/firmware/acpi/interrupts/gpe_all: 3491042
/sys/firmware/acpi/interrupts/gpe19: 0 STS invalid unmasked
/sys/firmware/acpi/interrupts/gpe1A: 0 invalid unmasked
/sys/firmware/acpi/interrupts/gpe09: 0 disabled unmasked
/sys/firmware/acpi/interrupts/gpe0A: 0 invalid unmasked
/sys/firmware/acpi/interrupts/gpe17: 3491042 EN enabled unmasked
/sys/firmware/acpi/interrupts/ff_gbl_lock: 0 EN enabled unmasked
/sys/firmware/acpi/interrupts/gpe07: 0 enabled unmasked
/sys/firmware/acpi/interrupts/sci_not: 117
/sys/firmware/acpi/interrupts/gpe15: 0 invalid unmasked
/sys/firmware/acpi/interrupts/gpe05: 0 invalid unmasked
/sys/firmware/acpi/interrupts/ff_slp_btn: 0 invalid unmasked
You can see that gpe17 is very high.

to fix that issue I added boot parameter acpi_mask_gpe=0x17 to GRUB and reboot.
with Ubuntu/Debian add "acpi_mask_gpe=0x17" parameter to /etc/default/grub, at the end of line GRUB_CMDLINE_LINUX_DEFAULT.

I edited the file using nano, but any editor will do:

Quote:
sudo nano /etc/default/grub
Sample line before edit:
Quote:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
Sample line after edit:
Quote:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_mask_gpe=0x17"
then I ran the following to activate the setting:
Quote:
sudo update-grub
and reboot

References:
For more details, see Linux kernel commit 9c4aa1ee which was first merged in Linux 4.10-rc3 and the bug reports linked to from there.
https://git.kernel.org/pub/scm/linux...9d9ae58fbafc11

Last edited by ofbarea; 10-30-2020 at 09:38 PM. Reason: change software for hardware
 
Old 10-30-2020, 09:48 PM   #21
ofbarea
LQ Newbie
 
Registered: Oct 2020
Location: Costa Rica
Distribution: Lubuntu, Ubuntu DDE
Posts: 12

Rep: Reputation: Disabled
Smile

Quote:
Originally Posted by sgosnell View Post
Macbooks and other laptops from 2007 make attractive doorstops. Unfortunately, they aren't useful for much more, unless you have some specific software to run, and won't use it on the internet.
My old Macbook 2006, after upgrading to 4GB RAM (3.2GB usable), adding an older SSD that I had laying around and installing Lubuntu, has become the personal School at home laptop for my 8 years old kid.

Zoom and Google Meet (under Chrome) run just fine. And the transition from MS Office to LibreOffice took him around a Week.
For this use case, this old laptop is a fine tool.

By the way, he recently discovered SuperTux, so at least that game is playable on this old hardware.
 
Old 10-30-2020, 11:13 PM   #22
computersavvy
Member
 
Registered: Aug 2016
Posts: 364

Rep: Reputation: Disabled
Quote:
Originally Posted by Matthew. View Post
Next. Your suggestion. Have two old machines (2007/2011) and the less old one boots Mint 19 from USB, so no rush / stress.

This snippet from your earlier post that you said came from apple might just be what you need. Apparently they gave you a way to remove the bios password protection and key blocking. If you follow their suggestion then afterward you may be able to boot from USB according to several of the suggestions given above.

Quote:
Originally Posted by Matthew. View Post
.............................
Sounds like a Firmware Password...
Firmware password protection in Mac OS X ...
It would block usage of all the startup keys, like C, N, T, D, CMD+s, CMD+Option+p+r, CMD +v, Option boot will show a lock, and Shift, as well as booting from anything but the Hard Drive.
Force Removing Password Protection
1) Add or remove DIMMs to change the total amount of RAM in the computer.
2) Then, the PRAM must be reset 3 times. (Command + Option + P + R).
............................
 
Old 10-31-2020, 06:12 AM   #23
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 15,827
Blog Entries: 9

Rep: Reputation: 4637Reputation: 4637Reputation: 4637Reputation: 4637Reputation: 4637Reputation: 4637Reputation: 4637Reputation: 4637Reputation: 4637Reputation: 4637Reputation: 4637
^ That's what you get for thread hijacking, ofbarea.
Start your own thread with a(nother) full problem description.
 
1 members found this post helpful.
Old 11-05-2020, 02:04 AM   #24
Matthew.
LQ Newbie
 
Registered: May 2020
Location: Japan
Distribution: Mint 19 (if I can get it installed!)
Posts: 15

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Hermani View Post
I hope you will succeed in what you want to achieve. However, please don't think you can actually work on an Apple G4 laptop. For instance, you won't be able to use a browser in any meaningful way in 2020 because of the speed and memory limitations.

Before you put in too much time please read my LQ blog post I wrote yesterday about this very subject.
Thought I had replied to this.
My older machine - the one I cannot do anything with (still, as of 2020 November) is not a G4, it is a macbook 2, 1, white plastic body, core 2 duo running at about 2.0 ghz and it has 3GB RAM and Samsung (or maybe Intel) SSD.
Thanks for the reply anyway.
 
Old 11-05-2020, 02:09 AM   #25
Matthew.
LQ Newbie
 
Registered: May 2020
Location: Japan
Distribution: Mint 19 (if I can get it installed!)
Posts: 15

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by SandsOfArrakis View Post
If I remember correctly you need to just press the Option key on your Mac when pressing the power button, that should give you an option screen where you can choose to boot from the USB stick.
Unsure whether I have responded to the same point elsewhere in the forum (likely on the other Linux forum).
Anyway... the machine does not respond to the alt/option key.
It has no operating system on it, which I have been lead to believe is (with a Linux USB in it) not a problem.

I have used Mac OS / X 10.6 (its OEM), Maybe Windows at some point, and Cloudready's Chrome O/S successfully.
Now, however, it does not respond at all except to Mac OS X 10.6 on a SATA SSD USB drive.
No recovery options or similar are available at all.
No 'net recovery... nothing.

Thanks
 
Old 11-05-2020, 02:22 AM   #26
Matthew.
LQ Newbie
 
Registered: May 2020
Location: Japan
Distribution: Mint 19 (if I can get it installed!)
Posts: 15

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by computersavvy View Post
This snippet from your earlier post that you said came from apple might just be what you need. Apparently they gave you a way to remove the bios password protection and key blocking. If you follow their suggestion then afterward you may be able to boot from USB according to several of the suggestions given above.
I have in the past successfully USB booted it from
1. its original OS (OS X 10.4 OEM) DVD optical drive.
2. my retail OS X 10.6 DVD optical drive.
3. Cloudready's Chrome OS (approx version 65 or thereabouts)
4. Perhaps, if I am not mistaken, Windows 7 on a bootcamp partition (though it is more likely that the memory of doing that is in fact the memory of doing it hundreds of times on my later 2011 macbook pro i5.

No it responds to nothing except my USB SATA SSD with retail OS X 10.6 on it.
No alt/option recovery or similar.
Only alt/option with the above-mentioned USB SATA works at all.
I may have butchered it by using Chrome OS, which, having no uninstall option, necessitated wiping the SSD to get rid of Chrome OS.
As you may have seen (I get mixed up with what I write on each of two Linux forums I use, this one and the Mint forum), I have also carefully followed the instructions for: Rufus USB making with Matt Gadient's modified Mint 19.3 iso, but with no success. Still no response with the alt/option and that, though the USB must be good as my 2011 boots from it.
Now have the original Linux repository version of Mint 20 on the USB, which my 2011 macbook pro i5 boots from, but the machine in question (2007 core 2 duo white plastic MacBook) will not respond to that of course as it's a 64-bit boot-loader / boot manager version.
Perhaps it has hardware problems, but if so, how then does it boot from the above-mentioned SATA?

Thank you very much.

Last edited by Matthew.; 11-05-2020 at 02:24 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] No sound on my 2007 Macbook with Gentoo Huckansawyer Linux - Laptop and Netbook 10 12-27-2019 11:29 AM
I am inheriting a MacBook Pro (last year's model). What is the best Linux system for a MacBook? JMacSmith Linux - Desktop 4 02-27-2018 11:37 PM
touchpad issues on my 2007 macbook pro jimmyjboy Linux - Newbie 3 05-30-2011 04:14 PM
Linux on a macbook/macbook pro... any experiences/problems, or is it even necessary? enigma_0Z Linux - Laptop and Netbook 13 09-14-2007 11:29 PM
DVD-R, DVD+RW, DVD-RW and DVD+R zetsui Linux - Hardware 5 09-12-2003 07:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 09:44 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