Month: February 2008

Kernel debug of a Guest from host using WinDBG – Hyper V

It is like the same old method used in Virtual Server or Virtual PC. This post will use some screenshots to explain the same thing for Hyper-V. In genera, for debugging guest OS, we use named pipes. You can read more about named pipes here. To configure the VM for kernel debugging Turn-off the guest Open Hyper-V manager Right Click on Virtual Machine and select “Settings” In the Settings window, select COM1 on the left side of the window On the right side, Select Named Pipe and type “VirtualCom1” as the name or anything you like as the pipe name Click OK to exit the VM settings window Now, on the Host system, install Windows Debugging Tools. You can download the tools from here. After the install is complete, Open WinDBG window and connect to the named pipe by clicking on File -> Kernel Debug option Select Pipe and Reconnect check boxes Type in the named pipe name in the Port text box. For example, if the pipe name is VirtualCom1 as shown in the …

Configuring pass through SCSI drive on ServerCore guest

If you are also experimenting with Hyper-V, by now, you would have come across a feature called pass through hard drive configuration for guests. This feature exposes a physical disk to the guest operating system as a raw disk. Tony Voellm explains about various storage options available in Hyper-V here. Coming back to the subject of this post — on Windows Server 2008 (including Server Core flavor) guests — when we configure a pass through SCSI drive, disk’s read-only flag will be set. This can be verified by using diskpart.exe and running the following commands diskpart> Select Disk x (replace ‘x’ with pass-through drive number from list diskoutput) diskpart> detail disk As you see in this screen shot, Read-only flag will be marked yes, by default. With this flag set, you get an error message “Media is write-protected”, if you try to create a partition or run any command that modifies the disk layout. To verify this, try something like Diskpart> Create partition primary on this disk To work around this issue, Select the pass …

Time Tracker HTA tool

Update: Updating the link to HTA download. For some reason, old zip was corrupt. Sometime back, I have had a real big problem in determining where was I spending all my time. This was needed for a better work-life balance. Without something like this, I was over spending time at work and hence screwing up my personal life. I tried different methods. I had used MS Outlook journals for a while to track time spent on each task. This eventually became a headache as I had to maintain multiple journal entries. Later, I had even tried an Excel sheet by putting Start and End times for a task. I could not sustain this also for a long time. I needed something better and something which could aggregate time spent on each task in a day. I did not try finding on the net if there is something I can readily use instead decided to write a small tool for myself and came out with a simple yet useful HTA. I had practiced using this HTA …

My new home on Internet

Ravichaganti.com will be my new home on Internet. I have had Ravikanth.in for a while and never did anything useful with that. Couple of reasons for moving to this new address. My earlier web hosting server had only 20MB space overall. You know how disgusting that is if you also own a website. Overall permitted bandwidth per month was also pretty limited. Hence resulting in very slow access to the web. .In domain names are costly to maintain. They cost you a whopping Rs. 699 per year. I bought 4GB of webspace from eWebGuru and this domain name. I have got the new domain name for 5 years and the web space for 2 years. I want to put this to good use at least this time. I am still constructing the website. Just imported the posts from previous website and started with a new home page. Most of the content on this website is based on WordPress Blog software and plug-ins. Please feel free to comment on the overall layout and upcoming content. As …