MinGW and Cygwin
I am a software developer. I like cross-platform development. And I prefer lower level programming language like C. My OS is Windows. Thus, I normally use Visual Studio Express Edition to compile the source code. But using Microsoft Visual C++ compiler is not a good idea for cross-platform development, because it highly depending on the Microsoft platform. Besides that, it doesn’t have C99 standard.
So, the best cross-platform C and C++ compiler is GCC (GNU Compiler Collection). However, it is used in Unix-like OS. Yet, there are two projects porting GCC to Windows: MinGW and Cygwin. These two projects provide us GCC to compile cross-platform source code such as libjpeg, libpng, zlib, etc. This indicates that, we can also write our own cross-platform source code and compiled by using GCC in Windows and other Unix-like OSes.
Success booting PC-BSD through USB flash drive
Hahaha. When I wrote my previous post, I found that I possibly made a mistake when copying the IMG image to USB pendrive. Yes, I used “dd” incorrectly because I didn’t know how to use it exactly.
This was how I used “dd” in Linux:
dd if=PC-BSD-7.1.1-x86.img of=/dev/sdb1 bs=1024
Now, the problem was the “/dev/sdb1”. We should use “/dev/sdb” instead of “/dev/sdb1”. This is because “sdb1” indicates the partition, yet “sdb” indicates the drive. And I should copy (dd) the whole file system and data of IMG to the drive, not to the partition. That was why, after I used the statement above, I still found that my pendrive was in FAT32 format.
Difficulties for installing PC-BSD
I like Unix philosophy. I like open source. I want to install PC-BSD to my netbook, but finally I realised that I failed to do so. I have tried several ways, then I give up now.
Actually, I preferred to install FreeBSD. But FreeBSD is targeted for server, so I choose PC-BSD. And PC-BSD has GUI installation, which makes everything easier (I tried it on VMware). So, I downloaded DVD ISO image. Then, I tried to use UNetbootin, since the site mentioned that it supports to create LiveUSB for FreeBSD 6.3 and 7.0. I assumed that it can also support for PC-BSD which is based on FreeBSD. However, I failed.
gparted from Parted Magic
The story continues from my previous post.
I used Parted Magic to perform the partition tasks. However, I found that Kingston DataTraveler 2.0 USB Device cannot boot as LiveUSB. It cannot find pmagic-4.5.sqfs. And even Parted Magic 4.8, there is something like dev_list cannot be found. But, there is no problem for Kingston DT 101 II USB Device. Weird!
Okay, after I delete E: F: and resize D: to occupy the space. But in Windows, I found that the D: properties show that the space is still the same. But in Disk Management utility, the space is already used for D:. I tried CHKDSK, the problem still there. Then I remember a phrase from a movie:
GRUB problem
Playing around my HP Mini Netbook with different OSes really troublesome.
Today, I am trying to install PC-BSD on my netbook. But before I install PC-BSD, I need to make some space for it. And according what I read,
Be aware that BSD operating systems, and hence PC-BSD, only recognise primary partitions and consider any logical partitions as a whole primary partition. Trying to install on a logical partition will convert your extended partition into a primary partition and erase all logical partitions of your system. PC-BSD can be installed on any primary partition; it doesn’t necessarily have to be on the first one. [PC-BSD guide]
Ubuntu Netbook Remix USB detection
As a newbie to Linux, using Ubuntu Netbook Remix gave me some trouble. Because I found that, when I plug in the USB pendrive, there is no response. So I cannot mount it manually, and there is no information in /dev drive.
Search for a long time for the solution, study a lot, read the forum. I found some solution like “udev”. However, I already installed udev, but there is no detection found. Finally I join Ubuntu IRC to ask for information, but there is no solution yet.
Ubuntu Netbook Remix HP Mini 1109TU Wireless network driver
The problem I faced on UNR on HP Mini 1109TU is the Wireless Network driver. The Wireless device of HP Mini 1109TU is Broadcom Corporation BCM4312 802.11b/g.
After the installation of UNR Karmic (9.10), there is no Wireless Network support. I cannot access internet with WiFi. So, the network cable is needed for internet connection.
I have tried several ways to enable the Wireless Network driver. First, run the System > Administration > Update Manager to update everything (remember to find the fastest repositories). After everything is updated, reboot Ubuntu.
The Windows Installer service could not be accessed
I always got this type of message in Windows XP when installing with MSI:
The Windows Installer service could not be accessed
But this occurs on my friend’s PC. So, I tried to start the service Windows Installer service. And the message shown:
Could not start the Windows Installer service on Local Computer.
Error 1053: The service did not respond to the start or control request in a
timely fashion
COMODO Firewall uninstall problem
A very bad experience for me to upgrade COMODO Firewall. The update was slow. So I decided to download the latest version installation file.
Then tried to install from the latest version. And the installation detected the existing of the older version. I was asked to uninstall the older version. Right, I uninstalled it. Then I was asked to restart the computer. But I didn’t restart. (I know, this was my fault). Then I continued installing the latest version. Finally, restarted the computer.
Firefox "reformat"
Previously I said that Firefox is just like an OS (Operating System), with the add-ons like the applications. If this is the metaphor, then all the bookmarks will be the important files that we own.
Sometimes I will reformat the harddisk and reinstall Windows due to some error, registry corruption, virus infection, some unexpected performance, etc.
And recently, I found that my Firefox have some problems. When the Firefox opened for a long time, 2 or 3 hours, there will be a high CPU usage. Which hinders me to work properly. I don’t know what happened, may be add-ons. I tried to uninstall some of the add-ons, but the problem still there. So, the final solution is “reformat” it.