Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Trouble booting installation media on iMac Core Duo
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
AdvoUK
n00b
n00b


Joined: 25 Oct 2015
Posts: 6

PostPosted: Sun Feb 07, 2016 9:31 am    Post subject: Trouble booting installation media on iMac Core Duo Reply with quote

Hi Everyone,

I have an old 20 inch iMac Core Duo here that I'd quite like to dual boot OS X and Linux on. However, I'm having trouble booting Gentoo Linux install media on it.

The Gentoo Minimal Install media gets so far then complains about not being able to find the media, then the root block device (this is with it on a bootable USB stick and when it's burnt to disc)


I have ReFind installed and working, and I have tried uNetBootin, Mac Linux USB Loader (which seems to leave me with a blank USB stick) and burning the .iso file to an optical disc. None of these get me through the boot process to a prompt where I can begin to install Gentoo.

Please help me to install Gentoo on this 20inch iMac, this is driving me crazy!
Back to top
View user's profile Send private message
AdvoUK
n00b
n00b


Joined: 25 Oct 2015
Posts: 6

PostPosted: Sun Feb 07, 2016 9:37 am    Post subject: Reply with quote

I should point out, I'd even be happy to have ONLY Gentoo on this iMac if that is easier to solve.

I've just tried booting the LiveDVD and I get to a screen where it's asking me to "Select CD-ROM Boot Type" but it doesn't seem to recognise any keyboard inputs to allow me to select 2. MAC

This is frustrating
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Sun Feb 07, 2016 11:07 am    Post subject: Reply with quote

AdvoUK ... does this particular iMac have a 32bit of 64bit EFI? "Core Duo" (rather than Core2) would suggest the former, and so you may need to create a USB with a 32bit efi bootloader (or boot as 'bios' and then use the default bootloader location to get your first efi boot). I can help you over this hurdle ... so, as it says on the cover of the handbook, don't panic ;)

To answer your second post, dual booting shouldn't be an issue ... right now the question is which CD you should be using (probably sysresccd would be best), by the sound of it you are actually booting but as it's USB you need to add 'rootdelay=7' or 'rootwait' as a kernel parameter.

So, some details about the machine might help, specifically the type of efi, once that is clear I can suggest the next step.

best ... khay
Back to top
View user's profile Send private message
AdvoUK
n00b
n00b


Joined: 25 Oct 2015
Posts: 6

PostPosted: Sun Feb 07, 2016 4:13 pm    Post subject: Reply with quote

Hi,

It is indeed a 32bit EFI on this particular iMac. I'll give it another go with sysreccd when I get home and report back here.

Thanks once again for the reply, I can't wait to get Gentoo running.

:)
Back to top
View user's profile Send private message
markisthejob
Tux's lil' helper
Tux's lil' helper


Joined: 04 Aug 2008
Posts: 142
Location: Cork, Republic of Ireland

PostPosted: Sun Feb 07, 2016 5:02 pm    Post subject: Reply with quote

Hi I had the same issue with a 32 bit efi mac pro. I wasnt able to boot ANY 64 bit live cd's.In the end I found one that worked.
I used a ubuntu livecd (amd64+mac) and installed gentoo from there.Here's a link to a guide

https://wiki.gentoo.org/wiki/Installation_alternatives#Installation_from_non-Gentoo_LiveCDs

This is the livecd I used

https://ubuntu-mate.org/trusty/ubuntu-mate-14.04.2-LTS-desktop-amd64+mac.iso.torrent

Im not saying this is the best way, Its just how I got around the problem
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Sun Feb 07, 2016 5:12 pm    Post subject: Reply with quote

AdvoUK wrote:
It is indeed a 32bit EFI on this particular iMac. I'll give it another go with sysreccd when I get home and report back here.

AdvoUK ... in which case you will not be able to boot efi using the sysresccd, the grub2.efi used is 64bit. You could swap out the grub2 once on the USB but you would need a grub2.efi compiled for 32bit. The workaround is to boot in bios mode (rEFInd should offer a seperate icon/option for syslinux on the sysresccd) and not run efibootmgr (as per the handbook) to setup NVRAM ... rEFInd should offer any efi executable (ie, your efi stub enabled kernel ... which you should suffix ".efi") it finds on the ESP once you reboot.

Also, if you provide the output of 'cat /proc/cpuinfo' and 'lspci -v' (via pastebin) I may be able to offer you a suitable kernel config. Your iMac may be the same hardware wise as my macbook1,1 ... or at least close.

Any further questions just ask ... khay
Back to top
View user's profile Send private message
AdvoUK
n00b
n00b


Joined: 25 Oct 2015
Posts: 6

PostPosted: Sun Feb 07, 2016 5:21 pm    Post subject: Reply with quote

I have to admit you've lost me a bit there.

I can't see any seperate icon in reFind. To be honest I haven't used the Handbook yet as I've yet to find anything that will boot to allow me to start installing.

As I'm getting "No such file or directory" when trying 'cat /proc/cpuinfo' and "Command not found" with 'lspci -v' I'm assuming that these are both meant to be run at the Linux command line not in OS X Terminal.
Back to top
View user's profile Send private message
markisthejob
Tux's lil' helper
Tux's lil' helper


Joined: 04 Aug 2008
Posts: 142
Location: Cork, Republic of Ireland

PostPosted: Sun Feb 07, 2016 5:47 pm    Post subject: Reply with quote

I don't have refind installed on mine, just held the "c " key when the Mac started up and booted the livecd fine. Then I Installed grub with a grub bios partition
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Sun Feb 07, 2016 6:17 pm    Post subject: Reply with quote

AdvoUK wrote:
I have to admit you've lost me a bit there.

AdvoUK ... sorry about that, I'm probably assuming more familarity than you actually have ... I'll try and keep it simple, if anything is unclear then ask.

AdvoUK wrote:
I can't see any seperate icon in reFind. To be honest I haven't used the Handbook yet as I've yet to find anything that will boot to allow me to start installing.

You mean you can't see any entry for the sysresccd USB in rEFInd? If so this would suggest the method you're using to create the USB isn't working as expected. As there are no instructions for creating a USB on OSX, what method are you using?

AdvoUK wrote:
As I'm getting "No such file or directory" when trying 'cat /proc/cpuinfo' and "Command not found" with 'lspci -v' I'm assuming that these are both meant to be run at the Linux command line not in OS X Terminal.

Correct, these would be run once your able to boot ...

best ... khay
Back to top
View user's profile Send private message
AdvoUK
n00b
n00b


Joined: 25 Oct 2015
Posts: 6

PostPosted: Sun Feb 07, 2016 10:10 pm    Post subject: Reply with quote

khayyam wrote:
AdvoUK ... sorry about that, I'm probably assuming more familarity than you actually have ... I'll try and keep it simple, if anything is unclear then ask.


Thanks, it's been a long time since I've installed Gentoo on anything, and never on a Mac. If I manage to get it installed on this iMac then my 2007 Mac Pro is next :)

Quote:
You mean you can't see any entry for the sysresccd USB in rEFInd? If so this would suggest the method you're using to create the USB isn't working as expected. As there are no instructions for creating a USB on OSX, what method are you using?


Yes I am getting an entry to boot from the USB stick (whatever distort is on there, including sysreccd). My mistake I thought you were asking if there was two entries for booting sysreccd from reFind. On booting reFind loads up and offers the options to boot into OS X or to boot from the USB stick. I'm using the dd command to create the USB sticks, as unetbootin doesn't support booting on Mac, and Mac Linux USB Loader doesn't seem to actually copy anything over to the USB stick.

Quote:
Correct, these would be run once your able to boot ...best ... khay


