LinuxQuestions.org
Help answer threads with 0 replies.
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 04-27-2023, 03:46 PM   #1
Brant
Member
 
Registered: Oct 2007
Posts: 281

Rep: Reputation: 35
difficulty installing Linux on iMac


I was given a iMac (circa 2007, 12 Gig RAM, 1 Terabyte hard-drive, 27˝ screen) which when booted up suggested either reinstalling the operating system or reverting to an earlier save point.
All I wanted was to install Linux, and I decided on Linux Mint 21 Cinnamon

I followed the following steps, that seemed generally recommended:

1) Plug the bootable Linux USB drive into the Mac.
2) Turn on the Mac while holding down the Option key. You will then see the boot manager with a list of available devices you can boot from.*
3) Select your USB stick and hit enter. This will be named EFI boot or EFI drive.
4) You will see a screen with Installation Options that will ask you to either Try or Install.

When I tried, the screen simply went dark but after reading further, I tried again:

5) Press the letter ‘E’ on your keyboard to go to the boot entry.
6) I then followed the instructions to modify the boot entry: Change the line starting with Linux and add the word ‘nomodeset’ after ‘quiet splash’.

At this point Linux Mint ran quite happily as a live-disk, and I decided to install it, telling it to use the entire hard-drive.
The installation seemed to go correctly, until the end, where I was told I could restart the computer. It did not restart—instead it showed five lines of message:
[ 1447.698588] sd 1:0:0:0: [sdb] tag#0 access beyond end of device
[ 1447.698646] blk_update_request: I/O error, dev sdb, sector 4783632 op 0x0 : (READ) flags on 80700 phys_seg 1 prio class 0
[ 1447.699993] sd 1:0:0:0: [sdb] tag#0 access beyond end of device
[ 1447.700021] blk_update_request: I/O error, dev sdb, sector 4783632 op 0x0 : (READ) flags 0x0 phys_seg 1 prio class 0
[ 1447.700064] Buffer I/O error on dev sdb2, logical block 1040, async page read

I attempted the installation a second time, with exactly the same results.
I then tried again, with a flash-drive carrying MX Linux. Unfortunately, at step 5, although pressing ‘E’ opened a terminal, there was no boot entry showing.

Wondering if the five lines of message suggested a problem with the hard drive, I ran the live disk again, and used Gparted to divide the main partition into two, and then tried to install Mint to the first of them, but received the same message. I then tried to install to the second partition, with the same result.

Note that each time I have attempted an installation (after the first time) when asked where I want Mint installed, the live disk has said that Mint is already installed.

Would another distribution have better luck, or is there some other solution?
Thanks!
 
Old 04-28-2023, 09:16 AM   #2
ClemaX
LQ Newbie
 
Registered: Dec 2021
Posts: 4

Rep: Reputation: Disabled
You could try with another hard-drive (external or not) to try to to determine if your hard-drive may be faulty.
Did you have macOS running on this hard-drive before?
 
Old 04-28-2023, 09:00 PM   #3
leclerc78
Member
 
Registered: Dec 2020
Posts: 169

Rep: Reputation: Disabled
I would retry MX leaving it on auto (without editing "boot").
 
1 members found this post helpful.
Old 04-29-2023, 04:28 PM   #4
Brant
Member
 
Registered: Oct 2007
Posts: 281

Original Poster
Rep: Reputation: 35
I decided to try MX again (although I did not understand 'leaving it on auto').
When the live-disk opened it showed five lines:

MX 21.3x64
Language-Keyboard-Time
>>>Advanced Options<<<
Memory Test (64 bit)
Boot Rescue Menus

Seeing it a second time, I realized that it had defaulted to Language-Keyboard-Time, which I thought explained my lack of success with 'e' the first time around. I chose the first option, MX 21.3, and then 'e' and this time the terminal showed information, the last line of which ended in 'quiet splasht no splash'. I added nomodeset, and the installation proceeded without any difficulty.
It did show a message:
'The disks with the partition pass the SMART monitor test ... but will have a higher than average failure rate in the near future.'
Considering the age of the computer, hardly a surprise.
Very satisfying! Thanks!
 
  


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
Installing Linux on older Imac ishban Linux - Newbie 20 12-22-2018 10:22 AM
Problems installing linux on an old iMac G3 badbit Linux - General 11 09-26-2011 08:16 PM
Boot OS9 iMac (tray) to a Linxu iMac and install rudyard Linux - Networking 3 08-13-2006 11:03 PM
Installing Linux on an iMac indigo Mankind75 Linux - Hardware 5 07-16-2004 05:18 PM
iMac Open Firmware won't boot on Blue iMac.... opn Linux - Software 0 12-31-2001 10:02 AM

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

All times are GMT -5. The time now is 03:15 PM.

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