Archive

Posts Tagged ‘windows’

Antivir regression bug makes Visual Studio 2010 unusable

2011/07/09 Comments off

The current version of Antivir Personal slows down Visual Studio 2010 making it unbearable to develop ASP.NET applications.

Debugging with active Antivir: appr. 5min for an empty Default.aspx page to display.

Debugging with deactivated Antivir: a few seconds for an empty Default.aspx page to display.

Until Antivir fixes this bug I will give Microsoft Security Essentials a try.

Regression because this has been addressed and fixed in December 2010:

Antivir FAQ (English)

Antivir FAQ (Deutsch)

This applies to the following version of Antivir:

Produktversion 10.2.0.696 29.06.2011
Suchengine 8.02.06.04 06.07.2011
Virendefinitionsdatei 7.11.11.27 07.07.2011
Control Center 10.00.12.31 28.06.2011
Config Center 10.00.13.20 28.06.2011
Luke Filewalker 10.03.00.07 28.06.2011
AntiVir Guard 10.00.01.59 28.06.2011
Filter 10.00.26.09 28.06.2011
AntiVir WebGuard 10.01.09.00 28.06.2011
Planer 10.00.00.21 02.05.2011
Updater 10.00.00.39 21.06.2011
Advertisements

Configure VirtualBox Windows guest system to use 2 monitors

2011/01/01 Comments off

Purpose

Our host system for VirtualBox is GNU/Linux. We want our guest system, windows, to use two monitors.
This solution should work for all Linux distributions supported by VirtualBox4.

Required software

  • Ubuntu 10.10 (aka Maverick) as host for VirtualBox4
  • VirtualBox 4
  • VirtualBox guest sytem: Windows XP (incl. VirtualBox guest additions)

Configuration

  1. Setup virtual guest machine (windows) within vm host system (GNU/Linux) to use two monitors:

    virtualbox-host-ubuntu-10.10

    Setting up virtualbox 4 to use 2 monitors for windows xp guest

  2. Within virtual guest (windows): Configure dual monitor setup:

    virtualbox_dualmonitor_windows_config

    Setup within virtualbox guest system (windows)

Side note

Upgrading from VirtualBox owned by Sun to VirtualBox owned by Oracle was very smooth. Even for Linux host systems. Oracle, thanks for that!

First experiences with Portable Ubuntu and Upgrading from 8.04 to 8.10

2009/04/13 28 comments

There is a new thing called “Portable Ubuntu”. Get it here:

http://portableubuntu.demonccc.com.ar/

It’s about 450MB download and its default size after unpacking is about 2GB.

It promises to be a Linux installation which runs side by side with your MS-Windows desktop. After you downloaded and unzipped the file to a location of your choice you can start Ubuntu from within your active Windows session by double-clicking the file run_portable_ubuntu.bat. That was easy, wasn’t it? You now have GNU/Linux!

Let’s do an update…

  1. Get a current version: System -> Administration -> Software Sources
  2. Choose a good location for “Download from” an the first tab
  3. Update everything. This will be a large download (in my case: ~200MB) and take some time
  4. Shutdown (click on the ‘red-arrow-exit-door-symbol’ on the right of the toolbar which appeared at the top) and Start the Portable Ubuntu application (double-click the run_portable_ubuntu.bat file).
  5. Everything should be fine at this state. Do not continue if something went wrong….

You now have a minimal up-to-date Ubuntu on your Windows box.

The following text will explain how to upgrade your minimal Ubuntu (version: 8.04 LTS) to the current version (8.10 and in a couple of days it will be 9.04).

First let’s setup usage for the current version, not the LTS=long term support version.  System -> Administration -> Software Sources. Select the third tab labelled “Updates”. At the bottom, select “Normal releases”; Then close the Software Sources GUI.

Now I will explain the approach I tried which will fail.

  1. System -> Administration -> Update Manager : It shows you that version 8.10 (or newer) is available -> click upgrade
  2. Again, click “Upgrade” after reading the release notice.
  3. This will fail !!

You will get an error message telling you that there is not enough disk space available. The reason being that the minimal Ubuntu installation only reserved appr.  2GB of space. And since this installation should not mess with your precious disk space, this is fine. Unless you want more GNU/Linux 😉

Increasing the disk space is not as difficult as you might imagine.

(The official doc is here: http://portableubuntu.demonccc.com.ar/ -> Documentation -> How to change the file system size)

But before we go on:

Files to edit:

config\portable_ubuntu.conf

Files to move/rename:

images\rootfs.img

Step-by-Step Instructions:

  1. Goto the image folder (cd image)
  2. Create a new image file (fsutil file createnew rootfs_.img 3758096384). The number at the end is a multiple of 1024.  An installation of  2GB is calculated as follows: 1024*2*1024*1024=2147483648. If you want  4GB space that would be 1024*4*1024*1024=4294967296.  This process is very fast.
  3. Now you must edit the file config\portable_ubuntu.conf.      Change the line “cobd3="D:\Documents and Settings\czw5hv\Application Data\Windux\images\root.img” to “cobd3=images\rootfs_.img
  4. Execute the script run_portable_ubuntu.bat (double-click the run_portable_ubuntu.bat file) NOTE: THIS CAN TAKE UP TO 5MIN!! If everything is OK, you will see the GNOME task bar at the top of your screen.
  5. Open a terminal:  Applications -> Accessories -> Terminal
  6. Switch to root user by typing: “sudo su” (your default password is 123456)
  7. Issue the dd command. This is the crucial part, because the command dd
    will copy byte-per-byte, no-matter-what, from if (input folder =
    /dev/cobd0) to the of (output folder = /dev/cobd3)
  8. dd if=/dev/cobd0 of=/dev/cobd3

If a simple restart of Portable Ubuntu works now, you can start upgrading from 8.04 to 8.10 without any disk space problems. Just repeat the 2 steps I mentioned above that failed because you did not have enough disk space.

You can now copy the folder to your USB stick.

Have fun!

Setting the correct time zone in Portable Ubuntu

For some reason I could not set the correct time zone using the GUI (System -> Administration -> Time and Date). Everything is grayed out (even though I had to enter the root password to open the Time&Date application).  I had to manually run

sudo dpkg-reconfigure tzdata

to set the correct time zone.

Categories: IT, linux, windows Tags: , , ,