Sunday, September 13, 2009

Windows XP on Linux Mint (Virtualization)

Most of the time the inability to move totally on to Linux is that some softwares aren't working well even in WINE on Linux (yet). But it is really annoying to move on to Windows and back to Linux when we want to run certain softwares on both of the system. But how if it's possible to run windows inside Linux?

That is possible using the process called "Virtualization". This method is not very new but still is developing. There are bunch of virtualization softwares but some use lot of resources while others do a petty job with less resource eating.

VirtualBox is one of the nice low weight softwares used for virtualization. So I though of using it for a while on my Linux Mint machine and see how far windows can go inside Linux. Still doing some configuration stuff. So I'm leaving here showing you the first welcome note from Windows XP running inside Linux.

Saturday, September 12, 2009

How To Change Root Password Of A Linux OS If You Have Forgotton It

Someone can say that "Root is the god of the system", where it bears the literal meaning regarding the root user of a Linux system. Because he has the full access to each and every corner of the system and can change or modify it as he wishes. As a matter of fact, if the root user does something wrong with what he is doing, the system may stop working.

Anyway, if you have forgotten the root password, what can you do? It will make the system less operative since you need the root password to configure and change lot of things in a Linux System.

Assuming that you have access to BIOS, there is a possibility to change the password using a Linux Live CD.

Stuff Needed:
  1. Change the first boot device to the CD Drive or to the DVD drive. You can do this from the "Boot Settings" menu under the "Boot Sequence" sub menu. These entries change according to the BIOS system you have and the above is in general.
  2. A live CD or DVD of Ubuntu, Fedora, Linux Mint, etc (For this explanation Linux Mint Live CD has been used)
Method:
  1. After changing the first boot device put the live CD or DVD in the drive and boot up the computer.

  2. Now when it is finished loading the desktop, right click on the desktop and from the menu select "Open in Terminal". In the terminal you get, you have to give all the commands as shown and explained in the following figures. (Every command is without quotes)
  3. "sudo fdisk -l" From this you can identify the disk partition in which you have installed Linux. In this case it is /dev/sda2.

     
      
  4.  Now create a new folder using the command, "sudo mkdir /media/temp". Then you will get a folder named temp in /media.
      
  5. Now what you have to do is to mount the partition at temp folder. Use the command, "sudo mount /dev/sda2 /media/temp"
  6. Then you have to tell the system to identify this partition as the root partition. Use the command, "sudo chroot /media/temp"
  7. Now it's the final stage, where you have to change the password to a password you prefer. To do this, as in the figure, type "passwd root". It will ask you two times for the password and put the same password correctly. When it's done you will see the message "passwd: Password updated successfully".

Now restart the machine and when it comes to the login prompt, use the password you put just now. Using this method, one can change not only the root password but also the password of any existing user.

Friday, August 28, 2009

"Still waiting for the root device" problem

This is an annoying message given by the startup process of linux and I got in to the same situation after installing Linux Mint.

Linux mint is a reconfiguration of ubuntu so that it make ease of use for the beginners to Linux. You have everything installed out of the box such as flash plugin for Firefox and MP3 decoding.

After sometime, I got this annoying problem when I was going to do a cold boot (starting up the computer after a shutdown) and later I figured it's not only happening even after a hot boot (reboot). I had been searching a lot about this problem and there were so many posts in forums saying to change the label of the root partition and adjust the grub->menu.lst and etc->fstab. Some had said to use the UUID of the device as the value for the root parameter for the kernel. But all of them didn't work in long term for me.

After all time I though there would be a problem with the bootloader itself. Having that thought I removed the default bootloader for Linux Mint, the grub-gfxboot bootloader and installed the legacy grub bootloader. Here we go, it has fixed the problem for me (so far).

So according to my experience with this I think the grub-gfxboot bootloader sometimes forget how to find the root device no matter how the parameter value is given. So if you also have this "still waiting for the root device" problem and couldn't figure out a solution, it's time to go back to the good old (legacy) grub bootloader.

Cheers

Saturday, August 22, 2009

How to check UUID, Label & Filesystem type in Linux

First there should be a little clarification what these things are.

1. UUID - Universally Unique Identifier
This is a kind of an identifier that you can give to a device. Since it is a universally unique identifier, the identification of the device is easy.

2. Label
Label is another way to identify a device but it's not unique. Like in Microsoft Windows you can have more than one device with the same label.

3. Filesystem
It is the method for storing files in a computer system. Different operating systems use different types of file systems such as,
* EXT3/4 - Linux
* HFS/HFS+ - Mac
* NTFS - Windows

In Linux there is a method how you can find these things with a single command.

* Open up a terminal and issue this command without quotes "sudo blkid"

The output will be like this,

Tuesday, July 28, 2009

How to mount a Mac (iAtkos - mine) dvd on Linux

use the command with the specific filetype

Mount DVD: sudo mount -t hfsplus /dev/hdc /media/test
Mount ISO: sudo mount -t hfsplus /media/hdc1/iAtkos.iso /media/test

(here the strings /dev/hdc and /media/hdc1/iAtkos.iso should be replaced according to your filesystem)

if you simply mount this without -t option you will not see all the files on the DVD

Further: More

Tuesday, July 21, 2009

Honda Accord Commercial

Honda is one of the huge brands worldwide. When that name comes to my mind I remember the great Honda motorbike that we had couple of years back, Honda CM125. Wow, I still remember the proud hum it gives when the engine screams. Hearty...

Anyway, here I'm not going to talk about Honda bikes, but a commercial for Honda Accord car.

Commercial Video

Here they have used all the main parts of the model. Pretty cool, huh?

Check out more
Official Site
Wiki

Friday, May 22, 2009

Website Designing

One of the main and very popular methods of communication in the business world is web sites. So a good design of a website is very important to give customers, relevant and necessary ideas. In technical aspect, basically, a website should be compliant with most of the web browsers, which are currently being used. It should also have comparable technologies to provide customers a better and quality service to compete with the fast moving business world.