Friday, November 23, 2012

bigdata tools comparision


Thursday, November 22, 2012

Windows 8 ESD file


Source: http://www.gravycode.com/what-is-a-esd-file-windows-8

Short:
ESD is an Encrypted WIM file, “Encrypted Storage Disk” or “Encrypted System Disk” perhaps.

Long:
While installing Windows 8 I came across an ESD file which I had never encountered before, and the investigation began.
The Windows 8 Upgrade Assistent began downloading WinPayload.esd to “D:\Users\GravyCode\AppData\Local\Microsoft\WebSetup\Download\WinPayload.esd”.
Looking into memory I found some interesting XML data of which I will share a few abstracts below:

<WimSourcePath>D:\Users\GravyCode\AppData\Local\Microsoft\WebSetup\Download\WinPayload.esd</WimSourcePath>
< WimTargetPath>D:\Users\GravyCode\AppData\Local\Microsoft\WebSetup\Download\WinPayload.esd.decrypt</WimTargetPath>
< RemoteSourcePath>http://sg.win.esd.microsoft.com/W8DL/[somedata]/Windows8-ProESDwithApps-64bit-EnglishUnitedKingdom-X1816623.esd?t=[somevariable]</RemoteSourcePath>
< CryptoKey>[..............CUT..............]<CryptoKey>
< FileHash>[file hash]</FileHash>


So in theory it’s an encrypted WIM file of some sort.

<WimPath>D:\Users\Matty\AppData\Local\Microsoft\WebSetup\Download\WinPayload.esd.decrypt</WimPath>
< LayoutPath>C:\ESD\Windows</LayoutPath>


Looking further it seems that it will be extracted to “C:\ESD\Windows” which is a hidden folder created by the update assistant which will now contain a nice “setup.exe”.
Windows 8 ESD WinPayload.esd
I’ll assume it stands for “Encrypted Storage Disk” or “Encrypted System Disk”.
After the updater completing the download it will give you the option to create an ISO, create a boot-able thumb disk or leave it till another time. Don’t wait till another time. =]

 

Wednesday, November 21, 2012

Upgrading from Linux Mint 13 to Linux Mint 14


Original source: http://www.scottalanmiller.com/linux/2012/11/21/upgrading-from-linux-mint-13-to-linux-mint-14/


The Linux Mint team recommends upgrading versions using a LiveCD and doing a fresh install.  This method has its benefits but, for many users and environments, using the package repository online method is far superior.  First we need to make sure that we are running as root to make the process simple:
sudo -i su
Using the following command you will have your system package configuration files automatically modified for the update (I have included the old and new versions at the end of this tutorial for reference; there is no need to modify them by hand.)
sed -i 's/maya/nadia/g' /etc/apt/sources.list
sed -i 's/precise/quantal/g' /etc/apt/sources.list
Once we have changed the sources.list file, we are ready to do the update.  As always be sure that everything that you want to keep is backed up!  Upgrades are never completely safe.  Protect yourself. Once you are ready:
apt-get update; apt-get dist-upgrade
apt-get upgrade
reboot
Once your system reboots you should have a fully functional Linux Mint 14 installation.  On mine I found only one issue and that was that, for some reason, DNS was not updating correctly so I had to manually enter the DNS servers into the network configuration dialogue.  After doing that, everything worked properly.
As promised, here are the before and after /etc/apt/sources.list files.
deb http://packages.linuxmint.com/ maya main upstream import
deb http://archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ precise partner
deb http://packages.medibuntu.org/ precise free non-free
#deb http://archive.getdeb.net/ubuntu precise-getdeb apps
#deb http://archive.getdeb.net/ubuntu precise-getdeb games
deb http://packages.linuxmint.com/ nadia main upstream import
deb http://archive.ubuntu.com/ubuntu/ quantal main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ quantal-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ quantal-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ quantal partner
deb http://packages.medibuntu.org/ quantal free non-free
#deb http://archive.getdeb.net/ubuntu quantal-getdeb apps
#deb http://archive.getdeb.net/ubuntu quantal-getdeb games