Installing Windows Safely after installing Ubuntu

First Create a new partition using GParted.You ll find in ubuntu.If you dont then install it using the following command.

sudo apt-get install gparted
Now follow these steps,

1.Now format the new one as NTFS or FAT using Gparted.
2.Now restart your system and insert your windows CD to boot up.
3.Install windows in the new partition.
4.After installing you ll find only your Windows OS.
5.Now time to restore ubuntu.
6.Insert ubuntu CD and restart your system.
7.Open in Live CD mode and go to terminal.
8.Do the following :

net@net-desktop:~$ sudo grub
[sudo] password for net:
Probing devices to guess BIOS drives. This may take a long time.

[ Minimal BASH-like line editing is supported. For
the first word, TAB lists possible command
completions. Anywhere else TAB lists the possible
completions of a device/filename. ]

grub> find /boot/grub/stage1
(hd0,11) /* you may get someother */

grub> root (hd0,11) /*replace what you get */

grub> setup (hd0)
Checking if “/boot/grub/stage1″ exists… yes
Checking if “/boot/grub/stage2″ exists… yes
Checking if “/boot/grub/e2fs_stage1_5″ exists… yes
Running “embed /boot/grub/e2fs_stage1_5 (hd0)”… 16 sectors are embedded.
succeeded
Running “install /boot/grub/stage1 (hd0) (hd0)1+16 p (hd0,11)/boot/grub/stage2
/boot/grub/menu.lst”… succeeded
Done.

No close the terminal.
9.Thats all you did it.Now you ll find both your Windows and ubuntu.
10.No more steps.Just Enjoy.

cheers,

Balachandar.

Get the Root user Terminal in Ubuntu

Hi friends,
You may use sudo to execute root user privileged commands in ubuntu.But when you need to execute a series of root user privileged commands,every time you may use sudo and you should give your password too…thats a bit irritating…So by using the following command you can get the root user terminal.

1.$ sudo su
2.Give password

IMPORTANT : BE SURE BEFORE EXECUTING ANY COMMAND IN ROOT USER TERMINAL ..

Setting Environment Path in ubuntu

Hi,

Are you a programmer or an IT student then you might come across the problem of setting environment path.Its so easy to set the path in ubuntu.

1.Go to /home/user/

2.Click view tab and check out show hidden files.

3. There you can find a file named as .bashrc

4.Open the file using any text editor.

5.At the last line append your statement which you are normally using in terminal to set the path.

6.It should be like PATH=$PATH:/usr/java/j2sdk1.4.2/bin

7.Thats all.Thanks for reading.

cheers..

Balachandar.K.M

Installing Fonts in Ubuntu

Hi Friends,

Do u ever think about installing a font in ubuntu.I need to install a font in ubuntu two days back ans stucked.But it is so simple and just like windows too.Copying the font to a particular directory.

1.Go to /home/user/

2.There click view tab and check out Show hidden files.

3.Now you can see lots of folders.

4.Now search for a folder named as .fonts , if you cant find then create a new one named as .fonts

5.Now just copy all the fonts to that folder.

6.Thats all.Thanks for reading.

cheers…

Balachandar.K.M

Random Player Game….Give a try Dude.;-)

Hi  friends,

are u bored.I jus created a random player game to play with your luck.

The game is simple.you need to select a number,if it matches with my choice you won.

This is my first app solely created using NetBeans 6.5.1.

Hope you enjoy.Feedbacks are expected.

thank you.

NOTE : Click the link to download.

cheers,

Balachandar.K.M

Ubuntu Password Hack doesnt work on WUBi Installation

Hi friends,
Two days before, my friend asked me to recover his ubuntu password as he
forgot it.Am very happy because just before some days i learned how to hack ubnutu password (See my previous posts).I kicked his system to start and follow those simple steps that i provided in my post.They were amazed a bit (;-).
I successfully find his username and changed his password too.But after restarting the damn doesn’t work.Oh..god what is going on.I tried 3 times and nothing happened.Then i asked him about the installation.Yeah…It was installed using WUBI(A wonderful tool to install Ubuntu inside Windows.For more info See my previous posts). Then i came to know that my hack doesn’t work on WUBI. But am searching to hack WUBI. As soon as possible,I ll be back to kick off WUBI ;-) .

cheers,

Balachandar.K.M

RECHARGE your Mobile for FREE

How to recharge ur mobile for free Recharge ur phone every month freely by following this process Please follow the instruction & you can recharge your SIM card absolutely free.

Yes it is possible, see how technology can be used to make technicians fool.

I just got a mail from a friend of mine teaching me how to reload my hand set every month for free. Engineered by a group of rebel programmers. I am going to share this to all of you. Please follow the instructions as stated below before you start it: Applicable for VODAFONE,AIRTEL, SPICE & BSNL users only ,sorry for idea, BPL and Reliance users and it is done illegally of course.

But there are many things that are illegal in this world. But then who cares. Don’t worry nobody can trap you. No legal action can be taken on you for this. So go ahead without worrying. You can only do this every 24th & 25th of the month as the network system is under upgrade.

1.) ** Dial ” 1415007 ” using your h/phone and wait for 5 second

2.) ** after 5 second, you will hear some funny noise (like sound from TV when the station is finished)

