Absolutely Tech

Icon

Yes!! Its absolutely tech…

Recovering GRUB2 after hard-drive upgrade

I upgraded to a 500GB hard-drive and installed windows 7 on it. I then moved my current ubuntu installation from the older HDD to the newer one on another partition, but of course there was no bootloader to load it. I had GRUB2 on older hard drive. I googled about how to recover GRUB2 but couldn’t find one. All I could find was solutions to fix corrupt Grub. So, I just reinstalled grub and then upgraded it to Grub2.

Here’s how to do it:

Boot into Ubuntu Live CD.
Mount the root disk (Disk on which Ubuntu is installed).

mkdir /media/root
mount /dev/sda7 /media/root

where /dev/sda7 is your disk.

Read the rest of this entry »

Post to Twitter Post to Yahoo Buzz Post to Delicious Post to Digg Post to Facebook Post to MySpace Post to Reddit Post to StumbleUpon

[Solved] Ath5k wifi module not working in Karmic Koala

I noticed was my wifi (Atheros AR5001/5007EG) stopped working after I upgraded to Karmic Koala. I searched endlessly on Google without any answer. Then, I remembered that Karmic comes with newer kernel 2.6.31. And ath5k kernel module hasn’t been loaded yet into this newer kernel.

So, I simply executed

Read the rest of this entry »

Post to Twitter Post to Yahoo Buzz Post to Delicious Post to Digg Post to Facebook Post to MySpace Post to Reddit Post to StumbleUpon

Recovering from corrupt upgrade from Jaunty to Karmic

I was excited for the Karmic Koala (v. 9.10) which came out yesterday and I happily started the download and kept the computer switched on overnight for the download to complete. When I woke up, surely the download was completed and I went on to install the downloaded packages. Which the installation was taking place, power went off and computer switched off abruptly. I was in shock and feared I wouldn’t be able to boot into Ubuntu again.

My fears came true when booting process stopped at “waiting for /dev/sda6″. I waited for quite a while but it would never proceed to next step. I pressed Esc and I was dropped into root terminal. I at once did

dpkg –configure -a

That didn’t help much. It gave me error “Read-only file system”. So, I made the file-system writable by doing

Read the rest of this entry »

Post to Twitter Post to Yahoo Buzz Post to Delicious Post to Digg Post to Facebook Post to MySpace Post to Reddit Post to StumbleUpon

Killing Xorg, when things get out of control

Today I experienced a rather strange problem in Ubuntu. It crashed. Actually it wasn’t completely crashed, the mouse clicks weren’t working, I couldn’t switch using Alt+Tab, I could only use the program which was on the screen. The panels weren’t working, though the shortcut keys were. Fortunately enough, I had assigned shortcut key to open the terminal and it was working, so I could even access the terminal.

Fortunately, firefox  (shiretoko) was running as the frontmost application and I was able to access the internet. I searched for How to kill X and was presented with many solutions.

I tried killall X in  terminal but it didn’t work. Suddenly, I remembered that X was called Xorg in jaunty. I did this:

Read the rest of this entry »

Post to Twitter Post to Yahoo Buzz Post to Delicious Post to Digg Post to Facebook Post to MySpace Post to Reddit Post to StumbleUpon

[Solved] Synaptics touchpad horizontal scrolling in Ubuntu

My laptop has a synaptic touchpad and its horizontal scroll was not working ever since I moved to Ubuntu. I didn’t pay attention to it in the beginning as it was not much of a use. But later on it started bugging me so I finally decided to resolve this problem.

Well, installing gsynaptics and enabling the horizontal scroll didn’t work for me but that may work for you. So try this:
In terminal, type:

sudo get-apt install gsynaptics

Type in your password and let it install the package. After installation, go to System->Preferences->Touchpad.

Read the rest of this entry »

Post to Twitter Post to Yahoo Buzz Post to Delicious Post to Digg Post to Facebook Post to MySpace Post to Reddit Post to StumbleUpon

[How-To] Change default application installation location on windows xp

So, you just want to keep a partition for Windows XP and another partition for all your applications that you install. You can change it in all the installations manually but changing the default location is a much better idea. And there are also some applications which don’t let you change the default path.

