Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installation old Macbook (2007)
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
Katagia
n00b
n00b


Joined: 26 Oct 2017
Posts: 7

PostPosted: Thu Oct 26, 2017 10:58 am    Post subject: Installation old Macbook (2007) Reply with quote

Hello

I try to install gentoo on an old macbook 2,1 (eral 2007)
Before I had opensuse running.
This macbook is a special one with 32bit EFI only. There it's not possible to start 64bit system directly
I have to use a lgeacy wrapper rEFind to boot 64bit systems.

My problem is I can't get the system to boot.
Code:
Partition Layout:
Modell: ATA WDC WD5000BEVT-0 (scsi)
Festplatte  /dev/sda:  500GB
Sektorgröße (logisch/physisch): 512B/512B
Partitionstabelle: gpt
Disk-Flags:

Nummer  Anfang  Ende    Größe   Dateisystem     Name                  Flags
 1      20,5kB  210MB   210MB   fat32           EFI System Partition  boot, esp
 2      210MB   40,1GB  39,9GB  hfs+            OS X
 3      40,1GB  42,3GB  2182MB  linux-swap(v1)  swap
 4      42,3GB  500GB   458GB   ext4            Gentoo
 5      500GB   500GB   9462kB                  primary               bios_grub

I didn't knew grub required an own partition. In old times MBR or bootsector was sufficient
When I enter "grub-install /dev/sda" /dev/sda5 get's modified (checked with cat)
After that action rEFind shows a new boot entry. When I select it I get:
"No bootable device -- insert boot disk and press any key".
When the Gentoo disk is in the cd drive it's booted instead

Any idea how to proceed?
At the moment I'm lost complety.

Thank you

/Edit: First post was in german, sorry the translations of the forum has fooled me.

[Moderator edit: added [code] tags to preserve output layout. -Hu]
Back to top
View user's profile Send private message
cwr
Veteran
Veteran


Joined: 17 Dec 2005
Posts: 1969

PostPosted: Thu Oct 26, 2017 1:17 pm    Post subject: Reply with quote

The boot sequence on older Intel boxes is mbr => grub => kernel. It sounds as
if the MBR code can't find the grub boot partition (which needn't be a partition - it
can be part of the root partitition).

One thing to try might be to reinstall Suse, and then edit the grub menu to boot
Gentoo on a second partition. Then delete the Suse partition.

Good luck - Will
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54244
Location: 56N 3W

PostPosted: Thu Oct 26, 2017 1:25 pm    Post subject: Reply with quote

cwr.

If its EFI, it will demand GPT. With GPT there is no free space before the first partition for the boot loader to use.
To make up for that, it needs a 2M partition for itself.

EFI also demand that its boot files be on a FAT32 (vfat) partition.

The
Quote:
"No bootable device -- insert boot disk and press any key".
error sounds very much like an ordinary BIOS can't find the boot signature at the end of LBA 0, or possibly the bootable flag on the MSDOS partitian table or both.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Thu Oct 26, 2017 4:04 pm    Post subject: Reply with quote

Don't use Grub.
Use rEFInd as boot manager as you have been and EFI stub kernel as boot loader.
BTW, if EFI, Grub installs on the EFI Systems Partition and does not need the 2mb unformatted partition found in the gentoo manual.
_________________
Defund the FCC.
Back to top
View user's profile Send private message
Katagia
n00b
n00b


Joined: 26 Oct 2017
Posts: 7

PostPosted: Thu Oct 26, 2017 5:28 pm    Post subject: Reply with quote

Thank you for your responses.
I can't use the EFI stub because I only have 32bit EFI but I want to use a 64bit kernel.
http://www.rodsbooks.com/refind/linux.html tells bit width must be identical.

I will try the efi 32bit grub.
Back to top
View user's profile Send private message
Katagia
n00b
n00b


Joined: 26 Oct 2017
Posts: 7

PostPosted: Fri Oct 27, 2017 7:51 pm    Post subject: Reply with quote

Using 32bit grub efi was the trick.
Now it's booting.
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