You are not logged in.

#1 2011-05-21 03:59:30

John A
Member
Registered: 2011-05-21
Posts: 2

grub2 reboots whenever I try to boot Linux

Hi,

I'm trying to EFI boot Arch with grub2 on my original MacBook (32-bit Core Duo). I installed grub2 according to the wiki, and the grub2 shell loads fine from rEFIt (I didn't bother making a config file at this point since I'm still tinkering around). Anyway, I use the following sequence of commands at the shell:

insmod efi_uga
insmod font
set debug=fb
set root=(hd0,gpt5)
linux /boot/kernel-2.6.39 root=/dev/sda5 ro
boot

Some additional information:

Everything is installed on a single ext4 partition, /dev/sda5. I've also tried copying the kernel to my EFI partition and booting from there, but no matter what I do, as soon as I type the boot command it flashes "Booting however" for a moment and then immediately reboots the MacBook. I've compiled the kernel (2.6.39) with the following options:

CONFIG_EFI=y
CONFIG_FB_EFI=y
CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_EFI_PARTITION=y
CONFIG_EFI_VARS=y

I installed grub2 from the repo: http://www.archlinux.org/packages/extra … -efi-i386/

Any help or insight would be greatly appreciated.

Last edited by John A (2011-05-21 15:57:26)

Offline

#2 2011-05-21 13:33:48

skodabenz
Banned
From: Tamilnadu, India
Registered: 2010-04-11
Posts: 382

Re: grub2 reboots whenever I try to boot Linux

Add 'noefi' to kernel command line

insmod efi_uga
insmod font
loadfont ${prefix}/unicode.pf2

insmod gfxterm
set gfxmode=auto
set gfxpayload=keep
terminal_output gfxterm

set debug=fb
set root=(hd0,gpt5)
linux /boot/kernel-2.6.39 root=/dev/sda5 ro noefi
boot

PS: Please use code tags.

Last edited by skodabenz (2011-05-21 13:38:02)


My new forum user/nick name is "the.ridikulus.rat" .

Offline

#3 2011-05-22 18:57:32

John A
Member
Registered: 2011-05-21
Posts: 2

Re: grub2 reboots whenever I try to boot Linux

noefi did the trick... thanks!

Offline

Board footer

Powered by FluxBB