Friday, November 23, 2012

bigdata tools comparision

Thursday, November 22, 2012

Windows 8 ESD file


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

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:

< WimTargetPath>D:\Users\GravyCode\AppData\Local\Microsoft\WebSetup\Download\WinPayload.esd.decrypt</WimTargetPath>
< RemoteSourcePath>[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.

< 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:

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
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 maya main upstream import
deb precise main restricted universe multiverse
deb precise-updates main restricted universe multiverse
deb precise-security main restricted universe multiverse
deb precise partner
deb precise free non-free
#deb precise-getdeb apps
#deb precise-getdeb games
deb nadia main upstream import
deb quantal main restricted universe multiverse
deb quantal-updates main restricted universe multiverse
deb quantal-security main restricted universe multiverse
deb quantal partner
deb quantal free non-free
#deb quantal-getdeb apps
#deb quantal-getdeb games