Here are some dd commands:
Read the bios
dd if=/dev/mem bs=1 skip=983040 count=65535 of=bios.bin
Read the bios settings
dd if=/dev/nvram of=nvram.bin
write them back:
dd if=nvram.bin of=/dev/nvram
Research, and re-research if you are going to write to the bios or bios settings, because you can't fix it if you mess
it up.
Reading the bios with dd will do no harm, but writing can ruin it.
You can use dd for writing to hard drives, and for writing iso images to CDs.
With hard drives, and other drives, your worst case senerio is that you loose
your data, and and have to rewrite it.
With motherboards, you are stuck with a bricked motherboard.
Also I think that the newer secure boot motherboards have a little different
addressing.
Theoretically you can use dd to install your own or modified versoion of the bios, but since bioses are sum-checked,
they will fail to boot if the check sum does not match.
Don't just take the above commands and run them, google dd.
Wayne Sallee
[email protected]
On 08/25/2015 03:24 PM, Wayne Sallee wrote:
With Linux, you can use dd.
But writing to your motherboard is very risky.
Wayne Sallee
[email protected]
On 08/24/2015 02:04 AM, Paul Rogers wrote:
In the past I've always had good luck keeping a Live Knoppix CD/DVD
around for the inevitable virgin box I want to talk. Today I found a
"new" version Knoppix-7.2 CD, burned it, booted it in this box to check.
OK. A few hours later I booted my regular (B)LFS-7.2/POD-4.0, and the
onboard NIC was gone. lspci didn't find it. Tried an older system that
hasn't been played with. No NIC. Eventually I went under the covers
and did a hard CMOS reset, and it magically reapeared. (Obviously) Back
in the day I had DOS programs that could save/restore CMOS'. Is there
anything like that for Linux? I've generally had Plug-n-Play OS
enabled in the BIOS. Was that a mistake? I figured Linux would take
control of the HW anyway. Is Debian/Knoppix a "bad actor" now?
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page