1. 27 Dec, 2015 1 commit
    • Andrei Borzenkov's avatar
      devmapper: check for valid device abstraction in get_grub_dev · 3bca85b4
      Andrei Borzenkov authored
      This was lost when code was refactored. Patch restores previous behavior.
      
      It is still not clear whether this is the right one. Due to the way we
      detect DM abstraction, partitions on DM are skipped, we fall through to
      generic detection which ends up in assuming parent device is BIOS disk.
      
      It is useful to install GRUB on VM disk from the host. But it also means
      that GRUB will mistakenly allow install on real system as well.
      
      For now let's fix regression; future behavior needs to be discussed.
      
      Closes: 45163
      3bca85b4
  2. 26 Jun, 2015 1 commit
  3. 13 May, 2015 1 commit
  4. 27 Mar, 2015 1 commit
    • Steve McIntyre's avatar
      Recognize EFI platform even in case of mismatch between Linux and EFI. · 1a33de8b
      Steve McIntyre authored
      Some x86 systems might be capable of running a 64-bit Linux kernel but
      only use a 32-bit EFI (e.g. Intel Bay Trail systems). It's useful for
      grub-install to be able to recognise such systems, to set the default
      x86 platform correctly.
      
      To allow grub-install to know the size of the firmware rather than
      just the size of the kernel, there is now an extra EFI sysfs file to
      describe the underlying firmware. Read that if possible, otherwise
      fall back to the kernel type as before.
      Signed-off-by: 's avatarSteve McIntyre <steve@einval.com>
      1a33de8b
  5. 27 Jan, 2015 6 commits
  6. 26 Jan, 2015 2 commits
  7. 21 Jan, 2015 1 commit
  8. 04 Apr, 2014 1 commit
  9. 26 Jan, 2014 1 commit
  10. 24 Dec, 2013 1 commit
  11. 21 Dec, 2013 2 commits
  12. 17 Dec, 2013 2 commits
  13. 05 Dec, 2013 2 commits
    • Colin Watson's avatar
      Pacify compiler warning · 59b38922
      Colin Watson authored
      * grub-core/osdep/linux/hostdisk.c
      (grub_util_find_partition_start_os): Initialise start to avoid
      spurious compiler warning.
      59b38922
    • Colin Watson's avatar
      On Linux, read partition start offsets from sysfs if possible · 0480665b
      Colin Watson authored
      This lets us cope with block device drivers that don't implement
      HDIO_GETGEO.  Fixes Ubuntu bug #1237519.
      
      * grub-core/osdep/linux/hostdisk.c (sysfs_partition_path): New
      function.
      (sysfs_partition_start): Likewise.
      (grub_util_find_partition_start_os): Try sysfs_partition_start
      before HDIO_GETGEO.
      0480665b
  14. 29 Nov, 2013 1 commit
  15. 17 Nov, 2013 1 commit
  16. 03 Nov, 2013 2 commits
  17. 02 Nov, 2013 1 commit
  18. 28 Oct, 2013 2 commits
  19. 19 Oct, 2013 2 commits
  20. 15 Oct, 2013 2 commits
  21. 14 Oct, 2013 2 commits
  22. 09 Oct, 2013 2 commits
  23. 08 Oct, 2013 3 commits