Page 1 of 1

Changung the BIOS setting from linux

Posted: Wed Feb 24, 2010 7:54 am
by sanjeeb
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?

Re: Changung the BIOS setting from linux

Posted: Wed Feb 24, 2010 8:40 pm
by cp
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 :)