All, Booting netbsd & linux kernel from grub-efi-x86_64 hangs. No messages are seen in console after grub boot command .
fs0:\efi\boot>bootx86_64.efi /* skipped grub header */ grub> set root="(hd0,netbsd1)" grub> knetbsd (hd0,netbsd1)/netbsd --serial=0,9600 grub> boot Tried booting 32bit and 64bit kernel, both of them doesn't boot. Grub version is 1.99, haven't tried grub2. When grub is built for i386-pc target, it boots the same kernel properly and kernel console messages are seen. I tried below steps after checking on forums, but that didn't help. insmod efi_gop #already loaded insmod efi_uga #already loaded insmod font #already loaded if loadfont ${prefix}/unicode.pf2 then insmod gfxterm set gfxmode=auto set gfxpayload=keep terminal_output gfxterm fi Would like to know if console used for i386-pc and x86_64-efi are different? Would like to get help to boot kernel successfully with efi. Below is the list of modules loaded in grub. grub> lsmod Name Ref Count Dependencies zfsinfo 1 zfs zfs 2 xzio 1 gcry_crc xnu_uuid 1 gcry_md5 xnu 1 relocator,bitmap,boot,video,normal,extcmd,bitmap_scale xfs 1 fshelp videotest 1 gfxmenu,video,font videoinfo 1 video video_cirrus 1 video_fb,pci,video video_bochs 1 video_fb,pci,video usbtest 1 usb usbserial_pl2303 1 usbserial_common,usb,serial usbserial_ftdi 1 usbserial_common,usb,serial usbserial_common 3 usb,serial usbms 1 usb,scsi usb_keyboard 1 usb,keylayouts uhci 1 pci,usb ufs2 1 ufs1 1 udf 1 fshelp true 1 tga 1 bitmap,bufio test 1 testload 1 test_blockarg 1 normal,extcmd tar 1 sleep 1 normal,extcmd sfs 1 fshelp setpci 1 pci,extcmd setjmp 1 search 1 search_label,extcmd,search_fs_file,search_fs_uuid search_label 2 search_fs_uuid 2 search_fs_file 2 reiserfs 1 fshelp regexp 1 normal,extcmd reboot 1 read 1 raid6rec 1 raid raid5rec 1 raid probe 1 extcmd png 1 bitmap,bufio play 1 password_pbkdf2 1 normal,pbkdf2,gcry_sha512,crypto pbkdf2 2 crypto password 1 normal,crypto part_sunpc 1 part_sun 1 part_gpt 1 part_bsd 1 part_msdos part_msdos 2 part_apple 1 part_amiga 1 part_acorn 1 ohci 1 pci,boot,usb,cs5536 usb 11 pci ntfscomp 1 ntfs ntfs 2 fshelp nilfs2 1 fshelp multiboot 1 mmap,relocator,boot,video multiboot2 1 acpi,mmap,relocator,boot,video msdospart 1 parttool parttool 3 normal minix 1 minix2 1 minicmd 1 memrw 1 extcmd memdisk 1 mdraid1x 1 raid mdraid09 1 raid lvm 1 lssal 1 lspci 1 pci,extcmd ls 1 normal,extcmd lsmmap 1 mmap lsefisystab 1 lsefimmap 1 lsacpi 1 acpi,extcmd loopback 1 extcmd loadenv 1 extcmd loadbios 1 pci linux 1 mmap,relocator,boot,video keystatus 1 extcmd jpeg 1 bitmap,bufio jfs 1 iso9660 1 fshelp iorw 1 extcmd hfsplus 1 fshelp hfs 1 hexdump 1 extcmd help 1 normal,extcmd hello 1 extcmd hdparm 1 extcmd hashsum 1 normal,extcmd,crypto halt 1 acpi gzio 1 gptsync 1 gfxmenu 2 video,bitmap,normal,font,gfxterm,bitmap_scale,trig trig 3 gfxterm 3 video,bitmap,extcmd,font,bitmap_scale gettext 1 gcry_whirlpool 1 crypto gcry_twofish 1 crypto gcry_tiger 1 crypto gcry_sha512 2 crypto gcry_sha256 1 crypto gcry_sha1 1 crypto gcry_serpent 1 crypto gcry_seed 1 crypto gcry_rmd160 1 crypto gcry_rijndael 1 crypto gcry_rfc2268 1 crypto gcry_md5 2 crypto gcry_md4 1 crypto gcry_des 1 crypto gcry_crc 2 crypto gcry_cast5 1 crypto gcry_camellia 1 crypto gcry_blowfish 1 crypto gcry_arcfour 1 crypto font 7 video,bufio fixvideo 1 pci fat 1 ext2 1 fshelp example_functional_test 1 functional_test functional_test 2 extcmd efi_uga 1 video_fb,pci,video efi_gop 1 video_fb,video video_fb 5 video echo 1 extcmd dm_nv 1 raid raid 6 date 1 normal,datetime datehook 1 normal,datetime datetime 3 cs5536 2 pci cpio 1 configfile 1 normal normal 19 boot,extcmd,crypto,terminal terminal 20 crypto 47 cmp 1 chain 1 boot cat 1 extcmd bufio 11 btrfs 1 bsd 1 mmap,relocator,cpuid,boot,aout,video,extcmd,serial,elf elf 2 serial 7 terminfo,extcmd terminfo 8 extcmd video 29 cpuid 2 extcmd relocator 6 mmap blocklist 1 bitmap_scale 7 bitmap bitmap 17 befs 1 fshelp befs_be 1 fshelp at_keyboard 1 boot,keylayouts keylayouts 3 ata_pthru 1 ata ata 2 pci,scsi scsi 4 pci 25 appleldr 1 boot boot 29 aout 2 afs 1 fshelp afs_be 1 fshelp affs 1 fshelp fshelp 16 acpi 4 mmap,extcmd extcmd 69 mmap 16 Thanks & Regards, Rajasekhar
_______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel