Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

64-bit MXLinux 17.1 does not boot after installation on iMac 6,1

Help for Current Versions of MX
Message
Author
ankar71
Forum Novice
Forum  Novice
Posts: 6
Joined: Mon Apr 16, 2018 5:28 am

64-bit MXLinux 17.1 does not boot after installation on iMac 6,1

#1 Post by ankar71 » Mon Apr 16, 2018 5:52 am

Hi everyone,

I am new here but pretty experienced Linux user. I have an old iMac (6,1) (Intel Core 2 Duo) which became useless because the OS is no longer updated. So I decided to revive it using MX-Linux. Note: I removed completely the Mac OS.
The 64-bit MX-Linux (version 17.1) live usb worked fine, so I decided to install the 64-bit version. Unfortunately, the fresh installed version will not boot after installation. The problem, I believe, is that this particular model has a 32-bit EFI. So, I tried the 32-bit MX-Linux and this boots fine after installation. Actually, I am writing this using the 32-bit version which booted from the hard disk.
There must be a way though to boot the 64-bit version from the hard disk because it boots without issue from the live usb drive. Any idea how I could do that? Is it possible to follow the same boot procedure as that from the live usb drive when booting from the hard drive?
Please note also that I tried to correct boot issue using the 'Boot repair' tool from MX tools and it did not work.

Any help is highly appreciated

Thank you

Andreas

User avatar
Eadwine Rose
Forum Veteran
Forum Veteran
Posts: 5894
Joined: Wed Jul 12, 2006 2:10 am

Re: 64-bit MXLinux 17.1 does not boot after installation on iMac 6,1

#2 Post by Eadwine Rose » Mon Apr 16, 2018 6:20 am

Hi, and welcome!

Can you paste the data you will find in MX Tools - quick system info? :) You can put it between code /code tags (with [ ] thingies around the words).
MX-17.1_x64 Horizon 14-3-2018 * 4.15.0-1-amd64 ext4 Xfce 4.12.3 * AMD Asus M4A785TD-V EVO AM3 * ASUS GF GT640-1GD5-L NVIDIA 384.130 * AMD Proc. Athl II X4 635, sAM3 * HDA ATI SB VT1708S An * 2x4Gb DDR3 1600 Kingst * 22" Samsung SyncM P2250 * HP F2280

ankar71
Forum Novice
Forum  Novice
Posts: 6
Joined: Mon Apr 16, 2018 5:28 am

Re: 64-bit MXLinux 17.1 does not boot after installation on iMac 6,1

#3 Post by ankar71 » Mon Apr 16, 2018 6:26 am

Here is my quick system info when booting the 32-bit version:

Code: Select all

System:    Host: mxmac Kernel: 4.15.0-1-686-pae i686 bits: 32 Desktop: Xfce 4.12.3 
           Distro: MX-17.1_386 Horizon March 12, 2017 
Machine:   Type: Desktop System: Apple product: iMac6,1 v: 1.0 serial: N/A 
           Mobo: Apple model: Mac-F4218FC8 v: DVT serial: N/A BIOS: Apple 
           v: IM61.88Z.0093.B07.0706281250 date: 06/28/07 
CPU:       Topology: Dual Core model: Intel Core2 T7400 type: MCP L2 cache: 4096 KiB 
           Speed: 998 MHz min/max: 1000/2167 MHz Core speeds (MHz): 1: 998 2: 998 
Graphics:  Card-1: NVIDIA G73 [GeForce 7600 GT] driver: nvidia v: 304.137 
           Display Server: x11 (X.Org 1.19.2) driver: nvidia resolution: 1920x1200~60Hz 
           OpenGL: renderer: GeForce 7600 GT/PCIe/SSE2 v: 2.1.2 NVIDIA 304.137 
Audio:     Card-1: Intel NM10/ICH7 Family High Definition Audio driver: snd_hda_intel 
           Sound Server: ALSA v: k4.15.0-1-686-pae 
Network:   Card-1: Marvell 88E8053 PCI-E Gigabit Ethernet driver: sky2 
           IF: eth0 state: down mac: 00:16:cb:9c:f0:53 
           Card-2: Broadcom Limited BCM4321 802.11a/b/g/n driver: b43-pci-bridge 
           IF-ID-1: wlan0 state: up mac: 00:17:f2:98:d1:18 
