{"id":3142,"date":"2011-09-27T18:33:03","date_gmt":"2011-09-27T15:33:03","guid":{"rendered":"http:\/\/mummila.net\/nuudelisoppa\/?p=3142#post-"},"modified":"2011-09-27T18:34:49","modified_gmt":"2011-09-27T15:34:49","slug":"hard-disk-password-feature-for-the-asus-m4a78-em-under-ubuntu-linux","status":"publish","type":"post","link":"https:\/\/mummila.net\/nuudelisoppa\/2011\/09\/27\/hard-disk-password-feature-for-the-asus-m4a78-em-under-ubuntu-linux\/","title":{"rendered":"Hard Disk Password feature for the Asus M4A78-EM (under Ubuntu Linux)"},"content":{"rendered":"<p>The Asus M4A78-EM&#8217;s native AMIBIOS, like most desktop BIOSes, lacks support for ATA security features. Under such a BIOS, disks with built-in encryption that relies on ATA security can only function as normal hard disks.<\/p>\n<p><a href=\"http:\/\/www.fitzenreiter.de\/ata\/ata_eng.htm\">The ATA Security eXtension BIOS<\/a> is a BIOS extension that provides what the name says: the ATA security features for a BIOS previously lacking them. It can be added onto the M4A78-EM&#8217;s BIOS; I did it, and I figured I might as well document the process in case someone else is considering doing the same.<\/p>\n<p>Flashing firmware is never a simple task, and if you screw it up, you might end up with your motherboard in need of costly repair. So please, <strong>do not attempt this if you&#8217;re in the slightest unsure of what you&#8217;re doing<\/strong>. And if you <em>do<\/em> attempt this, make sure you <em>do<\/em> know what you&#8217;re doing each step of the way.<\/p>\n<p>I did this using Ubuntu 10.04.1, with Wine 1.2.3 from the <a href=\"https:\/\/launchpad.net\/~ubuntu-wine\/+archive\/ppa\">Ubuntu Wine Team&#8217;s PPA<\/a>. The steps shouldn&#8217;t differ much if you&#8217;re using another OS, just as long as you can run the necessary (Microsoft Windows) apps.<\/p>\n<p>The general steps are<\/p>\n<ol>\n<li>get your existing BIOS ROM file either from Asus&#8217; website or by other means<\/li>\n<li>download and unpack the extension package<\/li>\n<li>download and unpack MMTool<\/li>\n<li>configure the extension<\/li>\n<li>run MMTool and replace the existing ethernet ROM with the extension<\/li>\n<li>flash the resulting BIOS ROM file onto the motherboard<\/li>\n<\/ol>\n<p>The specifics for each step are:<\/p>\n<ol>\n<li>Download the BIOS you want to add the extension to. I was running the latest currently published revision 2101 (dated 31.12.2010) for the <a href=\"http:\/\/www.asus.com\/Motherboards\/AMD_AM2Plus\/M4A78EM\/\">M4A78-EM from Asus<\/a>, so I grabbed that and unpacked the .ROM file from it.<\/li>\n<li>Download the <a href=\"http:\/\/www.fitzenreiter.de\/ata\/ata_eng.htm\">ATA Security eXtension<\/a> from the official website. I used v2.11 (dated 8.8.2006), the latest at the time. Unpack it.<\/li>\n<li>Download <a href=\"http:\/\/www.softpedia.com\/get\/System\/System-Info\/MMTool.shtml\">MMTool<\/a>. I used 3.19 (dated 19.1.2009), the latest at the time. Unpack it.<\/li>\n<li>Configure the extension. For this, in Ubuntu, you&#8217;ll need to use <a href=\"https:\/\/secure.wikimedia.org\/wikipedia\/en\/wiki\/Dosbox\">DOSBox<\/a>.\n<ol>\n<li>Using the command-line, change to the extension&#8217;s directory and run <code>dosbox .<\/code><\/li>\n<li>Inside DOSBox, run <code>BROMCFG.EXE ATASX.ROM<\/code><\/li>\n<li>Answer Y to change configuration.<\/li>\n<li>Answer P for PCI-ROM.<\/li>\n<li>Answer 10EC for Vendor ID. (This is Realtek&#8217;s ID.)<\/li>\n<li>Answer 8168 for Device ID. (This is the M4A78-EM&#8217;s Ethernet adapter&#8217;s ID.)<\/li>\n<li>Answer 020000 for PCI device type. (This is an Ethernet device.)<\/li>\n<li>Answer questions about default and setup password as well as delay for Ctrl+S according to you needs.<\/li>\n<li>Exit DOSBox by typing <code>exit<\/code><\/li>\n<\/ol>\n<\/li>\n<li>\n<ol>\n<li>Start MMTool (with the help of Wine).<\/li>\n<li>Select &#8216;Load ROM&#8217;. Select the BIOS ROM file you acquired at step 1.<\/li>\n<li>Go to the &#8216;Delete&#8217; tab. From the list at the bottom, select the PCI Option ROM with &#8216;RunLoc&#8217; 10EC:8168 (the Ethernet ROM).<\/li>\n<li>Select &#8216;Delete&#8217;. The list should refresh itself.<\/li>\n<li>Go back to the &#8216;Insert&#8217; tab.<\/li>\n<li>Select &#8216;Browse&#8217;. Select the ATASX.ROM file configured at main step 4.<\/li>\n<li>For &#8216;Module ID&#8217;, enter 20. For &#8216;Offset\/VID&#8217;, enter 10EC. For &#8216;Seg.\/DID&#8217;, enter 8168.<\/li>\n<li>Select &#8216;Insert&#8217;. The list should refresh itself again. Make sure that it again has a &#8216;PCI Option ROM&#8217; with the &#8216;RunLoc&#8217; 10EC:8168.<\/li>\n<li>Save the new BIOS ROM file with either &#8216;Save ROM&#8217; or &#8216;Save ROM as&#8230;&#8217;.<\/li>\n<li>Exit MMTool.<\/li>\n<\/ol>\n<\/li>\n<li>Flash the BIOS ROM file you saved in MMTool with your flashing tool of choice. I used <a href=\"http:\/\/en.wikipedia.org\/wiki\/Flashrom\">Flashrom<\/a>.<\/li>\n<\/ol>\n<p><strong>Final note<\/strong>: once you have the new ROM file in, you&#8217;ll need to enable &#8216;Onboard LAN Boot ROM&#8217; in your BIOS settings for the extension to kick in during boot.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Asus M4A78-EM&#8217;s native AMIBIOS, like most desktop BIOSes, lacks support for ATA security features. Under such a BIOS, disks with built-in encryption that relies on ATA security can only function as normal hard disks. The ATA Security eXtension BIOS is a BIOS extension that provides what the name says: the ATA security features for [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[11955],"class_list":["post-3142","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-asus"],"_links":{"self":[{"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/posts\/3142","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/comments?post=3142"}],"version-history":[{"count":11,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/posts\/3142\/revisions"}],"predecessor-version":[{"id":3152,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/posts\/3142\/revisions\/3152"}],"wp:attachment":[{"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/media?parent=3142"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/categories?post=3142"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/tags?post=3142"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}