LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-06-2009, 02:58 PM   #1
John Musbach
LQ Newbie
 
Registered: Sep 2008
Posts: 5

Rep: Reputation: 0
Question Raw bios dump using dd


How would you do this for a 512K bios? Thanks!
 
Old 12-07-2009, 01:30 PM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
Well, since the BIOS is really just a chunk of memory, and dd operates on devices, you will need some way to make memory look like a device. Luckily, we have /dev/mem which does just that. Next you need to know where in the CPU memory map the BIOS is located. My belief is that it is mapped to the top 512K of the 32-bit address space (4GB). This may be architecture-dependent, and since you didn't specify the architecture, I will assume you already know at what address to look.
Code:
dd if=/dev/mem seek=$BIOS_OFFSET of=/some/file/to/save/BIOS bs=512K
The above will require root privileges, of course.
--- rod.
 
Old 11-02-2011, 08:47 PM   #3
masuch
Member
 
Registered: Sep 2011
Location: /dev/null
Distribution: ubuntu 64bits
Posts: 135

Rep: Reputation: 1
thanks , useful for me.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Could anybody dump a Toshiba Tecra M4 BIOS into file? agentgates Linux - Laptop and Netbook 10 08-23-2009 08:55 AM
dump sector of raw device? Red Squirrel Linux - Software 1 07-06-2008 02:46 PM
Mounting a raw dump (using dd) of a removable media spamwax Linux - Software 6 05-28-2008 02:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration