Jump to content











Photo
- - - - -

Hardware Detection Tool (HDT)


  • Please log in to reply
13 replies to this topic

#1 Icecube

Icecube

    Gold Member

  • Team Reboot
  • 1,047 posts
  •  
    Belgium

Posted 09 May 2009 - 04:38 PM

HDT (for "Hardware Detection Tool") is a Syslinux com32 module designed to display low-level information for any x86 compatible system.

HDT can inspect multiple subsystems:

  • CPU (via cpuid)
  • PCI
  • DMI

  • Memory modules
  • BIOS
  • Motherboard
  • IPMI base board
  • Chassis
  • Batteries
  • CPU

  • Disks (work in progress)
  • Syslinux
  • Linux Kernel modules needed by this host
  • PXE environment
  • VESA
  • ...

HDT runs directly on the SYSLINUX bootloader. So it doesn't need to boot first into an operating system like DOS, linux or Windows.

http://syslinux.zyto.....tection_Tool)

Because there isn't a genaral bootloader subforum (only grub4dos, not syslinux), I post it here.

#2 maanu

maanu

    Gold Member

  • Advanced user
  • 1,125 posts
  •  
    Pakistan

Posted 09 May 2009 - 06:43 PM

any chance of using it with grub4dos ? :D

#3 Icecube

Icecube

    Gold Member

  • Team Reboot
  • 1,047 posts
  •  
    Belgium

Posted 09 May 2009 - 06:58 PM

It won't work with grub4dos, because HDT relies on functions provided by syslinux itself. It won't work (will never work) with grub4dos (unless grub4dos will mimic all functions of syslinux, which will be very unlikely).

#4 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7,100 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 09 May 2009 - 07:34 PM

But one can always chainload a (minimal) syslinux based image, containing the tool.

jaclaz

#5 maanu

maanu

    Gold Member

  • Advanced user
  • 1,125 posts
  •  
    Pakistan

Posted 09 May 2009 - 07:49 PM

But one can always chainload a (minimal) syslinux based image, containing the tool.

jaclaz


syslinux based image ? :D

can u explain it plzz ? i mean chainloading it from grub4dos :D

#6 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7,100 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 09 May 2009 - 08:00 PM

syslinux based image ? :D

can u explain it plzz ? i mean chainloading it from grub4dos :D


  • Make a syslinux floppy image.
  • Add this HDT thingy.
  • Compress it (optionally) with gzip.
  • Load it through grub4dos mapping.

Alternatively:
  • Make a syslinux floppy image.
  • Add this HDT thingy.
  • Compress it (optionally) with gzip or zip.
  • Load it through grub4dos and memdisk.

jaclaz

#7 Icecube

Icecube

    Gold Member

  • Team Reboot
  • 1,047 posts
  •  
    Belgium

Posted 09 May 2009 - 08:03 PM

You can even make an iso image which contains isolinux.bin, a isolinux.cfg with the correct content and the hdt.c32 module.

It should work with pxelinux and extlinux too.

#8 steelbone

steelbone

    Frequent Member

  • Advanced user
  • 123 posts
  •  
    Austria

Posted 25 June 2009 - 06:53 PM

Hi guys :lol:

if somebody is creating such a nice script i would be very glad ;)

Regards

Steel

#9 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7,761 posts

Posted 27 June 2009 - 03:02 PM

Could this tool be used to switch automatcly between a uniprocessor - and a multiprocessor build?

:lol:

#10 Sha0

Sha0

    WinVBlock Dev

  • Developer
  • 1,672 posts
  • Location:reboot.pro Forums
  • Interests:Booting
  •  
    Canada

Posted 04 August 2009 - 01:52 PM

MedEvil: Not really... If the code allows for a determination of uniprocessor versus multiprocessor, then that code could most certainly be adapted to create a custom COM32 module which could likely accomplish your needs, such as booting a floppy image with NTLDR and a BOOT.INI which specifies the correct NT HAL and kernel on it. That was an assumption of your needs. :idea: If you could verify whether or not you can tell if your system is uniprocessor or multiprocessor using this tool, please let us know. - Sha0

#11 Icecube

Icecube

    Gold Member

  • Team Reboot
  • 1,047 posts
  •  
    Belgium

Posted 22 August 2009 - 07:38 PM

HDT v0.3.4 is out:
http://www.boot-land...?showtopic=8806

#12 Icecube

Icecube

    Gold Member

  • Team Reboot
  • 1,047 posts
  •  
    Belgium

Posted 21 December 2009 - 05:11 PM

@ Sha0 and MedEvil
Get Syslinux 3.84 or later and use /com32/modules/ifcpu.c32.
* ifcpu.c

 *

 * Run one command (boot_entry_1) if the booted system match some CPU features

 * and another (boot_entry_2) if it doesn't.

 * Eventually this and other features should get folded into some kind

 * of scripting engine.

 *

 * Usage:

 *

 *	label test

 *		com32 ifcpu.c32

 *		append <option> <cpu_features> -- boot_entry_1 -- boot_entry_2

 *	label boot_entry_1

 *		  kernel vmlinuz

 *		  append ...

 *	label boot_entry_2

 *		kernel vmlinuz_64

 *		append ...

 *

 * options could be &#58;

 *	debug	 &#58; display some debugging messages

 *	dry-run   &#58; just do the detection, don&#39;t boot

 *

 * cpu_features could be&#58;

 *	64		&#58; CPU have to be x86_64 compatible

 *	hvm	   &#58; Processor must have hardware virtualization &#40;hvm or svm&#41;

 *	multicore &#58; Processor must be multi-core

 *	smp	   &#58; System have to be SMP

 *

 * if you want to match many cpu features, just separate them with a single space

syslinux.cfg:
LABEL win_single_multi_core

COM32 ifcpu.c32

APPEND multicore -- multi_core -- single_core



# Here goes your command line for launching the multi core windows environment &#40;Image with correct contents for boot.ini&#41;

LABEL multi_core

LINUX memdisk

INITRD multi_core.img

APPEND raw



# Here goes your command line for launching the multi core windows environment &#40;Image with correct contents for boot.ini&#41;

LABEL single_core

LINUX memdisk

INITRD single_core.img

APPEND raw


#13 Icecube

Icecube

    Gold Member

  • Team Reboot
  • 1,047 posts
  •  
    Belgium

Posted 04 February 2011 - 12:57 AM

HDT 0.4.0 is out:

The 0.4.0 release of HDT is now available. Since the beta1, the following
changes have been done :

* Adding BOOT ACPI table detection
* Adding SLIC ACPI table detection
* Adding MCFG ACPI table detection
* Adding TCPA ACPI table detection
* Adding HPET ACPI table detection
* Displaying FACS table in GUI mode
* Fixing ACPI structure initialisation
* Don't shrink CPU model name
* Parsing RSDP if XSDT is null (HDT under KVM now reports ACPI tables)
* Fixing ACPI return codes (avoid false positive cases)

Downloads and info about hdt 0.4.0 can be found on the specific page of this
release : https://www.hdt-proj.../wiki/hdt-0.4.0

Thanks for using HDT,
Erwan

PS: If you, users, need some specific options/features for the incoming
releases, please let us know what's the most important for you.



#14 bilou_gateux

bilou_gateux

    Frequent Member

  • Expert
  • 208 posts
  •  
    France

Posted 10 November 2012 - 04:40 PM

i haven't found info on wiki page to add entry HDT to cfg file.

but this info here: https://wiki.archlin...ex.php/Syslinux


/boot/syslinux/syslinux.cfg

LABEL hdt

		 MENU LABEL Hardware Info

		 COM32 hdt.c32






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users