Friday, July 20, 2012

Install virtualbox Guest Additions in OpenSUSE 12.1

zypper install gcc make autoconf kernel-devel kerenl-desktop-devel kernel-source kernel-syms

Run rpm-qa | grep kernel



if you see any version mismatch add the kernel repo and then update by


zypper update kernel-****


reboot

Then 


cd / usr / src / linux 
make cloneconfig 
make modules_prepare  


reboot

and then install Guest Additions,hopefully it will work!!!!



source:http://translate.googleusercontent.com/translate_c?hl=en&prev=/search%3Fq%3Dthe%2Bheaders%2Bfor%2Bthe%2Bcurrent%2Brunning%2Bkernel%2Bwere%2Bnot%2Bfound%2BOpen%2BSUSE%26hl%3Den%26safe%3Doff%26biw%3D1024%26bih%3D636%26prmd%3Dimvnsfd&rurl=translate.google.com&sl=zh-CN&twu=1&u=http://www.douban.com/group/topic/22112329/&usg=ALkJrhjvrcLhpQjS2tvv9bEA8w63ARWi-g 

Saturday, July 14, 2012

Solving windows 7 ntoskrnl.exe blue screen of death


Two cases concerning memory corruption, probably driver related, and one case of possibly corrupt system files.


Firstly, you should test RAM with memtest.You can use built in memory test application http://www.howtogeek.com/howto/wind...y-using-windows-vista-memory-diagnostic-tool/
You should do at least 7 full passes. Post the test results here.


Secondly, insert your windows installation DVD, boot from it (usually, you can enter the boot menu by pressing the F12 key just after starting your PC and choosing the DVD drive on the list) and on the first screen choose language.


On the second screen click "repair your computer", in the dialog that appears click next (here note the drive specified on the right, it will probably be D: ) and finally choose "command prompt".
Once at the command prompt, input


Code:
chkdsk d: /r /f 


Allow it to complete the scan and post the results here.


Lastly, once back at the command prompt, input this
Code:


sfc /SCANNOW /OFFBOOTDIR=c:\ /OFFWINDIR=d:\Windows


Typically, c: is the boot partition, d should be the windows partition, from the recovery console perspective.


If unsure, you can input
Code:
diskpart
list volume
which will show you the list of all available partitions.

Wednesday, July 4, 2012

Install google chrome on CentOS 6/Scientific Linux 6


Enable Google YUM repository

Add following to /etc/yum.repos.d/google.repo file:

32-bit

[google-chrome]
name=google-chrome - 32-bit
baseurl=http://dl.google.com/linux/chrome/rpm/stable/i386
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub

64-bit

[google-chrome]
name=google-chrome - 64-bit
baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub

Note: Both 32-bit and 64-bit repos can be placed in the same file.

Install Google Chrome with YUM (as root user)

Install Google Chrome Stable Version

## Install Google Chrome Stable version ##
yum install google-chrome-stable

Install Google Chrome Beta Version
## Install Google Chrome Beta version ##
yum install google-chrome-beta

Install Google Chrome Unstable Version

## Install Google Chrome Unstable version ##
yum install google-chrome-unstable

Monday, July 2, 2012

Enable EPL on RHEL compatible distros such as CentOS/Scientific Linux

How can I install the packages from the EPEL software repository?

There are repository rpm packages for RHEL5 and RHEL6. The repository package installs the repo details on your local system for yum or up2date to use. Then you can install packages with your usual method, and the EPEL repository is included.

For EL5:

su -c 'rpm -Uvh http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm'
...
su -c 'yum install foo'

For EL6:

su -c 'rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-7.noarch.rpm'
...
su -c 'yum install foo'



then install the rpms from rpmfusion and you will be fine