January 25, 2011

Windows XP Boots, Shows Logon Screen, and Reboots Continuously


Three weeks ago my computer crashed. This problem was similar to what happened to my PC six months ago. Back then I was able to fix it by wiggling the hard drive socket—but doing the same fix this time didn’t work out. In fact when I turned on the PC, it booted, showed the logon screen, and when I clicked a program it crashed and rebooted. And this process just repeated over and over—sometimes the logon screen would appear momentarily and the PC would reboot itself.

I can’t pin down the usual suspects—malwares, spywares, and viruses—since I can’t open any program let alone my anti-virus program avast! I tried to repair Windows XP which went on successfully and I was able to open my browser but not for long; the symptoms came back even when running XP in Safe Mode.

Desperate for a solution, I searched in the Internet (from a different PC of course) and found the pages from Microsoft and Ask Leo! very helpful.

I reseated the memory modules and other wire connectors inside the computer case to make sure a loose connection is not causing the problem. Indeed it is not—when I turned on the computer, it refused to start and keeps on rebooting.

With a suggestion from a technician, I installed a video card (my PC uses the built-in video adapter in the motherboard). With a new video card, my PC is now working fine.



October 19, 2010

What is Wubi?


What have I learned from all these unexpected occurrences in Ubuntu—such as when the OS refuses to boot? Finding for solutions to my predicaments in the Internet often made me discover new techniques or terms used in Linux. Take for example, Wubi, I didn't pay so much attention to it even if I have used it to install Ubuntu from a CD.

Wubi (Windows-based Ubuntu Installer) is an official Ubuntu installer for Windows users that can install and uninstall Ubuntu as any other Windows application. Simply put, Wubi is the installer for those who want to experiment and get acquainted with Ubuntu without the need of disk partitioning or formatting—Wubi installs Ubuntu within a file in the Windows file system just like any Windows program.

Installing Ubuntu inside Windows XP using wubi.exe is fast and easy—unlike Windows XP which took me two hours—it only takes less than thirty minutes. I must admit though the first time it took longer than that to install because I was doing it the wrong way.

For more info:
https://wiki.ubuntu.com/WubiGuide
http://en.wikipedia.org/wiki/Wubi_%28Ubuntu_installer%29
http://zenit.senecac.on.ca/wiki/index.php/Install_Ubuntu_While_Running_MS_Windows_%28WUBI%29



October 18, 2010

Access Ubuntu Files From Within Windows XP


If I can access Windows XP files from within Ubuntu Lucid Lynx, can I access Ubuntu files from within Windows XP?

My PC runs on a dual boot system with Ubuntu installed inside Windows XP—the former installed in an external USB hard drive with NFTS partitions, and the latter in the internal hard drive. With Ubuntu not booting all my files are gone. Fortunately, there are tools that can access Linux file systems from within Windows XP and with these tools a user can scavenge the files and salvage the usable materials.

Linux uses a different file system; it's called the extended file system. Extended file system is to Linux as NFTS (or FAT) is to Windows. The default file system of Lucid Lynx is ext4; ext, ext2, and ext3 are the other members of this system. One program that can read ext4 is ext2read. This is the software I used to recover Ubuntu files from within Windows.

Ext2read is an executable that runs on Windows and can read and view files inside an ext2, ext3, or ext4 file system, and save them inside Windows. A screenshot of the program is shown below.


You can get ext2read at the following:
http://ext2read.blogspot.com/
http://sourceforge.net/projects/ext2read/



October 14, 2010

Error: unknown command 'loadfont', Error: file not found


Just as I thought my Ubuntu inside Windows was working fine and nothing could go wrong, as I tried to boot into Ubuntu the screen briefly flashed with
error: unknown command 'loadfont'
error: file not found
and the screen returned to the boot screen menu . Choosing to boot into Ubuntu again only repeated the process. What made Ubuntu to behave like this? Some users point to an update as the cause.

One solution to this problem requires editing the grub.cfg which didn't work for me since I couldn't save the file. I have tried all the solutions and suggestions found in Ubuntu Forums but nothing worked. There is only one way to resolve this problem and that is to reinstall Ubuntu which means discarding all my personal files. However, there are two ways to recover those files and these are:

  1. Copy the root.disk file from the Ubuntu folder in Windows or
  2. Use a software that can retrieve files from within Windows,
Installing Ubuntu inside Windows is easy using Wubi.exe, so I could copy the root.disk file, reinstall Ubuntu, and replace the new root.disk with the old one; this method is fine as long as the root.disk is not corrupted which already is since it wouldn't boot. The best option is explore the root.disk file from within Windows and copy whatever files I could save.

On the next three or more posts I will write down how I experimented with reinstalling Ubuntu using wubi.exe the Linux-newbie way and how I was able to recover my files from the unresponsive Ubuntu.



September 30, 2010

Configure Firefox in Ubuntu to Highlight Entry in the Address or Search Bar in Single Click


Ubuntu's Firefox default setting is just annoying: A single click in Firefox address or search bar does not highlight the entry.

Here are the steps to configure Firefox to highlight the entry in the address or search bar.
  1. In Firefox address bar, type about:config and press Enter.
  2. Click the “I'll be careful, I promise!” button.
  3. In the Filter box type browser.urlbar.clickSelectsAll.
  4. Under Preference Name, double-click browser.urlbar.clickSelectsAll to set it to “true” (or right click and select toggle).
  5. Close about:config.
Note: If the address or search bar does not highlight on single click, restart Firefox.

September 27, 2010

Enable Number Lock Keys on Startup or Before Login in Lucid Lynx Gnome


I am not comfortable with Ubuntu when changes are to be made through the use of the Terminal. Take for example how to enable the number lock in Ubuntu; to enable number lock you have to write codes in the terminal. Writing codes in Linux is my weakness; thankfully there are plenty of resources that can be found in the Internet to solve every Linux problem.

Here are the steps to enable the number lock key.

1. Click Applications > Accessories > Terminal. A terminal window opens.
2. Type the following code in the terminal and press Enter.
sudo apt-get install numlockx
3. Enter your password when prompted and press Enter.
4. A series of codes run through, wait till the line shows:
user_name@ubuntu:~$
terminal.jpg 5. Type the following code and press Enter. A gedit window should open.
sudo gedit /etc/gdm/Init/Default
6. Add the following code before the line exit 0 which is at the end of the code.
if [ -x /usr/bin/numlockx ]; then
/usr/bin/numlockx on
fi
gedit.jpg 7. Click Save in the gedit, and close the gedit and terminal windows.

To check if this works, turn on the numlock key and restart Ubuntu. If you turn it off before restart, it will only be turned on during logon and turns itself off once Ubuntu is running.

Reference: https://help.ubuntu.com/community/NumLock


September 25, 2010

GIMP’s Save for Web Plugin for Windows XP


Most of us are guilty of this: opening an executable (.exe) without reading the readme instructions for the file.

But there are .exe files that need no double-clicking.

This one made me looked dumb—GIMP’s Save for Web plugin. After extracting the zipped folder of its contents, I opened webexport.exe only to be greeted with a prompt that says that the application has failed because libgdk-win32-2.0-0.dll was not found. This kind of warnings in Windows always freaks me out.

The fact is that, the webexport.exe file needs only to be copied to a personal plugins folder in GIMP—there is no need to double-click it, hence the prompt. Copy webexport.exe and paste it to C:\Documents and Settings\\.gimp-2.6\plug-ins and it’s done.

The screenshot below shows the Save for Web option in GIMP’S File menu once webexport.exe is pasted in the plugins folder.



The Save for Web plugin can be downloaded from GIMP Plugin Registry.