XP uses the C:\Program Files directory as the default base directory into which new programs are installed. However, you can change the default installation drive and/ or directory by using a Registry hack.

Run the Registry Editor (regedit)and go to

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion
Read the rest of this entry »

Post to Twitter Post to Yahoo Buzz Post to Delicious Post to Digg Post to Facebook Post to MySpace Post to Reddit Post to StumbleUpon

Killing applications in Ubuntu

Well all OSes have bad programs, Linux has it too. Some times they stop responding and unlike windows, they don’t make the whole OS unresponsive. The application alone is unresponsive but you can still use other applications normally. Killing an unresponsive application is fairly easy job in Ubuntu.

Bring the unresponsive application to the front, the app must be having a desaturated look because its unresponsive (if its not, check again… it must not be unresponsive). Launch the terminal and type:

$ xkill

The mouse cursor will change to a cross, click anywhere on the unresponsive application and it will be killed.

To get things done faster, you can type xkill in “Run application” dialog box too. Press Alt+F2 to bring the run dialog box and type xkill and enter. The mouse cursor will change to cross and click on unresponsive app to kill it.

Alternatively, Read the rest of this entry »

Post to Twitter Post to Yahoo Buzz Post to Delicious Post to Digg Post to Facebook Post to MySpace Post to Reddit Post to StumbleUpon

Mozilla Firefox memory optimization

Firefox is getting very popular lately, mainly due to its customizability. I use firefox as my main browser and use all sorts of addons which help me in web-development. These addons make my firefox hungry but I can’t do without them. So, instead I tweaked around some settings in firefox which made it much responsive and faster than before.

To tweak those settings, follow the following steps:

1. Type about:config in your address bar and hit enter.
Read the rest of this entry »

Post to Twitter Post to Yahoo Buzz Post to Delicious Post to Digg Post to Facebook Post to MySpace Post to Reddit Post to StumbleUpon

Actual Hard drive size explained

Many of you would’ve been confused after seeing that it showed less space on computer than it was printed on the hard drive. It happened with me too. When I bought my first 20GB harddisk and was surprised to see only 18.6 GB. I was about to return it back claiming it was damaged when I researched and found out why.

Here’s the explanation.
HDD manufacturers label and make the HDDs using 1000 bytes = 1kb (kilobyte), 1000kb = 1mb (megabyte) and so on. But according to computers 1024 bytes = 1 kb, 1024 kb = 1 mb and so on.
So, computer always will recognize less space due to different measurement values.

Take the analogy of money here. Say, you have a 100 cents, which is 1$ for normal people. Now some crazy guy believes that 120 cents make 1$. For him you won’t have a complete dollar, you’ll have 0.833$. Same is the case with computers. HDD manufacturers are the normal guys, while computer is the crazy one :D .

For calculating actual disk space of any size of disk. Do this:
If you have a 40 GB HDD, calculate its equivalent in bytes using 1000 bytes =1 kb concept. As this is used by manufacturers.
Read the rest of this entry »

Post to Twitter Post to Yahoo Buzz Post to Delicious Post to Digg Post to Facebook Post to MySpace Post to Reddit Post to StumbleUpon

Installing a web server package for PHP development

So, you thought you would make a web application but didn’t know where to start?
This is the place to start. You need a web server installed on your computer before you start any kind of web programming be it PHP, ASP .Net, ColdFusion, JSP.

For developing in PHP, you would have to install an Apache HTTP server, php interpreter, MySQL server. Installing all of them would be a real headache and so would be configuring them to work with each other. To simply this we have WAMPs(Windows Apache, MySQL, PHP).

One such WAMP distribution is XAMPP which is cross platform and has many features inbuilt like filezilla ftp server, a mercury mailing server etc.

To install XAMPP first download the installer file for your OS from the following link:
http://www.apachefriends.org/en/xampp.html

Read the rest of this entry »

Post to Twitter Post to Yahoo Buzz Post to Delicious Post to Digg Post to Facebook Post to MySpace Post to Reddit Post to StumbleUpon

Number Of People Who Visited This Blog

[ 44860 ]

Email subscription

Enter your email address: