How To: Test driving Windows 8 on Virtual Box


Are you curious, what the next iteration of Windows has in store for you.
Windows 8 developer preview is now available for download. Head over to MSDN and give it a try. Virtual Box is a great free cross-platform Virtualization application which is easy to set up and lets you run different OS instances in parallel.

Below instructions are for Virtual Box on Windows 7, but should also work for Linux/MacOSX
1. Download and Install Virtual Box for your specific platform (Win/Linux/OSX)
2. Download the Windows 8 developer preview from MSDN. You can chose 32-bit/64-bit w/o Developer tools
3. Open Virtual Box, and  click on New. You will be greeted with a VM set up screen. Give it a name and select Windows 7 (32/64bit) as OS


NewVM

4. In the later screens, allocate 10-20GB (or lower) for the VM and chose dynamic expansion. This takes shorter time to set up and Virtual Box will dynamically increase the VM space as when needed to a maximum of the earlier chosen capacity.
NewVM2

5. Once the VM set up is done. From the Virtual Box home screen, select the VM and click Run. The first time, you would be greeted with a First Run Wizard. Select the Windows 8 Developer Preview file you just downloaded (*.iso file).
FirstRunInstall
FirstRunInstall2

6. The VM would now boot with the iso, and Windows Installation process would begin. To switch controls back to your desktop OS, press Right Control in Windows.
Install1

7. Follow the instructions on-screen. Chose Custom (Advanced) as the type of installation.
Install2


8. That’s it. Wait patiently for 25-35 mins for the setup to complete. Once done, the VM will restart and you voila, you are right inside the new Metro UI. Do note, it’s a developer preview and could have loads of bugs and issues Smile Enjoy!

Windows 8


9. Some helpful tips
1. Use windows key to switch to the start metro menu
2. Change windows 8 screen resolution (default on VM is 800x600)
3. Live tiles don’t work on a local Administrative account. Create a test user account to get the Metro Apps/Tiles working
4. Right Control-C to pass control back from the VM window

A quick and dirty guide to installing Windows7 on an old Linux laptop

Before we get started, a quick overview of what we are about to do in the next few minutes (or hours depending on your luck).

Windows7 is the exciting new OS from Microsoft, which has garnered rave reviews from everywhere. It is touted as the best windows ever, and even the Linux community is keeping a close watch on its progress. The most interesting feature for me would definitely be the more optimized and fast experience, and the jump lists; Details of which I will cover in later sections.

My current rig:
Compaq nx7010 business laptop (2003)
Pentium Centrino 1.6GHz
1.5 Gigs of RAM
OSs installed: Linux Mint and Windows XP
Graphics adapter: ATI Mobility Radeon 9200
Critical Drivers: Intel wireless ipw2100 and..Connexant AC97

Key Objective:
To install windows7 keeping my Linux and XP intact. And atleast have wifi and sound working on the new OS. Aero will not function with the depricated graphics adapter so will give it a pass.

A Word of Warning:

1. Backup all your important stuff. Be careful, It's a beta we are dealing with here.2. Keep all your old windows drivers in a place, as we may need it later.
3. This is a long article, so be patient and don't jump steps.
4. And please, don't panic :)

Preparations:
As with any OS installation, there is some prep work needed
1. Prepare your partitions. We will start off with resizing our existing partition.I booted with my Linux Mint live cd and used gParted to resize my Linux partition and create a NTFS partition for windows7.









2. Download Widows7 beta iso and burn it onto a dvd.
3. Write down the activation key issued from the website on paper.
Great! We are ready.

Installation:



1. Pop in your Windows7 DVD and restart your pc.
2. Go slow. Click on start installation.
3. Chose Custom installation and select the newly created partition as the location where you wish to install Windows7.
4. Grab your ipod and go for a walk.
5. Come back after 45mins, select basic settings like your language and timezone. Enter your beta key and your new OS is ready



Realization:
Before you start jumping in joy, there is something we overlooked. You will observe that the windows bootloader seems to have replaced GRUB. It can smartly detect our XP and add into the boot list. But where is our Linux? Let's come back to it a bit later. There are still some challenges.

Your old drivers won't work. ATI stopped supporting my old gfx card years back. Same goes for intel. No more pro wireless 2100 drivers for Vista or above. My sound card Connexant AC97 also has no compatible soundcard drivers after XP. Here are a couple of things, you could do.
1. Install your old driver packages using compatibility mode.


2. Check Windows Updates if the drivers are available.
3.Google for newer drivers or solutions from folks with similar issues.
4.Manually install your old drivers from the "Device Manager" console.
Right Click on an unknown device, select "Update Driver Software" and choose "Browse my Computer.." to browse to the location of the extracted driver.


5. If all this doesn't help, get a new rig mate, or live without the unrecognized hardware.

Getting our GRUB back:
We have all the time in the world to play with our spanking new Win7 but let us fix our grub first and come back later. For this, load your favorite live bootable cd and open the terminal. Type the following commands to fix grub.


$ sudo grub

grub> find /boot/grub/stage1
(hd0,0)

grub> root (hd0,0)

grub> setup (hd0,0)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/e2fs_stage1_5" exists... yes
Running "embed /boot/grub/e2fs_stage1_5 (hd0,0)"... failed (this is not fatal)
Running "embed /boot/grub/e2fs_stage1_5 (hd0,0)"... failed (this is not fatal)
Running "install /boot/grub/stage1 (hd0,0) /boot/grub/stage2 p /boot/grub/menu
.lst "... succeeded
Done.

grub> quit



Now restart your pc and wait for grub to load. You would see your old grub boot screen with a line for WinXP. Select it and voila, you are taken to the familiar Windows7 boot manager. This was a big surprise to me as well :). If this doesn't work, edit grub and add an entry pointing to Windows7.

Boot into your installed linux instance and edit grub.lst
$ sudo gedit boot/grub/menu.lst


Add the following lines at the end

# on /dev/sda4
title windows 7 beta (Loader)
root (hd0,3)
savedefault
makeactive
chainloader +1


My windows 7 resides on /dev/sda4 hence it's (hd0, 3). Confirm this via fdisk or gparted.


Closing Remarks:
Yeah, we are done now. We now have 3  different OSs  co-existing beautifully on our old laptop.  It wasn't a smooth ride but we made it :) . Enjoy, experiment, benchmark and review the three great OSs and drop me comments on your experience. Thanks.




Connexant AC97 help

“How to” Dual boot Ubuntu and Windows 7 (Ubuntu installed first)


Living with Linux, Windows7 and XP: The complete experience

It was high time, I wrote something interesting on this blog. The upcoming articles will be more focussed on my experiences with Windows7. Here are some of them in the pipeline:



1. A quick Windows7 installation guide (when a Linux distro is already installed)
2. A multi-boot guide for Windows7 and Linux to co-exist together
3. A painful guide to installing some old drivers on your Windows7 box
4. The comparative experience: Linux (KDE/Gnome) vs Windows 7

Great! Let me get started in writing these, and check back soon later.

Microsoft announces Windows 7 SKUs (updated)

Just when you thought nothing could go wrong with Windows 7, Microsoft shoots at it's own feet by preparing to launch 6 different versions of their next major release. It's officially confirmed that it's one more than the following screenshot leaked out last week :)



  • Windows 7 Starter (limited to three apps concurrently)
  • Windows 7 Home Basic (for emerging markets)
  • Windows 7 Home Premium (adds Aero, Touch, Media Center)
  • Windows 7 Professional (Remote Desktop host, Mobility Center, Presentation mode)
  • Windows 7 Enterprise (volume license only, boot from virtual drive, BitLocker)
  • Windows 7 Ultimate (limited availability, includes everything)

As an end-user, I am bemused at the fact that how does M$ expect us to pick the right one. It's going to be more complex for Business users and enterprises. I just wish they rethink on the SKUs before it's too late.

My take
  • Starter (Free non-commercial edition for students and developing nations)
  • Home (Aero, media center etc.)
  • Business ( Remote Desktop host, VM etc.)
Now, how hard can this be?

Update: ZDNet's Ed Bott reports that Windows 7 has trimmed down to only 3 different versions for everyone in developed countries: Windows 7 Home Premium, Windows 7 Professional, and Windows 7 Ultimate/Enterprise. Windows 7 Home Basic and Starter editions are actually available in emerging markets, but they "will not legally be available for sale in the U.S., Western Europe, Japan, and other developed countries."

[image courtesy of Engadget]