[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] x86_64 EFI support for grub2
From: |
Bean |
Subject: |
Re: [PATCH] x86_64 EFI support for grub2 |
Date: |
Thu, 5 Jun 2008 19:40:17 +0800 |
Hi,
Ok, I solve this now, the new patch is capable of booting Linux from
x86_64 EFI. In theory, it should also be able to boot from 32-bit EFI,
but I haven't verified it yet.
You should add root=/dev/sdaX command line so that it can find the
root partition. After booting, it may seem hang, just give it some
time, it could still be running. After a short while, you should see a
scramble screen, that's it, linux have started !
The reason of scramble screen is that it can't find the proper frame
buffer driver, you can add the following line to .config
CONFIG_FB_IMAC="y"
and recompile the kernel. You should also add parameter like
"video=fbimac:macbook" to the command line. For more information,
check out Documentation/fb/imac.txt in the kernel source.
BTW, you need 2.6.25 if you are using x86_64 firmware. 2.5.24 is not
working ! It actually cause me a lot of time to figure this out.
--
Bean
efi_2.diff
Description: Text Data