swap not auto mounted in ubuntu or linux

April 21, 2009

go to /etc/fstab

look for swap part it would be something like

UUID=e5785762-91be-4c98-8492-7398671c923c none swap defaults 0 0

the problem may be with the UUID

get the UUID of ur swap using

sudo vol_id -u <partition>  // <partition> is the partition of ur swap like /dev/hda5

copy the UUID and paste in the UUID part in /etc/fstab for swap and save it ( u may required to be a super user to do tht) and voila the swap ll auto mount

Advertisements

Inside Google Fortune

February 8, 2009

Everyday i wait to see the day’s fortune from google and let me tell you that  i don’t believe in astrology. I have seen people posting questions on how the google’s fortune works and for them i think i have an answer.

A few days back i had set my status message in gmail’s chat as ““i ‘ll make him an offer he can’t refuse” – Godfather“. And guess what, the next day my fortune was “An eye for an eye leaves the whole world blind” which i was (and am) glad to see and immediately changed my status msg to previous one which is “look at everything as if you are looking at it for the first time or last time your life on earth will be wonderful”.

conclusion Google may be reading our status messages and posts (scraps) to generate fortune rather using some gibberish complicated random algorithm.

Feel that to be a coincidence. Nope, don’t think so.

the Next day i.e. after resetting my status to old one i got the fortune as ”
The guy who reads your fortune lost his psychic powers (and his job). We hope you are feeling lucky.” which i feel is perhaps because  their bot (fortune teller), read my chat with my friend telling him about this.

P.S – I am happy that google decides our fortune by gauging our actions (chats, status messsages,scraps …) than employing  someone with crystal ball 😀

high cpu usage on ubuntu kacpi problem solution

October 20, 2008

hi fellow mortals

i think the 99% CPU usage in ubuntu due to kacpi (– it can’t be solvd using changing the menu.lst file as only one core in DUAL core appers then–) cant be solvd but can be avoided by

COLD BOOTING ur PC / LAPTOP

ie if u hav dual boot with XP dont log in to ubuntu by restart

turn off completly  (includin UPS,no power suplly :)) and then start again

also remember that  kacpi kicks in after stand by or restart so  avoid that

this solution works fine for me  🙂

hope this prob no more hold us from using ubuntu

rag

Google’s StreetView a new feather on google’s hat

September 14, 2008

This is really a cool new feature in google maps. This lets us actually travel through the streets as if we are there and the perspective view rendering is awesome

You can even see the sky and it even takes you to the address if you type it search

One of the best things i found on web and you know what its free as of now 🙂 so try it out soon

one sad thing is that its not available  everywhere limitted to us,france,aus,japan hope it soon available every where

permission denied to get property Element.childNodes firefox 3

September 1, 2008

hi evry1

i found ‘permission denied to get property Element.childNodes’ error pops up in firefox 3 when loadin data from xml file. this error is due to a bug in firebug

so remember firefox  3 + firebug is this bug. dont forget to disable firebug when using XML

but firebug is a  cool addon that comes with firefox to find bug. helps to find errors and do element wise analysis

Artemis Fowl a book to be read by every homosapien

August 12, 2008

Arty begins his adventures at the age of 10 when most of us would have been watchin tv or playin with dogs.He’s a child prodigy, master mind though cunning then he has changed ‘1/0ly’.

His adventure starts (for us) at Artemis Fowl and has continued till Artemis Fowl Time Paradox (the sixth in the sequel). The excitement revolves around the master mind and ‘people’ -> the Lower Elements who chose to live underground than to be with humans (mud people) thats us by the way. Just bcoz they  went underground and dont think they are left behind far in the technology, well its the other way round its actually we humans who are far behind in technology.

This book has witty dialogues and roller coaster riders // thats how it is when you move through the sory a very fast ride.

Arty is Eoin Colfer’s creation and am happy i had the chance to know him in my life. hope you would be lucky to know him as well

C programming or is it our way of communicating

August 6, 2008

/*dudes 

 our Dnns Ritche developed C from B 

yes its true C came from B

from C came the C ++

and from which evolved the Java*/

#include<myfirstpost.h>

🙂 askRagToCode( someone)

{

   if(someone != 0)

       ragURneededhere();

}

void main()

{

 printf(“hi guys and gals \”);

printf(“if any of ye wanna do some codin in C or C ++\”);

printf(“i wil always be there to do some thing for ye”);

askRagToCode(1/0);

}