Extract DSDT using Ubuntu Live CD

Posted: 13/02/2012 in Tweaks

The process of setting up an optimised hackintosh requires the extraction, de-compilation, editing and re-compilation of the computer’s DSDT table. The extraction process itself is extremely easy, using Ubuntu’s Live CD and just typing one command in Terminal. However, it seems that since Ubuntu v11.x the syntax of this command had drastically changed.

After installing Ubuntu on a USB flash disk for this purpose, using the excellent Universal USB Installer tool, open up a terminal session and type the following command (assuming you will later copy the generated/extracted file from the Desktop to another FAT-32 formatted USB flash disk):

cd ~/Desktop
sudo cat /sys/firmware/acpi/tables/DSDT > DSDT.aml

For those of you still using Ubuntu Live CD v9.x and v10.x, just type:

cd ~/Desktop
sudo cat /proc/acpi/dsdt > DSDT.aml

This extracted file can later be de-compiled using iasl and edited according to various guides (such as those found over at InsanelyMac). But if you definitely need to obtain such a text-version of this file, you can install iasl and de-compile it as easily:

sudo apt-get install iasl

…wait while it loads from the Internet and installs (obviously your network card must be properly detected and working) and then type:

iasl -d DSDT.aml

The resulting file will be called DSDT.dsl and will also be placed in ~/Desktop/ which can be edited with a simple (but good enough) visual text editor.

Thanks to user AsereBLN for his original article back in October 2009, when I started exploring Mac OS X outside my iMac.

Happy patching!

  1. swarmster says:

    […] Otherwise I’ll try extracting the DSDT in Ubuntu (link) and hope for the best. […]

  2. […] First make your DSDT.aml, I have used this methode for my asus here […]

  3. […] and install ubuntu on usb key (1GB is enough) then go here and type the command in terminal. It’s easy good luck. […]

  4. […] OK you make a USB stick install with MyHack first. Save you DSDT with this method link. Now you have a brut DSDT not 100 % functional but have a DSDT […]

  5. […] make your DSDT with this method (link). Create your USB stick with MyHack and copy your DSDT in the Extra folder […]

  6. Hp dv6-6c02 says:

    […] Create your own USB stick with MyHack and a virtual machine in seven. Extract your DSDT with this method (link) […]

  7. […] BTW, if you install chimera I don’t think you’ll mess up anything. Or you can follow these instruction to extract dsdt with Ubuntu live cd. […]

  8. […] FPT for patching and flashing BIOS (registration required) – Latest Zotac bios – Ubuntu Live cd to extract fresh DSDT- UniBeast for Mountain Lion and MultiBeast for Mountain Lion (registration required) […]

  9. […] Pour ton processeur, comme la dit Lacedaemon, il va falloir te faire ton DSDT, suite ce tuto, c’est celui que j’avais suivit, il te faudra un ubuntu live mais ├ža ce fait bien et en plus rien besoin d’installer […]

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s