Recovering Ubuntu/Linux After Installing Windows

Restore GRUB2 after installing Windows

How I Restored GRUB2 after a Windows 7 Install. GRUB2 (Grand Unified Bootloader)  is a universal bootloader used by Ubuntu and other Linux Distributions. If you have a Linux Distribution installed on a partition, and attempt to  install Windows alongside it, your GRUB bootloader will be overwritten by the Windows bootloader, and your computer will only boot into Windows.

Recovering the GRUB2 Bootloader after a Windows Install  is simple. When finished, your Bootloader should detect all installed Operating Systems and automatically add a bootable menu item for each of them.

Continue reading

Google launches free SMS on Gmail in India

After revolutionizing the internet with its free search, Google is now offering yet another free service. Search giant Google has started rolling out ‘free SMS’ for its free email service Gmail and paid email service Google Apps customers in India. The service allows users to send smses to mobile phones from chat windows. Users have to add mobile numbers of their contacts in the email address book and they are set.

Google is partnering with telecom operators for this service.  “You can always send an SMS to your own phone, and then reply to that message multiple times. Every time you send a reply message, your SMS credit is increased by five,” says Google.

Using the free Gmail SMS service users can send text messages to mobile phones via Gmail Chat. Responses to the smss will appear as replies in Gmail Chat and conversations will be stored in users’ Chat history, like regular chats. This feature was activated for Indian users on October 10 and is available for regular Gmail users as well as those on Google Apps.

In India the free Gmail SMS service is available on eight major mobile service operators: Aircel, Idea, Loop Mobile, MTS, Reliance, Tata docomo, Tata indicom and Vodafone (Delhi, Mumbai, Kolkata, Gujarat, Andhra Pradesh, Bihar, West Bengal & Andaman and Nicobar, Assam, North East).

Users can now send text messages or sms to mobile phones using Gmail chat. The service went live on October 10, 2012Users are initially given a credit of fifty messages and for every message sent the credit decreases by one and for each message received in response to a text message sent via Gmail Chat, the user’s credit increases by five, up to a maximum of 50. When the SMS credit goes down to zero, one credit is added after 24 hours. Google has built in the credit limit to prevent misuse of its free SMS service for marketing/spamming.

If no replies are received to any of the 50 smses sent and the credit balance come down to zero, Google says, “…it will increase back up to one 24 hours later. So, you won’t ever be locked out of the system.”

For the mobile phone user, the reply is charged at local SMS rate as per her/his normal billing plan.

Users can also ‘buy’ SMS credit, when they’ve run out of them, by sending a text message to their own phone and then by replying to that message.

People who do not wish to receive smss sent from Gmail Chat can block future messages from the sender by replying to the message with the word ‘BLOCK’ and later if they wish to continue receiving messages they can reply to the message with ‘UNBLOCK’.

If Gmail Chat SMS recipients in India do not wish to receive any messages on SMS from any Gmail user, they can stop the service from sending them messages by texting ‘STOP’ to +918082801060. To reactivate the service they can SMS ‘START’ to the same number.

To send an SMS from Gmail, on the Gmail Chat interface type the phone number you want to send an SMS to and click Send SMS and then add the recipient’s name and country, then click Save. Then write in the message in the chat window and press Enter.

While sending SMS from Gmail Chat to phones is free, responding to Gmail sms from the phone may incur standard SMS charges.

Lost Linux password ? Reset it !

Have you ever been in a situation where you have lost your password and need to reset it as you want your files badly,You can easily reset passwords, though you must be careful. If a user has an encrypted home directory, you must not change the password this way! This will make all encrypted files inaccessible. You can only use this method on user that doesn’t have an encrypted home directory.

Steps:

1. Get the GRUB menu to show. It is shown by default if you have multiple OS installed, else please hold shift key down during booting to get the GRUB menu to show.

2. In the GRUB menu, highlight the OS you want to boot (if only one is installed, it is already highlighted). Then press the “e” key to edit the boot parameters.

3. Move your cursor to the end of the line similar to:

Code:
linux /boot/vmlinuz-3.2.0-23-generic root=UUID=b8080487-b557-4f55-b288-d7ef2c2b9cc1 ro   quiet splash $vt_handoff

and replace $vt_handoff with init=/bin/bash. So that it reads:

Code:
linux /boot/vmlinuz-3.2.0-23-generic root=UUID=b8080487-b557-4f55-b288-d7ef2c2b9cc1 ro   quiet splash init=/bin/bash

then press F10 to continue the boot.

4. After a little while, and some error messages you can ignore, you are now logged in on the root console without having had to enter a password. Next, run the following command to remount the / partition so you can write changes to it:

Code:
mount -o remount,rw /

5. Finally, run the following command for each user (without an encrypted home directory!) that you want to give a new password. Replace “username” with the name of the user.

Code:
passwd username

6. Then sync the file system so all changes are written to disk, and reboot:

Code:
sync
reboot -f