Drives:    HDD Total Size: 596.17 GiB used: 5.00 GiB (0.8%) 
           ID-1: /dev/sda model: WDC_WD6400AAKS-6 size: 596.17 GiB 
Partition: ID-1: / size: 583.57 GiB used: 5.00 GiB (0.9%) fs: ext4 dev: /dev/sda1 
           ID-2: swap-1 size: 2.00 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda2 
Sensors:   System Temperatures: cpu: 61.0 C mobo: N/A gpu: nvidia temp: 67 C 
           Fan Speeds (RPM): cpu: 999 
Repos:     Active apt repos in: /etc/apt/sources.list.d/antix.list 
           1: deb http://ftp.cc.uoc.gr/mirrors/linux/mx/antix/stretch stretch main
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
           1: deb http://ftp.gr.debian.org/debian/ stretch-updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/debian.list 
           1: deb http://ftp.gr.debian.org/debian/ stretch main contrib non-free
           2: deb http://security.debian.org/ stretch/updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/mx.list 
           1: deb http://ftp.cc.uoc.gr/mirrors/linux/mx/mx/repo/ stretch main non-free
           No active apt repos in: /etc/apt/sources.list.d/various.list 
Info:      Processes: 177 Uptime: 17m Memory: 2.94 GiB used: 1.48 GiB (50.3%) Shell: init 
           inxi: 3.0.00 

ankar71
Forum Novice
Forum  Novice
Posts: 6
Joined: Mon Apr 16, 2018 5:28 am

Re: 64-bit MXLinux 17.1 does not boot after installation on iMac 6,1

#4 Post by ankar71 » Mon Apr 16, 2018 6:56 am

And this is the system info when I boot in 64-bit using the live usb drive

Code: Select all

System:    Host: mx1 Kernel: 4.15.0-1-amd64 x86_64 bits: 64 Desktop: Xfce 4.12.3
           Distro: MX-17.1_x64 Horizon March 14, 2018
Machine:   Device: desktop System: Apple product: iMac6 1 v: 1.0 serial: N/A
           Mobo: Apple model: Mac-F4218FC8 v: DVT serial: N/A
           UEFI: Apple v: IM61.88Z.0093.B07.0706281250 date: 06/28/07
CPU:       Dual core Intel Core2 T7400 (-MCP-) cache: 4096 KB
           clock speeds: max: 2167 MHz 1: 2161 MHz 2: 1665 MHz
Graphics:  Card: NVIDIA G73 [GeForce 7600 GT]
           Display Server: x11 (X.Org 1.19.2 )
           drivers: nouveau (unloaded: modesetting,fbdev,vesa)
           Resolution: 1920x1200@60.24hz
           OpenGL: renderer: Gallium 0.4 on NV4B version: 2.1 Mesa 13.0.6
Audio:     Card Intel NM10/ICH7 Family High Def. Audio Controller driver: snd_hda_intel
           Sound: Advanced Linux Sound Architecture v: k4.15.0-1-amd64
Network:   Card-1: Marvell 88E8053 PCI-E Gigabit Ethernet Controller driver: sky2
           IF: eth0 state: down mac: 00:16:cb:9c:f0:53
           Card-2: Broadcom Limited BCM4321 802.11a/b/g/n driver: b43-pci-bridge
           IF: wlan0 state: up mac: 00:17:f2:98:d1:18
Drives:    HDD Total Size: 671.7GB (0.3% used)
           ID-1: /dev/sda model: WDC_WD6400AAKS size: 640.1GB
           ID-2: USB /dev/sdb model: Flash_Disk size: 31.6GB
Partition: ID-1: / size: 2.4G used: 185M (8%) fs: overlay dev: N/A
           ID-2: swap-1 size: 2.15GB used: 0.00GB (0%) fs: swap dev: /dev/sda2
Sensors:   System Temperatures: cpu: 51.0C mobo: 4.0C gpu: 58.0
           Fan Speeds (in rpm): cpu: 996
Info:      Processes: 198 Uptime: 6 min Memory: 820.4/3001.8MB Client: Shell (init) inxi: 2.3.54

User avatar
dolphin_oracle
Forum Veteran
Forum Veteran
Posts: 8796
Joined: Sun Dec 16, 2007 1:17 pm

Re: 64-bit MXLinux 17.1 does not boot after installation on iMac 6,1

