Unable to Install Linux from USB or DVD on 2007 macbook
Linux - Laptop and NetbookHaving 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Debian 12.5, MX Linux 23.2, Ubuntu 22.04
Posts: 43
Rep:
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 ?
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.
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.
Distribution: Linux Mint 21.1 Vera / Zorin Pro 6.2
Posts: 155
Rep:
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.
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:
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:
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.
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.
.............................
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).
............................
Distribution: Mint 19 (if I can get it installed!)
Posts: 20
Original Poster
Rep:
Quote:
Originally Posted by Hermani
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.
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.
Distribution: Mint 19 (if I can get it installed!)
Posts: 20
Original Poster
Rep:
Quote:
Originally Posted by SandsOfArrakis
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.
Distribution: Mint 19 (if I can get it installed!)
Posts: 20
Original Poster
Rep:
Quote:
Originally Posted by computersavvy
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?
Distribution: Debian 12.5, MX Linux 23.2, Ubuntu 22.04
Posts: 43
Rep:
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.
Distribution: Mint 19 (if I can get it installed!)
Posts: 20
Original Poster
Rep:
Quote:
Originally Posted by G-Raps
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.