And, to be clear, once you have rebooted you need to login as an admin user to make changes to the system (somebody member of the sudo group). And you confirm where need with the admin’s own personal password. A standard user (not a member of the sudo group) is not allowed to make changes to the system.

Run Turbo C/C++ in a 32 and 64 bit Windows System in Full screen mode using DosBox

Turbo c/c++ compiler is the most basic programming component required for any engineer ,student or any person afflicted. Users having windows  7 operating system are not able to access turbo c/c++ compiler in Full screen mode, you have to work in a tiny screen as windows NT 6.0 or higher doesn’t support full screen mod of 16 bit programs and turbo c/c+ is 16 bit program.

So i’m having a solution for it in the form of DosBox.Now you must be thinking what is DosBox??? Technically DosBox is a DOS-emulator that uses the SDL-library which makes DOSBox very easy to port to different platforms. DOSBox has already been ported to many different platforms, such as Windows, BeOS, Linux, MacOS X…Or in simple terms DosBox is a DOS-emulator, which will help you to run old 16-bit DOS programs or game in 32/64 bit operating systems environment. So using dos box you can easily run your Turbo C/C++ compiler in windows 7, no matter 32 bit or 64 bit.Using DOS BOX you also can play your favorite Old DOS games.

Here is simple procedure to run Turbo c compiler on windows 7 system.

1.install DosBox from Here  ,select windows 32 bit version ,even for 64 bit system.

2.Open Dos box and you will find two windows , from that one will be working window of DOS BOX where you can write your DOS commands.

3.Now you need to mount your c drive and have to setup a working folder in it,that working folder will act as a root folder in emulator’s c drive.
so create new folder in c drive, name it as ” dosbox “

4.copy your TC [TurboC/C++ compiler’s ]  folder in dosbox folder

for mounting dosbox folder in c drive as root directory type :

mount c c:\dosbox  

hit enter ,then you will find something like this

now type :

c:

hit enter ,then you will find something like this

5.Now DosBox folder is your root directory in DOS emulator ,so type:

cd tc\bin

hit enter ,then you will find something like this

6.Now simply type tc ,and hit enter ,your compiler’s screen should get open now..

7.Hit  ALT + ENTER to get it work in Full Screen mode,,

That’s it you are done !!!

NOTE:

(1)Don’t use CTRL+F9 to run file directly in Turbo C compiler as CTRL+F9 in close command for DOSBOX so instead of it ,run from option provided in compiler itself..

(2)Don’t use numpad for input as NumLock is not supportive in DosBox so instead use standard number keys to give numeric input.

Now whenever you open dos box to use TC ,every time you have to type all codes again ,to make it simple you can follow this :

Goto : START > ALL PROGRAMS > DOSBox-0.74 > OPTIONS > DOSBox 0.74 Options.

open DOSBox 0.74 Options . You’ll find a notepad gets open ,scroll it to end part and you will get something like this ,

Add this line at end and save that file ,just press CTRL+S. Don’t try to edit any thing else,or you’ll end up messing all.

mount c c:\dosbox
c:
cd tc\bin

It should look like this.

So now next time when you open dos box ,this codes will get execute in ordered fashion and you just require to type tc to open compiler..

” Nexus Q ” : All That You Want To Know.

This slideshow requires JavaScript.

The world’s first social streaming media player

Introduction for Nexus Q

Nexus Q was unveiled by Mountain View at Google I/O 2012 just a few weeks ago and if you and android fan than there is no way in the world you have missed this one.  The streaming media platform sells for $299 directly from the Google Play Store and brings along a TI OMAP 4460 dual-core processor. The spherical device also has 1 GB of RAM and 16 GB of storage, along with integrated Wi-Fi, Bluetooth, NFC and Android 4.0 (Ice Cream Sandwich).

FEATURES & ACCESSORIES

Built to Play

Nexus Q streams your favorite entertainment directly from the cloud to your living room. Just use the Google Play and YouTube apps on your Android phone or tablet to surf an ocean of music, TV, movies and videos, and Nexus Q will play it all on the biggest speakers and screen in the house. There are no downloads, no syncing, no running out of space. Just the stuff you love — at home and out loud.

Music

Choose a song from the Google Play Music app on your phone or tablet and play it instantly on Nexus Q. Discover millions of songs in the Google Play store, and upload up to 20,000 of your own for free. Music Manager uploads your iTunes or Windows Media Player library to Google Play so that your collection is available anywhere, anytime.

Movies and TV

Thousands of movies and TV shows are instantly available from Google Play on your Nexus Q. Just browse or search on your phone or tablet and stream whatever you want to watch to your HDTV with Nexus Q.

Not  Another  Black  Box

The 32 LEDs that ring Nexus Q shift and change color in time to your music. Choose your favorite effect and put your Nexus Q where it can be seen, and touched.

Play together

You can connect multiple Nexus Qs to fill your house with sound. Select the devices you want to play on from within the Google Play apps or YouTube.

Continue reading