#5 Post by dolphin_oracle » Mon Apr 16, 2018 7:49 am

from the inxi data, it looks like you have booted the 32 bit version in legacy-bios mode, but the 64 bit version in UEFI mode. So I'm not sure UEFI is the issue here.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad T530 - MX-17
lenovo s21e & 100s - antiX-17, MX17(live-usb)
FYI: mx "test" repo is not the same thing as debian testing repo.

ankar71
Forum Novice
Forum  Novice
Posts: 6
Joined: Mon Apr 16, 2018 5:28 am

Re: 64-bit MXLinux 17.1 does not boot after installation on iMac 6,1

#6 Post by ankar71 » Mon Apr 16, 2018 10:14 am

dolphin_oracle wrote:from the inxi data, it looks like you have booted the 32 bit version in legacy-bios mode, but the 64 bit version in UEFI mode. So I'm not sure UEFI is the issue here.
The 32 bit version booted from hard disk without ESP (grub is on MBR). The 64-bit was booted using the USB dirve in UEFI mode.
When installling the 64-bit version I get three options about grub: MBR, root and ESP (default is ESP) I tried them all. Installation proceeds noramally in all cases but booting is unsuccessful with all of them.

ankar71
Forum Novice
Forum  Novice
Posts: 6
Joined: Mon Apr 16, 2018 5:28 am

Re: 64-bit MXLinux 17.1 does not boot after installation on iMac 6,1

#7 Post by ankar71 » Mon Apr 16, 2018 4:11 pm

Good news. I finally mamaged to boot an 64-bit installation by changing the installation procedure. I did this by doing the following:
  1. I removed all existing partitions (including the ESP) and created only two new primary partitions: root and swap. The first partition must be the root partition and must have the BOOT flag set.
  2. When prompted where to install grub, I chose MBR (the ESP optionn was not selectable). Note: if the ESP is present, the installation will not boot even when I choose MBR.
My previous attemts failed either because the ESP was present or because I forgot to set the BOOT flag in the root partition.

Note for future versions: The behaviour of the installer could be considered buggy because when choosing to use the whole disk and do automatic partitioning, the ESP is always created and is the default option for the grub installation. This default behaviour was wrong in my case.

Many thanks for this nice distro

Andreas
Last edited by ankar71 on Mon Apr 16, 2018 4:58 pm, edited 1 time in total.

User avatar
Jerry3904
Forum Veteran
Forum Veteran
Posts: 21917
Joined: Wed Jul 19, 2006 6:13 am

Re: 64-bit MXLinux 17.1 does not boot after installation on iMac 6,1

#8 Post by Jerry3904 » Mon Apr 16, 2018 4:17 pm

Thanks for the feedback and solution. The Installer is currently under development so your timing is perfect.
Production: 4.15.0-1-amd64, MX-17.1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, Kingston SSD 120 GB and WesternDigital 1TB
Testing: AAO 722: 4.15.0-1-386. MX-17.1, AMD C-60 APU, 4 GB

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 15790
Joined: Fri Dec 15, 2006 8:07 pm

Re: 64-bit MXLinux 17.1 does not boot after installation on iMac 6,1

#9 Post by Stevo » Mon Apr 16, 2018 4:22 pm

Would Refind have been any help with this particular problem?

User avatar
dolphin_oracle
Forum Veteran
Forum Veteran
Posts: 8796
Joined: Sun Dec 16, 2007 1:17 pm

Re: 64-bit MXLinux 17.1 does not boot after installation on iMac 6,1

#10 Post by dolphin_oracle » Mon Apr 16, 2018 4:31 pm

ankar71 wrote: Note for future versions: The behaviour of the installer could be considered buggy because when choosing to use the whole disk and do automatic partitioning, the ESP is always created and is the default option for the grub installation. This default behaviour was wrong in my case.
I'm glad you got things working.

Your supposition is only partially correct. The autoinstaller will always create and ESP partition when the liveUSB is booted in UEFI mode. If you boot in legacy-bios mode, then the ESP is skipped. I have no idea if an apple imac can be forced to boot legacy first, but obviously it can boot legacy since you got it going. Good on ya!
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad T530 - MX-17
lenovo s21e & 100s - antiX-17, MX17(live-usb)
FYI: mx "test" repo is not the same thing as debian testing repo.

Post Reply

Return to “MX Help”