You are not logged in.
I want to boot a kernel image using grub2 from the EFI shell. The USB drive will act as EFI system partition and we are installing grub2 on USB. We have downloaded grub2 and compiled it on x86_64 bit machine using the following commands:
./configure --with-platform=efi --target=x86_64 --prefix=/mnt/
(USB is mounted on /mnt/)
make
make install
modprobe dm-mod
mkdir /mnt/x86_64-boot/
./grub-install --boot-directory=/mnt/x86_64-boot/ --bootloader-id=grub --no-floppy –recheck
After installing grub on USB, I want to copy the Unicode.pf2 font file into the folder where grub.efi is present. I would like to know from where will I get this Unicode.pf2 file? In /mnt/share/x86_64-grub/ folder, there is no such file which gets made in my case?
2) I have made the following entry in grub.cfg file:
insmod efi_gop
insmod efi_uga
insmod font
insmod gfxterm
set gfxmode=auto
set gfxpayload=keep
terminal_output gfxterm
But when I boot from this grub via the EFI shell, the system hangs with absured font “?????” on the screen. If I remove efi_gop and then reboot, the screen displays
“could not find a mode, Booting anyhow” and it hangs.
Could anyone please help?
Regards,
Flash
Last edited by Flash99 (2011-09-27 12:20:12)
Offline
After installing grub on USB, I want to copy the Unicode.pf2 font file into the folder where grub.efi is present. I would like to know from where will I get this Unicode.pf2 file? In /mnt/share/x86_64-grub/ folder, there is no such file which gets made in my case?
Install bdf-unifont package and run
./grub-mkfont -o unicode.pf2 /usr/share/fonts/misc/unifont.bdf
and copy the generated unicode.pf2 file to /mnt/x86_64-boot/grub/ dir.
2) I have made the following entry in grub.cfg file:
insmod efi_gop insmod efi_uga insmod font insmod gfxterm set gfxmode=auto set gfxpayload=keep terminal_output gfxterm
But when I boot from this grub via the EFI shell, the system hangs with absured font “?????” on the screen. If I remove efi_gop and then reboot, the screen displays
“could not find a mode, Booting anyhow” and it hangs.
My new forum user/nick name is "the.ridikulus.rat" .
Offline
Thanks so much for replying skodabenz.
We have followed these steps but were still unable to carry out the task. Apparently there problem was associated with the image we were trying to boot. We then booted a different kernel image and we are now successful.
Thanks once again
Offline