Changung the BIOS setting from linux

BIOS Questions that don't belong in the other forums. Read them!
Post Reply
sanjeeb
New visitors - please read the rules.
Posts: 1
Joined: Wed Feb 24, 2010 7:48 am

Hi,
Sorry if its already answered or is not worth to answer.
I am trying to update the bios settings from a Linux OS(preferebly with a live image).
The settings i want to change are mostly boot orders, like set the boot order to boot from hard disk, USB, PXE etc.
The options will be provided from the TFTP file and the program would change the setting as per the options set.
e.g change the bootorder to make the USB boot as the first order or boot from a LUN.
Can any one suggest what should be approach for this?
cp
BIOS Guru
Posts: 1914
Joined: Mon Oct 21, 2002 9:07 pm
Location: Germany

you can write the cmos contents from linux. you can access the cmos via sysfs if you've kernel support compiled in for it.
one easy approach would be to make different profiles, save the complete cmos contents and load them back when needed.
you should head over to the guys at coreboot (former linuxbios), too. they have some linux tools that could come in handy :)
Post Reply