[bug #50834] GRUB 2/x86_64-efi: no drives visible/accessible

2017-04-20 Thread Andrei Borzenkov
Update of bug #50834 (project grub):

  Status:None => Invalid
 Open/Closed:Open => Closed 

___

Follow-up Comment #3:

Image should contain only modules needed to access $prefix; everything else is
loaded from $prefix. For all supported platforms grub-install figures out
needed modules automatically.

___

Reply to this item at:

  

___
  Message sent via/by Savannah
  http://savannah.gnu.org/


___
Bug-grub mailing list
Bug-grub@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-grub


[bug #50834] GRUB 2/x86_64-efi: no drives visible/accessible

2017-04-20 Thread Manuel Lauss
Follow-up Comment #2, bug #50834 (project grub):

Thanks, that fixed it.  I actually thought that I need to add all these
modules to get basic functionality.


___

Reply to this item at:

  

___
  Message sent via/by Savannah
  http://savannah.gnu.org/


___
Bug-grub mailing list
Bug-grub@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-grub


[bug #50834] GRUB 2/x86_64-efi: no drives visible/accessible

2017-04-20 Thread Andrei Borzenkov
Follow-up Comment #1, bug #50834 (project grub):

You should never include modules directly in image except for very special use
cases. Here adding ehci to image disables platform disk driver. Please retest
using 

grub-install --efi-directory=/boot/efi --no-nvram --target=x86_64-efi
--boot-directory=/boot/efi --compress=xz --themes="breeze"

___

Reply to this item at:

  

___
  Message sent via/by Savannah
  http://savannah.gnu.org/


___
Bug-grub mailing list
Bug-grub@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-grub


[bug #50834] GRUB 2/x86_64-efi: no drives visible/accessible

2017-04-20 Thread Manuel Lauss
URL:
  

 Summary: GRUB 2/x86_64-efi: no drives visible/accessible
 Project: GNU GRUB
Submitted by: mlauss
Submitted on: Thu 20 Apr 2017 08:04:26 AM UTC
Category: Filesystem
Severity: Major
Priority: 5 - Normal
  Item Group: Software Error
  Status: None
 Privacy: Public
 Assigned to: None
 Originator Name: Manuel Lauss
Originator Email: manuel.la...@gmail.com
 Open/Closed: Open
 Discussion Lock: Any
 Release: 
 Release: Git master
 Reproducibility: Every Time
 Planned Release: None

___

Details:

GRUB2 git master (d454509bb866d4eaefbb558d94dd0ef0228830eb),
EFI x86-64 system with NVMe drive (m.2 ssd).

GRUB2 can be started by EFI, but it does not see any drives, other than proc:

grub> ls
(proc)
grub>

I'm attaching EFI Shell "dh -d" output as dh.txt.

It's installed to disk this way:

grub-install --efi-directory=/boot/efi --no-nvram --target=x86_64-efi
--boot-directory=/boot/efi --compress=xz --themes="breeze" --modules="efi_gop
linux lsefi boot bitmap bitmap_scale blocklist bufio cat chain cpio ehci elf
ext2 fat file font fshelp gfxmenu gfxterm gfxterm_background gfxterm_menu halt
help jpeg keylayouts loadenv ls multiboot multiboot2 part_gpt part_msdos png
progress read reboot relocator search search_fs_file search_fs_uuid
search_label sleep terminal terminfo usb usb_keyboard usbms xzio video
video_colors video_fb videoinfo datetime disk diskfilter eval extcmd
configfile echo true random regexp videotest terminal terminfo probe procfs
loadenv" /dev/nvme0n1p2

/boot/efi is /dev/nvme0n1p2, which is the ESP.

loading modules does work, i.e. insmod efi_gop and starting a gfxterm does
work fine.




___

File Attachments:


---
Date: Thu 20 Apr 2017 08:04:26 AM UTC  Name: dh.txt  Size: 120kB   By: mlauss
EFI shell dh -d output


___

Reply to this item at:

  

___
  Message sent via/by Savannah
  http://savannah.gnu.org/


___
Bug-grub mailing list
Bug-grub@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-grub