3.) ** Once the noise stop, immediately dial 9151 follow by your phone number

4.) ** A recorded message “please insert your pin number” will follow

5.) ** punch in the pin number ” 011785 45227 00734? and wait for the operator finish repeating the above pin number.

6.) ** After the pin number has been repeat, dial ” 0405-for AIRTEL, 404 -for VODAFONE” . 403 -for BSNL”

7.) ** you will hear a message “for air time top-up press 1723? you just have to follow the instruction

8.) ** After you follow the instruction, the noisy sound will re-appear for about 5 second

9.) ** once the noise stop, dial ” 4455147 ” follow by ” 146 ”

10.) ** after about 5 second, dial ” 1918 ” after 3 second dial ” 4451 ”

11.) ** after you done that, punch in the serial number ” 01174452271145527 ” you will hear dial tone.

12.) ** once the dialing tone stop, dial ” 55524785933 ” you will hear ” please key in your password”

13.) ** the password is ” **** 2+253+7891*+546322 ” wait for the message “your password accepted”

14.) ** you will hear ” please insert your emey number ” now you have to be fast to dial your own h/phone number

15.) ** you will hear a dialing tone, when the call is answered, dial ” 1566 ” and you will hear “re-confirm emery number”

16.) ** once you hear that message, dial ” 6011556 2245334 follow by your h/phone number”

17.) ** after a while, you will hear a message “your pin number is accepted” you have to dial ” 1007 ”

18.) ** after you done that you will hear “your emery number is accepted”

19.) ** continue dial ” 4566 ” you will hear “your password is accepted”

20.) ** once the second message finish, immediately dial your own h/phone number

21.) ** Now you will receive a message saying

…..

…..

…..

…..

…..

…..

…..

…..

…..

…..

..

…..

…..

…..

…..

“NOTHING IS FREE IN THIS WORLD,

. SO, GET BACK TO WORK AND DON’T WASTE TIME !!”

Dont search 4 me to kill …Jus for FUN…

I’m busy hunting down the one who sent me

Ha ha….

NOTE : The credit goes to an anonymous…

“”LOVE TO HEAR YOUR COMMENTS”"

cheers,

Balachandar.K.M

Forgot username and password in Ubuntu NO PROBLEM ;-)

Hello friends,

In ubuntu you have to remember your USERNAME and PASSWORD for every single login session.Sometimes you may leave your Ubuntu untouched for weeks because of your work. When you want to login after a long period,possibly you may forgot your USERNAME as well as your PASSWORD too.

So what to do now.Do i need to reinstall my ubuntu again.Oh !!! god i have to loss my data.I know most of the users are panicked at these times.But i m here to rescue you friend ;-) No more worries….

Jus follow these simple steps to reset your password.

1.Buring the boot up go to GRUB MENU( It shows a list of operating systems                        installed in your hard disk).

2.Select Ubuntu and Press “e”.

3.Now it ll show three lines.The second line ll start with the string “Kernel”.

4.Select this line and press “e”.

5.At the very end of the line add the this string without quotes “rw  init=/bin/bash”.

6.Now press “Enter” and then press “b” to boot up.

7.Now you ll be dropped into a root shell with full permissions.

8.Type “cd home” without quotes.It ll show the list of user names.So Here you can   find forgotten username by using “ls” (without quotes ) command.

9.Now type “passwd ” without quotes.

10.It ll ask new password for two times.Thats all You successfully got your ubuntu back….;-)

11. No more steps…..Keep rocking…..

NOTES: I tried this trick in Ubuntu 8.10.It works fine.But in the root shell it doesnt show the command what you type.Just keep typing and press enter.It ll work.It also accepts only one letter password.You can easily changr your password again after successfully logged in.

cheers, Balachandar.K.M

Kill the Segmentation Fault

Hai friends,
Have you ever compile a c or c++ program using cc or gcc compiler.Then sometimes you might stuck up with segmentation faults.
Segmentation faults occurs when the program refers to an unallocated memory space.
By default the compiler wont show by which instruction the segmentation fault occurs.So you have to go through your entire program to find the culprit.
It is tough to fix a bug even without its line number.
Here is the simple solution to find segmentation faults,

1.Compile the program with “g” flag.
Eg: cc -g filename.c
2.Type gdb a.out
3.It ll take you to the gdb prompt.
4.(gdb)run
5.Give your input values.
6.When there is a segmentation fault the program will stop there.
7.You can see the instruction which causes the segmentation fault.
8.Type “backtrace” without quotes to trace back the segmentation fault.It ll show a number a frames
which are all the reason for segmentation fault.
9.Type “frame frameno” without quotes (to check a particular instruction).
10.There you can find the values of variables by “print variablename” command.

thats all friends,No more worries about segmentation fault.
cheers,Happy programming….
Balachandar.K.M

Multiple Window Behaviour Of Fedora

Hai,

I recently upgraded to Fedora 10.I dont like fedora much.Specifically I hate the the window behaviour of fedora.It opens a new Window for every single click.

But not now.Only two simple mouse clicks can fix this.yes..

1.Double click Computer Icon present in your desktop

2.In that window click Edit tab —> Preferences

3.Select Behaviour tab –> Tick Always Open In Browser Windows.

Linux is so simple…..;-)

Follow

Get every new post delivered to your Inbox.