[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Loading different kernels based on platform identification (DMI)

From: Rajat Jain
Subject: Loading different kernels based on platform identification (DMI)
Date: Fri, 23 Jan 2015 14:44:59 +0000


I have a case of a hot-pluggable USB stick that can be put in multiple systems 
to boot. The USB stick has grub installed and a couple of different kernels.

My Goal is to write a grub script that:
- determines the platform type (by consulting the DMI / SMBIOS data). I have 
verified that the BIOS passes the system identification correctly via the DMI 
(by dumping in linux).
- based on the platform type, loads a particular kernel.

My Question:
How can I read DMI data in a grub script. Specifically, I'm looking at getting 
data such as System information, BIOS version, etc.

I did look at the grub manual 
( as well as the commands 
available in my grub but could not find any reference to how I could do the 

Any help or pointers shall be appreciated.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]