Tue 06 Jan 2015 03:22:46 PM UTC, original submission:
I install Win7 in vmware,and the firmware is efi
I download the code of grub2 from git,compile and then mkimage like this:
/usr/local/grub2b2/bin/grub-mkimage -O x86_64-efi -o ORMLdr.efi -m memdisk newc normal font fat ntfs iso9660 loopback part_gpt cpio font memdisk search linux boot chain ata pata scsi gfxterm efi_gop efi_uga usb ehci ohci at_keyboard usb_keyboard
but it can't boot.(It works with the code of grub 2.00)
I type ls,there is only (memdisk) and nothing else.
I've try to insmod every module,but it dosen't work.
And then I found that if the module pata(or ehci/uhci/ohci) is buildin with grub-mkimage,this will happen.
At last, I exclude modules like this,and it works:
/usr/local/grub2b2/bin/grub-mkimage -O x86_64-efi -o ORMLdr.efi -m memdisk newc normal font fat ntfs iso9660 loopback part_gpt cpio font memdisk search linux boot chain gfxterm efi_gop efi_uga
The code infomation is here:
SHA1 ID:bac5d1a64ab4191058a8fd4c05f6b3b339e249e7
Author: Andrei Borzenkov <arvidjaar@gmail.com> 2014-12-10 02:41:49
Committer: Andrei Borzenkov <arvidjaar@gmail.com> 2014-12-10 02:56:39
Parent: 17328db3b33d67f2e5365fcb123d41aacc7ab16b (grub-core/kern/arm/misc.S: fix unaligned grub_uint64_t local variable)
Child: 0000000000000000000000000000000000000000 (Local uncommitted changes, not checked in to index)
Branches: master, remotes/origin/master
Follows: grub-2.02-beta2
Precedes:
Fix serial --rtscts option processing
|