LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 02:56 AM   #16
G-Raps
Member
 
Registered: Apr 2020
Location: California, USA
Distribution: Debian 12.5, MX Linux 23.2, Ubuntu 22.04
Posts: 43

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, 02:59 PM   #17
Hermani
Member
 
Registered: Apr 2018
Location: Delden, NL
Distribution: Ubuntu
Posts: 261
Blog Entries: 3

Rep: Reputation: 113Reputation: 113
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, 03:18 PM   #18
sgosnell
Senior Member
 
Registered: Jan 2008
Location: Baja Oklahoma
Distribution: Debian Stable and Unstable
Posts: 1,943

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
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, 09:25 AM   #19
SandsOfArrakis
Member
 
Registered: Apr 2012
Location: Netherlands
Distribution: Linux Mint 21.1 Vera / Zorin Pro 6.2
Posts: 155

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, 08:34 PM   #20
ofbarea
LQ Newbie
 
Registered: Oct 2020
Location: Costa Rica
Distribution: Lubuntu, Ubuntu DDE
Posts: 15

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 08:38 PM. Reason: change software for hardware
 
Old 10-30-2020, 08:48 PM   #21
ofbarea
LQ Newbie
 
Registered: Oct 2020
Location: Costa Rica
Distribution: Lubuntu, Ubuntu DDE
Posts: 15

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, 10:13 PM   #22
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
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, 05:12 AM   #23
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
^ 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, 01:04 AM   #24
Matthew.
LQ Newbie
 
Registered: May 2020
Location: Japan
Distribution: Mint 19 (if I can get it installed!)
Posts: 20

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, 01:09 AM   #25
Matthew.
LQ Newbie
 
Registered: May 2020
Location: Japan
Distribution: Mint 19 (if I can get it installed!)
Posts: 20

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, 01:22 AM   #26
Matthew.
LQ Newbie
 
Registered: May 2020
Location: Japan
Distribution: Mint 19 (if I can get it installed!)
Posts: 20

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 01:24 AM.
 
Old 12-16-2020, 11:59 PM   #27
G-Raps
Member
 
Registered: Apr 2020
Location: California, USA
Distribution: Debian 12.5, MX Linux 23.2, Ubuntu 22.04
Posts: 43

Rep: Reputation: Disabled
Hi Matthew,

Some updates on my work with my Macbook, early 2011 laptop running Linux:

1. I replaced the original hard drive with a gaming-oriented solid state drive (SSD) from Team Group. I bought the SSD from Newegg.com, and the price for a 512 GB 2.5" drive was less than USD$60. This may get cheaper as the months continue, and storage drives get larger and better.

2. Instead of running the installer for the early 2011 default of Mountain Lion, I chose the option to restore the MacOS version of Mountain Lion with High Sierra.

Apparently, the default MacOS version for your 2007 Macbook will have a version earlier than Mountain Lion, to which will be installed from a DVD or multiple CDs that was issued with your Macbook. Some MacOS default installers have network install capabilities, but this could be an immature network firmware version, and may not work if your network is not the same vintage as 2007's TCP/IP stack programming paradigm. Does this mean that network install is not possible ? Yes and No: Yes, if your network is 10/100 ethernet, and no, if you try to use Wi-fi connectivity. Ethernet existed in 2007, and the installer was still able to fit on two 700MB/650MB compact disks. If you search on ebay for 2007 MacOS disk, you will get some hits. The 2007 vintage disks were selling for less than USD$20 from the ones I found.

To be sure, once your 2007 Macbook has an operating system (any system from 2007), then you have some more steps to install Mint 19 or later to the 2007 Macbook. Best case scenario, MacOS is installed successfully, then search for Linux operating systems that can boot under the 2007 Macbook.

If you care to search on Google, here is what someone else has found with loading their 2007 Macbook with Ubuntu 16.04 LTS:
https://apple.stackexchange.com/ques...-white-via-usb
 
Old 12-20-2020, 11:54 PM   #28
Matthew.
LQ Newbie
 
Registered: May 2020
Location: Japan
Distribution: Mint 19 (if I can get it installed!)
Posts: 20

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by G-Raps View Post
Hi Matthew,

Some updates on my work with my Macbook, early 2011 laptop running Linux:

1. I replaced the original hard drive with a gaming-oriented solid state drive (SSD) from Team Group. I bought the SSD from Newegg.com, and the price for a 512 GB 2.5" drive was less than USD$60. This may get cheaper as the months continue, and storage drives get larger and better.

