Mar 31

I have released a new version of my DBConvert Database utility.  This was developed as a result of my efforts trying to migrate my old databases from Microsoft Access to MySQL, SQLite and Paradox several years ago, but now I have decided to publish it so I hope it can be useful to other users.

Current version contains a small example that runs on Windows and Linux using Delphi or Lazarus.

May 15

The following instructions:
http://forum.notebookreview.com/sony/189228-how-enable-intel-vt-ahci-napa-santa-rosa-platform-phoenix-bios-vaio-laptop.html
and
http://forum.notebookreview.com/5190101-post227.html

worked for my laptop, that is a workaround to allow enabling of VT on bios that do not have options in the menu to do that. In my case the bios revision is R0083N0, so I saw the list by bios revison and look for the VT register (0393).

I needed to do this to solve a problem with VirtualBox that prevented to use more than 1 cpu showing an error VERR_VMX_MSR_LOCKED_OR_DISABLED.

May 5

Ok, you will think that this is another tutorial about how to install Ubunto as Guest OS using VirtualBox in Windows 7. However, what I propose is to run a real installation of Ubuntu in your computer at the same time of Windows 7 using VirtualBox. In such a way you can run your Ubuntu either virtualized in Windows or boot it as the real operating system.
The steps are the following:

  1. Install Windows 7
  2. Install Ubuntu. Normally this is straightforward, you have to repartition your hard disk, etc. VERY IMPORTANT: Do not mount in ubuntu the partition where you have installed Windows 7, nor any partition that would be visible in Windows.
  3. Boot in Windows 7 and install VirtualBox (next steps are based on http://www.pendrivelinux.com/boot-a-usb-flash-drive-in-virtualbox/).
  4. Click Start > Run Type diskmgmt.msc and click OK (In Vista/Win7 use the Start > Search Box) (1) Locate your BOOT Disk #
  5. Open a command prompt cmd.exe (run as admin in Vista/Win7).
  6. Type cd %programfiles%\oracle\virtualbox
  7. Type the following (replace # with your BOOT Disk number from step 4)
    VBoxManage internalcommands createrawvmdk -filename “%USERPROFILE%”\.VirtualBox\usb.vmdk -rawdisk \\.\PhysicalDrive#
  8. Start VirtualBox (run as admin in Vista/Win7) and create a New Virtual Machine
  9. When prompted for a Virtual Hard Disk, click use existing hard disk and select usb.vmdk
  10. Once you have finished creating your New Virtual Machine, click Start.
  11. If all goes well, VirtualBox should now be running the Linux version installed on your PC emulated from within Windows.
  12. You can Install VirtualBox guest additions, however, depending on your graphic card, it is possible that in this case you have to use two versions of /etc/X11/xorg.conf files, one for running your ubuntu emulated in virtualbox, and other to use when the PC is started in ubuntu (not emulated).
  13. I have rewritten a script (based on the one available in http://ariel.vardi.free.fr/ariel//vaiosz.html, but to solve other problem) to switch from one xorg.conf to another depending on if you are running directly or from VirtualBox. Suppose you have the two xorg.conf files in /etc/X11: xorg.conf-real and xorg.conf-vbox. Then you have to create a small script in /etc/init.d (called xorg_conf) with the following content:

    VIDEO=`/usr/bin/lspci |grep -c VGA.*VirtualBox`
    if [ “$VIDEO” = 1 ]; then
    cp -f /etc/X11/xorg.conf-vbox /etc/X11/xorg.conf
    else
    cp -f /etc/X11/xorg.conf-real /etc/X11/xorg.conf
    fi
  14. Soft linking the script into rc2.d as S12xorg_conf will copy the correct xorg.conf file into place before X starts.
  15. If you like to test the new unity desktop interface in VirtualBox, install unity-2d: This is a work around until full support for unity 3d in virtualbox for windows be available: I tried to enabled 3d acceleration but is not working in linux guest over windows hosts yet.
  16. Now the opposite, to run your current Windows Installation under Ubuntu.  To do this, you will need your Windows 7 Installation CD.
  17. Execute the following command:
    sudo VBoxManage internalcommands createrawvmdk -rawdisk /dev/sda -filename win7.vmdk
  18. To allow your virtual machine boot in Windows 7 instead of your Ubuntu Installation, you have to create a virtual hard disk and install a small linux distribution first, that you will configure to boot your windows installation. I decided to install slitaz http://www.slitaz.org/en/ which is a very small and easy to use linux distribution, but don’t worry, If you want to save your time, you can download the virtual disk from here: vmslitaz.vdi.gz (the root password is root, the default user is upx and its password is upx). Decompress it using gzip or your favorite compression/decompression utility.
  19. As root, create a new Windows 7 virtual machine, and when prompted for a Virtual Hard Disk, click use existing hard disk and select vmslitaz.vdi.
  20. Once your machine has been created, add win7.vmdk as a second Virtual Hard Disk.
  21. Run the recently created virtual machine.  If Windows complains showing a screen about an error due to hardware changes, boot from the installation CD and repair Windows.
  22. More detailed information about Windows installation can be found at https://forums.virtualbox.org/viewtopic.php?t=9697#3815

 

Aug 12

I have an old Tabled PC Acer TMC302Xmi, and playing with the bios update I tried to downgrade the BIOS to version 1.08 (Just to see if that would fix a problem when trying to boot from a usb memory), but that converted my laptop in a very nice brick. It was not possible to update the BIOS in the ways suggested by the official Acer support, because the laptop was unable to boot.
To solve this problem you must have to perform a BIOS flash update via the Boot Block function, which is documented in http://support.acer-euro.com/documents/reports/bootblock.html, but to create the installation floppy disk you have to use the files and instructions available at http://www.math.lsu.edu/~pjara/travelmatec300/.

This information was found in one entry of this blog: http://www.tabletpcbuzz.com/archive/index.php?t-33790.html

Aug 11

For a long time, the categories and tags in my blog were not working well, so when you clicked on the links, you got the 404 error (page not found). Searching in a lot of blogs I figured out that the problem was related with permalinks, I tried to changing the configuration and doing what such blogs suggested without success, even more, drain hole required that the “mod_rewrite” permalinks be activated, that is why I was forced to change the default configuration of permalinks.
Anyway, to fix this problem I went to Settings -> Permalinks and wrote something in the category base and tags base (such fields must not be empty). After that change the blog is working well.

Feb 12

Para configurar el acceso a internet con Jazztel, tenemos que editar el siguiente fichero: /usr/share/mobile-broadband-provider-info/serviceproviders.xml. Buscamos donde diga <!– Spain –>, y agregamos Jazztel a la lista de proveedores de internet movil de España, quedando el fichero final más o menos así:

<!– Spain –>
<country code=”es”>

<provider><name>Yoigo</name>
<gsm>
<apn>Internet</apn>
</gsm>
</provider>
<–! inicio de la modificación –>
<provider>
<name>Jazztel</name>
<gsm>
<apn>jazzinternet</apn>
</gsm>
</provider>
<!– fin de la modificación –>
</country>

Para emparejar el movil con el ordenador, sugiero utilizar blueman (Bluetooth Manager). Las instrucciones de instalación están en http://blueman-project.org/

Aug 3

Recientemente ped­í una tarjeta SIM para acceder a Internet con el teléfono móvil a Jazztel. Como ya tenía terminal móvil, y además mi teléfono móvil permite acceder a internet a través de Bluetooth, no necesitaba pedir ni terminal ni módem USB para acceder al servicio.

Pero al no comprar el terminal tení­a que configurarme uno yo solo. En mi caso se trata de un móvil Nokia 6230i de Vodafone liberado. Para configurar el acceso a internet desde el terminal vamos a Ajustes | Configuración | Ajustes de configuración personal | Opcs. | Añadir nuevo | Punto de acceso.

En Nombre de cuenta ponemos por ejemplo, jazztel. En Portador de datos, GPRS (este móvil no tiene 3G). Ahora seleccionamos Ajustes de portador, y en Punto de acceso de GPRS, ponemos jazzinternet, el tipo de autenticación normal, dejamos Nombre de usuario y Contraseña vacíos. Regresamos a Ajustes | Configuración, y ponemos como Punto de acceso preferido jazztel.

Y listo, ya deberíamos tener internet en nuestro móvil.

Jun 4

After follow the normal instructions in order to install the latest version of VMWare (1.0.6), when you try to execute the vmware console, you will get the following error message:

>$ vmware
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_3.4′ not found (required by /usr/lib/libcairo.so.2)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_4.2.0′ not found (required by /usr/lib/libstdc++.so.6)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_3.4′ not found (required by /usr/lib/libcairo.so.2)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_4.2.0′ not found (required by /usr/lib/libstdc++.so.6)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_3.4′ not found (required by /usr/lib/libcairo.so.2)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_4.2.0′ not found (required by /usr/lib/libstdc++.so.6)

To avoid that, execute the next commands:

cd /usr/lib/vmware/libgcc_s.so.1/
sudo mv libgcc_s.so.1 libgcc_s.so.1.bak
sudo ln -s /lib/libgcc_s.so.1 libgcc_s.so.1

That is all. I hope this be enough to solve this issue.

Mar 24

Well, finally after a few nights working on this, the update of the BZip2 unit is ready. I have been upgraded it to version 1.04. For historic reasons I have also preserved the versions since 1.01 in the BZip2 Unit page.

Mar 20

The original bzip2.zip package has been uploaded. This will be updated soon.

« Previous Entries