Hi Does subject exist? Is it possible to get MAC address, video card, RAM and the storage of a harddrive by using comboot? And can some one help me? /Kenneth
On Wed, Mar 01, 2006 at 11:07:10PM +0100, Kenneth Vandb?k wrote:> HiHello,> Does subject exist? > Is it possible to get MAC address, video card, RAM > and the storage of a harddrive by using comboot?AFAIK has it never been done before, so you could be the first one who accomplies it ... But why in comboot?> And can some one help me?My advice is to use syslinux as a bootloader and a small Linux for reporting the hardware.> /KennethI hope that this E-mail does help. Geert Stappers
Murali Krishnan Ganapathy
2006-Mar-02 15:30 UTC
[syslinux] Samples files for comboot and default
Geert Stappers wrote:> On Wed, Mar 01, 2006 at 11:07:10PM +0100, Kenneth Vandb?k wrote: > >> Hi >> > Hello, > > > >> Does subject exist? >> Is it possible to get MAC address, video card, RAM >> and the storage of a harddrive by using comboot? >> > > AFAIK has it never been done before, > so you could be the first one who accomplies it ... > > But why in comboot? >It one can find this info at COMBOOT level, then one can do some nice things. E.g. if there is more than 4GB of memory, then call the linux kernel compiled for 4GB+ memory. But I dont know about video card since they can be done after one has booted into the kernel (before X comes up).> > >> And can some one help me? >> > > My advice is to use syslinux as a bootloader > and a small Linux for reporting the hardware. > > > >> /Kenneth >> > > > I hope that this E-mail does help. > Geert Stappers > > _______________________________________________ > SYSLINUX mailing list > Submissions to SYSLINUX at zytor.com > Unsubscribe or set options at: > http://www.zytor.com/mailman/listinfo/syslinux > Please do not send private replies to mailing list traffic. > > >
Kenneth Vandb?k wrote:> Hi > > Does subject exist? > Is it possible to get MAC address, video card, RAM and the storage of a harddrive by using comboot? And can some one help me? >Yes, at least for the primary harddrive (beyond that it gets messy, and is probably better done from Linux.) Finding the types of harddisk *controllers*, though, is pretty easy as long as it's PCI (and not, say USB) -- just walk the device tree. MAC address is available from the PXE stack; video card and disk controller from the PCI device tree; RAM from BIOS interrupt 15h AX=0E820h and hard disk size from BIOS interrupt 13h, all of which are accessible from comboot. Right now there is no support in comboot to walk for example USB device trees (although you could always assume usb-storage and 1394 storage should be loaded up, of course.) That's partially because USB and Firewire enumeration is a *lot* more complex than PCI enumeration. -hpa