Cheers khay, I appreciate you taking the time to help me and look forward to getting this up and running :)
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Mon Feb 08, 2016 12:01 am    Post subject: Reply with quote

AdvoUK wrote:
khayyam wrote:
You mean you can't see any entry for the sysresccd USB in rEFInd? If so this would suggest the method you're using to create the USB isn't working as expected. As there are no instructions for creating a USB on OSX, what method are you using?

Yes I am getting an entry to boot from the USB stick (whatever distort is on there, including sysreccd). My mistake I thought you were asking if there was two entries for booting sysreccd from reFind. On booting reFind loads up and offers the options to boot into OS X or to boot from the USB stick. I'm using the dd command to create the USB sticks, as unetbootin doesn't support booting on Mac, and Mac Linux USB Loader doesn't seem to actually copy anything over to the USB stick.

AdvoUK ... I see, that is why you're seeing one entry (rEFInd detects the efi ... but will fail executing it as it's 64bit), dd will copy the image but syslinux needs run subsequently to make it (bios) bootable. I'm not sure whether the gentoo-minimal iso can be dd'ed to USB but I would give that a shot. In the past I've used the minimal image on a USB, but forget if I had run mkisofs on it prior to dd ... not sure if this is needed, it was some time ago, and I generally always use sysresccd now and swap out the 64bit grub2 on the USB for a 32bit compiled version.

If you haven't yet tried with the gentoo minimal iso then try that, if dd works rEFInd should provide it in the boot menu. BTW, doesn't the iMac have DVD SuperDrive ... why not burn a CD rather than use USB?

AdvoUK wrote:
Cheers khay, I appreciate you taking the time to help me and look forward to getting this up and running :)

You're welcome ... khay
Back to top
View user's profile Send private message
AdvoUK
n00b
n00b


Joined: 25 Oct 2015
Posts: 6

PostPosted: Wed Feb 10, 2016 7:36 pm    Post subject: Reply with quote

Sorry for the delay in replying, sometimes I have to work to pay the bills *sigh*

Anyhoo, we have made the decision to not keep the iMac after all. But that doesn't mean that my interest in Gentoo has waned, just that I now would like to install it on my 2007 Mac Pro. As this is a machine with 64bit processors but a 32bit EFI I know that I will have similar problems booting the install media as I had with the iMac. In fact whenever I've tried in the past I've had to give up eventually because nothing would boot.

So if you're still up for helping me I'd really appreciate it :)

I have two days off from tomorrow so I'll hopefully be able to dedicate some time to it. I aim to start with the Gentoo minimal install media, and progress from there. Worst case scenario for me would be that I end up having to install a different distro and then convert that to a Gentoo install but I really don't want to do that. My absolute favourite thing about Gentoo is the install procedure and compiling everything on the computer that it's going to run on.

In fact, now that I'm thinking about it I might just go and try installing it now and see how far I get. My fiancé won't be happy if I'm messing about with the computers when she gets home from church but she'll get over it ;)

If I get nowhere with the Mac Pro then as a really ultimate last resort I'll dual boot the PC that I built for gaming earlier last year. Although to be honest I don't think I've played a game on it for over 3 months so it might be worth just dual booting that anyway and saving myself the hassle. And now I'm just rambling, sorry.
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Wed Feb 10, 2016 7:51 pm    Post subject: Reply with quote

AdvoUK wrote:
So if you're still up for helping me I'd really appreciate it :)

AdvoUK ... yes, no problem. As you noted, with a 32bit EFI you will need to either boot in 'bios' mode, or change the grub2.efi on the boot medium. That said the gentoo minimal iso should get you the former ... and so give that a shot.

If you can't get it to boot then perhaps I can supply a 32bit grub2.efi you can swap out on the sysresccd (though I don't have anywhere I can upload it ... and generally don't use any of the services for such things, so know nothing).

No advice on what you might say to your fiancé ... sorry ;)

best ... khay
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum