[Syslinux-patches] [PULL] MBR/bootloader detection for HDT

Pierre-Alexandre Meyer pierre at mouraf.org
Wed Aug 26 21:46:10 PDT 2009

Hi Erwan,

  Please consider pulling my bootloader-detection branch for 0.3.5-pre1.
It implements MBR and Bootloader detection in both the CLI and menu.

The branch also has a few patches to improve user experience, these were
based on feedback from Gert Hulselmans.

Pull request below.


Pierre-Alexandre Meyer

The following changes since commit b7ec0f07b339aed8bd2b8da3603b0ee9a6a7417a:
  Pierre-Alexandre Meyer (1):
        hdt: enhance error reporting in the CLI (disk)

are available in the git repository at:

  git://git.zytor.com/users/pam/hdt-pierre.git bootloader-detection

Pierre-Alexandre Meyer (21):
      hdt: fix CLI crash when parsing unsupported geometries
      hdt: make get_error behaves like perror
      hdt: enhance error reporting in the CLI (disk)
      gpllib: add bootloader detection
      hdt: detect bootloader ids when probing disks
      gpllib: bootloader id should be uint16_t
      hdt: print bootloader name (CLI)
      gpllib: fix compilation warning (disk/bootloaders.h)
      hdt: print bootloader name (menu)
      hdt: fix bootloader entry alignment
      hdt: tweak bootloader display (menu)
      hdt: enhance user experience (CLI)
      gpllib: fix comment
      hdt: enhance user experience (CLI) - try harder
      hdt: right-align information about each disk (CLI)
      gpllib: use four bytes to discover the MBR
      gpllib: rename bootloader detection to MBR detection
      gpllib: rename __BOOTLOADERS_H_ to __MBRS_H_ in mbrs.h
      gpllib: add bootloader detection
      hdt: add bootloader detection (CLI)
      hdt: add bootloader detection (menu)

 com32/gplinclude/disk/bootloaders.h |   18 ++++++++
 com32/gplinclude/disk/errno_disk.h  |    3 -
 com32/gplinclude/disk/mbrs.h        |   18 ++++++++
 com32/gpllib/disk/bootloaders.c     |   46 +++++++++++++++++++
 com32/gpllib/disk/error.c           |    9 ++--
 com32/gpllib/disk/mbrs.c            |   82 +++++++++++++++++++++++++++++++++++
 com32/hdt/hdt-cli-disk.c            |   65 ++++++++++++++++++----------
 com32/hdt/hdt-common.c              |   11 ++---
 com32/hdt/hdt-common.h              |    9 +++-
 com32/hdt/hdt-menu-disk.c           |   40 +++++++++++++----
 com32/hdt/hdt-menu.c                |    2 +-
 com32/hdt/hdt-menu.h                |    2 +-
 12 files changed, 254 insertions(+), 51 deletions(-)
 create mode 100644 com32/gplinclude/disk/bootloaders.h
 create mode 100644 com32/gplinclude/disk/mbrs.h
 create mode 100644 com32/gpllib/disk/bootloaders.c
 create mode 100644 com32/gpllib/disk/mbrs.c

More information about the Syslinux-patches mailing list