View previous topic :: View next topic |
Author |
Message |
Katagia n00b
Joined: 26 Oct 2017 Posts: 7
|
Posted: Thu Oct 26, 2017 10:58 am Post subject: Installation old Macbook (2007) |
|
|
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 |
|
|
cwr Veteran
Joined: 17 Dec 2005 Posts: 1969
|
Posted: Thu Oct 26, 2017 1:17 pm Post subject: |
|
|
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 |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54244 Location: 56N 3W
|
Posted: Thu Oct 26, 2017 1:25 pm Post subject: |
|
|
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 |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Thu Oct 26, 2017 4:04 pm Post subject: |
|
|
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 |
|
|
Katagia n00b
Joined: 26 Oct 2017 Posts: 7
|
Posted: Thu Oct 26, 2017 5:28 pm Post subject: |
|
|
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 |
|
|
Katagia n00b
Joined: 26 Oct 2017 Posts: 7
|
Posted: Fri Oct 27, 2017 7:51 pm Post subject: |
|
|
Using 32bit grub efi was the trick.
Now it's booting. |
|
Back to top |
|
|
|