Monday, October 1, 2012

Linux/Cent OS 6: Getting error when trying to take screen shot in cent os 6

After the fresh Cent OS 6 installation, people may get the following error, when "Print Screen" key is pressed:

There was an error running gnome-screenshot:
Failed to execute child process "gnome-screenshot" (No such file or directory)

To solve this, gnome-utils need to be installed, which can be done by running the following command from terminal(as a root).
yum install gnome-utils -y

Saturday, September 29, 2012

Linux: To know whether the system is 32-bit or 64-bit

There are several ways to find this:

1)The kernel version can be found by, using "uname -m" command.
$ uname -a

i686      -->  32-bit
i386      -->  32-bit ==> so, ix86 --> 32-bit

x86_64  -->  64-bit


2) by using the getconf command as below
$ getconf LONG_BIT
This straight away returns 32 or 64.

Linux/CentOS: way to install vlc player on Cent OS 6

way to install vlc player on Cent OS 6


1) Install RPMForge repository as:
(To know the kernel version, check here)

in 64-bit:

rpm -ivh http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm

in 32-bit:

rpm -ivh http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm

2) Now, install VLC as:

yum install vlc
------------------

Monday, April 23, 2012

Forgot Admin password? Performing Recovery Console in an easy way

While performing the Recovery of Windows OS, it asks for the administrator password.
If u dont know/forgot it, then u can follow the below steps to escape from it.

First boot in to the windows, as mentioned in the post http://sureshmuchenthula.blogspot.in/2012/04/to-boot-into-windows-after-removing.html

Then, Start > Run > type "regedit"
Now, navigate to the below section.
HKEY_LOCAL_MACHINE > SOFTWARE > Microsoft > Windows NT > CurrentVersion > Setup > RecoveryConsole

Here, change the value of DWORD to 1. Then restart the windows and perform the Repair option. When it asks for the administrator password, just press "Enter". 
That's it.

To boot into windows, after removing the linux from a dual boot system, without a windows CD

But, if windows cd is not available currently for you, then u can follow the following procedure, to temporarily login into windows. This has to be done every time, if you don’t restore the mbr.

Steps:

1. grub> rootnoverity (hd0,0)
2. grub> makeactive
3. grub> chainloader +1
4. grub> boot

Now, you will be logged into the windows OS.
Note that, this works temporarily. This has to be done every time you start the system, until the mbr is restored with the Recovery Console.

Thursday, February 2, 2012

Splitting and Merging files using WinRAR

To Split:
Steps to merge a file into parts are,
1. Right click on the file which u want to split, then select "Add to archive..." option
2. winrar automatically assigns a name to the newly creating archive. you can change it, if u want.
3. In the bottom left, under the option "split to volumes", enter the desired size of each part to be created. For example the actual file size is 2MB, and you want to split into 4 parts each of 0.5MB, u can this option as 0.5M or 0.5m or 0.5MB or 0.5mb.
4.Click Ok. After a while, the main file will be spitted.

To Merge:
This is very easy process.
1. Select all the parts of the file
2. Then right click on all of them (all should be selected)
3. Click on "Extract Here"
That's it, the actual file will be created.