May 26 2015

How to access a Bitlocker encrypted Windows disk using Ubuntu 15.04

Today has been one of those days where you think to yourself. “Self, you should have backed up your data more often!”

My work laptop running Windows 8.1 decided to commit suicide. The laptop froze up and when I rebooted I received an error stating that werkernel.sys is missing and it won’t boot in to Windows.
I took the laptop in and IT tried recovering Windows but could not get it repaired. The problem is that we use Bitlocker which meant it would be a challenge to just boot up with a Live Linux Distro and copy off my needed data.

After a few hours I managed to access my Bitlocker encrypted drive using Ubuntu Gnome 15.04. Below are the steps I followed from different articles. Please see the links to the articles below.

1. First you need to find your Bitlocker recovery keys. This is the most important part as without them, well I hope you have a recent backup ūüėČ
2. Click Find your Bitlocker Keys to find out how to get your Bitlocker keys.
3. Download Ubuntu Gnome 15.04. I refer to it as that is the distro I used.
4. Install the image to a USB stick. (Don’t be lazy, search the internet on how to do this)
5. Boot your computer with the USB stick. When the menu appears choose the option to try Ubuntu, not install Ubuntu.
6. Once Ubuntu has loaded to the desktop, press ctrl+alt+t to open the terminal.
7. In the terminal type mkdir /media/windows and press enter.
8. In the terminal type mkdir /media/mount and press enter.
9. Open Firefox and download Download dislocker. You want to download the file named dislocker.tar.bz2
10. After the download browse to Downloads and right click on dislocker.tar.bz2. Choose extract file.
11. Go back to the terminal and type sudo apt-get install libpolarssl-dev libpolarssl-runtime libfuse-dev and press enter.
12. In the terminal type cd /Downloads/dislocker/src
13. In the terminal type sudo make and press enter.
14. In the terminal type sudo make install and press enter.
15. In the terminal type cd /usr/bin and press enter.
16. In the terminal type fdisk -l and press enter. Note which disk is the one that is encrypted. It should be something like sda1 or sda2 etc.
17. In the terminal type¬†sudo dislocker -r -V /dev/sda1 -p315442-000000-000000-000000-000000-000000-000000-000000 — /media/windows and press enter.(note that the sda1 needs to correspond to the disk you noted down when running fdisk -l and the 0’s are where you enter your Bitlocker key. Also not the space before and after the — )
18. In the terminal type cd /media/windows and press enter. (if that does not work and you receive an error first type sudo -i and then cd /media/windows)
19. In the terminal type mount -o loop,ro dislocker-file /media/mount and press enter. (I needed to include ,ro as I could not grant myself full access and read only helped as I only needed to copy data to an external disk)
20. You should now see a pop-up asking if you’d like to open the drive/disk. Click on open and access you Bitlocker encrypted disk.

I used the below articles/Forum posts to get this working and would like to thank all the contributors on those pages.

superuser.com

Tux Diary

 


Aug 11 2014

Extract Audio from video using Audacity

In this tutorial we show you how to extract audio from video using Audacity in Windows. The same will work in Linux but we had to pont Audacity to FFmpeg in Windows.

To download the FFmpeg dll for Windows go to this site:


Mar 27 2013

Adding additional clocks for Windows 7

I do quite a lot of online sim racing and most races are UK/European time and some US time. Gadgets must be the answer!

Well n, not really. Stumbled across a way to add additional clocks in Windows 7 which is quite nifty and quick to check the time in another time zone or country. Check out my video below on how to add additional clocks in Windows 7.

Note : It looks like you can only run up to 3 clocks maximum. For more you should search for an application or Windows Gadget.