2. Instead of running the installer for the early 2011 default of Mountain Lion, I chose the option to restore the MacOS version of Mountain Lion with High Sierra.

Apparently, the default MacOS version for your 2007 Macbook will have a version earlier than Mountain Lion, to which will be installed from a DVD or multiple CDs that was issued with your Macbook. Some MacOS default installers have network install capabilities, but this could be an immature network firmware version, and may not work if your network is not the same vintage as 2007's TCP/IP stack programming paradigm. Does this mean that network install is not possible ? Yes and No: Yes, if your network is 10/100 ethernet, and no, if you try to use Wi-fi connectivity. Ethernet existed in 2007, and the installer was still able to fit on two 700MB/650MB compact disks. If you search on ebay for 2007 MacOS disk, you will get some hits. The 2007 vintage disks were selling for less than USD$20 from the ones I found.

To be sure, once your 2007 Macbook has an operating system (any system from 2007), then you have some more steps to install Mint 19 or later to the 2007 Macbook. Best case scenario, MacOS is installed successfully, then search for Linux operating systems that can boot under the 2007 Macbook.

If you care to search on Google, here is what someone else has found with loading their 2007 Macbook with Ubuntu 16.04 LTS:
https://apple.stackexchange.com/ques...-white-via-usb
Thanks for replying.
Not sure whether you replied to something I have forgotten writing or whether you misunderstood what I wrote.
No worries, here is an update.

2011 MB Pro now runs Mint 20 as the only O/S.
Encountered problems trying to install Mint alongside Windows (trying to kill OS X but not the Windows install that ran alongside it).
Encountered too many to list here and now.
Probably as I am not savvy enough to know the ins+outs of making partitioned drives of GNU/Linux and W7 / OS X work together.
The workaround for the time being, as I have W10 on my wife's PC and on my desk at work, is to have Mint and only Mint on the 2011 MB Pro.
So far it seems that, despite having run all updates, the Firefox browser under Mint is less responsive by far than Chrome under W7.
Not big enough an issue to switch back to W7 / OS X.
Will buy an SSD cradle and replace the optical drive to keep the Mint drive and W7 / OS X drives separate, rather than partitioned on one physical drive.

2007 MacBook (not pro) currently inoperative.
As per above and other posts on Linux Mint site, I need to know for sure (not just roughly) how to edit a Mint iso (32 bit booting into 64 bit OS) and more immediately whether the 2007 machine is alive as it were. Last I recall (not touched it for a while) it will boot from my OS X 10.6 Snow Leopard USB-SATA-HDD, but not from the HDD if inserted into the HDD bay; not from either the OEM OS X 10.4 DVD or the retail OS X 10.6 DVD.
It will no longer boot from the Cloudready Chrome OS live USB, but it did for months.
It will not boot from the (Matt Gadient) modified Mint 19.3 Live USB with a 32 bit boot something-or-other modification made to it by him.
Trying to EFI / UEFI boot (alt key on start-up) results in either a dead screen and no response at all or a folder icon with a question mark in it, unless, as stated above, I insert the OS X 10.6 Snow Leopard USB-SATA-HDD

No rush.
Now thinking about a Raspberry Pi 4B 8GB model to run Raspberry Pi OS or Ubuntu Pi as a reliable but simple desktop machine while I 'play' (fekk around) with the two old MacBooks while learning more.
 
1 members found this post helpful.
Old 02-16-2021, 02:03 AM   #29
calliealbert
LQ Newbie
 
Registered: Jan 2021
Posts: 17

Rep: Reputation: 1
The first issue to your problem is there is no HDD in the MacBook to read. You need a storage location with at least 20GB to install the system (This applies for every computer). It sounds like you would like to install the latest version of macOS on the system itself, so I would first put an actual HDD inside.
 
Old 02-17-2021, 08:13 AM   #30
leclerc78
Member
 
Registered: Dec 2020
Posts: 169

Rep: Reputation: Disabled
Code:
You need a storage location with at least 20GB to install the system (This applies for every computer).
I beg to differ. Puppy can run perfectly normal (fast), with USB or CD/DVD only.
There maybe are others, like Tails - but I never tried.
 
  


Reply



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 10: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 10:37 PM
touchpad issues on my 2007 macbook pro jimmyjboy Linux - Newbie 3 05-30-2011 03: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 10:29 PM
DVD-R, DVD+RW, DVD-RW and DVD+R zetsui Linux - Hardware 5 09-12-2003 06:15 PM

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

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