grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: grub efi boot hangs


From: Rajasekhar Pulluru
Subject: Re: grub efi boot hangs
Date: Thu, 18 Apr 2013 20:53:01 +0530

Used below commands to install grub:

1)
/usr/local/grub/sbin/grub-install --target=x86_64-efi --efi-directory=/boot/efi --boot-directory=/boot/efi/EFI

2) As mentioned in https://wiki.archlinux.org/index.php/GRUB2 Section: Create GRUB2 Standalone UEFI Application:
/usr/local/grub/bin/grub-mkstandalone --directory="/usr/local/grub/lib/grub/x86_64-efi/" --format="x86_64-efi"  --output="/boot/efi/EFI/grub/grubx64_standalone.efi" "grub.cfg"

It would be helpful to know why netbsd partition is not readable though its listed in ls.

Thanks & Regards,
Rajasekhar



On Thu, Apr 18, 2013 at 8:39 PM, Vladimir 'φ-coder/phcoder' Serbinenko <address@hidden> wrote:
Keep list CC'ed
On 18.04.2013 17:00, Rajasekhar Pulluru wrote:

> Hi Vladimir,
>
> As you suggested, built grub efi from latest bzr grub and installed it.
> when I execute grubx64.efi it complains "error: variable `prefix' isn't
> set." and hangs.
>
> There was grub standalone image (grubx64_standalone.efi) that got
> installed along with grubx64.efi, which when started doesn't report any
> problem and could get to grub> prompt. With this, I could boot Linux
> (from msdos partition) and could see kernel messages.
>

We don't install such a binary. How did you do an installation?

> But, in this grub, I couldn't access netbsd partition even though
> part_bsd module is loaded. It complains "error: no such partition." when
> I try to execute grub> ls (hd1,netbsd1)/.
> grub> ls (output of this displays (hd1,netbsd1), (hd1,msdos1) ...)
> Does it required to load any other modules other than part_bsd to read
> netbsd partiton?
>
> Appreciate your help.
>
> Thanks & Regards,
> Rajasekhar
>
>
>
>
>
>
> On Fri, Apr 12, 2013 at 9:25 PM, Vladimir 'φ-coder/phcoder' Serbinenko
> <address@hidden <mailto:address@hidden>> wrote:
>
>
>     Keep the list CC'ed
>     On 12.04.2013 17:48, Rajasekhar Pulluru wrote:
>
>     > Hi Vladimir,
>     >
>     > I could boot linux using efi lilo and console messages are thrown from
>     > linux on booting. I see issues  only with grub efi.
>     > It would be really great if you could provide us a method to get
>     kernel
>     > messages on console with efi grub.
>
>     GRUB doesn't control linux messages. It's all in parameters
>     (early_printk and console)
>     Also it's strange to hear a feature request from someone who doesn't ven
>     use latest version.
>
>     >
>     > Thanks & Regards,
>     > Rajasekhar
>     >
>     >
>     >
>     > On Fri, Apr 12, 2013 at 1:56 PM, Rajasekhar Pulluru
>     > <address@hidden <mailto:address@hidden>
>     <mailto:address@hidden
>     <mailto:address@hidden>>> wrote:
>     >
>     >     Hi Vladimir,
>     >
>     >     My system doesn't have video card. It only has serial console
>     port.
>     >     Would I be able to get kernel boot messages on serial console with
>     >     grub-efi?
>     >
>     >     Thanks & Regards,
>     >     Rajasekhar
>     >
>     >
>     >     On Thu, Apr 11, 2013 at 8:43 PM, Vladimir 'φ-coder/phcoder'
>     >     Serbinenko <address@hidden <mailto:address@hidden>
>     <mailto:address@hidden <mailto:address@hidden>>> wrote:
>     >
>     >         On 11.04.2013 16:15, Rajasekhar Pulluru wrote:
>     >
>     >         > 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.
>     >         >
>     >
>     >         Try 2.00 or bzr.
>     >
>     >         > 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?
>     >
>     >         on efi default and only option is gfx console. On i386-pc
>     >         default is VGA
>     >         text
>     >
>     >         > 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
>     >         > address@hidden <mailto:address@hidden>
>     <mailto:address@hidden <mailto:address@hidden>>
>     >         > https://lists.gnu.org/mailman/listinfo/grub-devel
>     >
>     >
>     >
>     >
>     >         _______________________________________________
>     >         Grub-devel mailing list
>     >         address@hidden <mailto:address@hidden>
>     <mailto:address@hidden <mailto:address@hidden>>
>     >         https://lists.gnu.org/mailman/listinfo/grub-devel
>     >
>     >
>     >
>
>
>
>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]