Archive for the ‘Linux’ Category

How To: Reinstall GRUB2

December 18th, 2009 by Naman Bagga | No Comments | Filed in Linux, Tech Talk

When I upgraded my Windows Vista installation to Windows 7, the upgrade removed GRUB from the MBR. This is a very common issue if you are dual booting and you definitely face it some day. Reinstalling the bootloader is very common troubleshooting step if your computer refuses to boot. These days, most of the distros like Ubuntu 9.10 use GRUB 2 and the legacy GRUB bootloader is probably history now. As I've mentioned before, reinstalling GRUB is something I can do with my eyes closed because I've done it several time before. Reinstalling GRUB 2 is a bit different and is something new, its still simple though.

Since I had an Ubuntu 9.10 alternate CD, I just booted from it and selected the rescue system option. That has an option to reinstall the bootloader. This is one of the different methods to reinstall GRUB 2. Well, I could've written my own tutorial on how to reinstall GRUB2 but the Ubuntu GRUB 2 documentation has an excellent, well explained tutorial explaining the different methods to reinstall GRUB 2. So refer to it to solve all GRUB2 related problems.

Tags: , , , , , , ,

Ubuntu 9.10-Karmic Koala

December 9th, 2009 by Naman Bagga | 4 Comments | Filed in General, Linux, MANIT Bhopal

Ubuntu 9.10 codenamed Karmic Koala released in the end of October. I was at college at that time and the hostel LAN was not working due to some optical fiber failure. The only way I had to access the Internet was through my mobile phone. Since I'm not insane enough to try downloading a 700 MB iso on a GPRS connection, I decided to wait until the LAN problems were resolved. It did take quite a long time and I was midway through my exams by the time the LAN started functioning properly.

Thankfully my subjects in the 3rd sem were relly easy and I didn't need to study much. The day before my Digital Electronics exam, when the LAN started working, I downloaded the Ubuntu 9.10 Alternate CD. It turned out that the downloaded iso was corrupt and the upgrade failed when I tried it. Then started downloading the iso again using a different download manager. This time the iso was downloaded properly and the upgrade ran successfully. But that doesn't mean that it would improve my 0% success rate with Ubuntu upgrades because as soon as I restarted Ubuntu, I had all sorts of issues with my display and probably the ATI drivers are to blame for this. Understanding the fact that upgrades never work (for me at least) and solving the problems might take even longer than doing a fresh install, I did a fresh install of Ubuntu 9.10.

Then I spent the next few hours installing all the applications again. It was much simpler because I had my home folder on a separate partition so my home folder was intact. I got a rough idea of the applications I had installed through the folders in my home folder. And since the application files were intact, I did not to change any settings and make any customizations. This is what makes using a different partition or youfr home folder so useful. So in no time I was using Karmic Koala with everything just the way I like it.

Ubuntu 9.10 has few big noticeable differences from Jaunty but one thing that is easily noticeable is the significantly lower startup time and the new splash screen. Also Empathy is the default IM client but I'm too used to Pidgin so installed it and I didn't care to check out Empathy(its pretty similar though). Also the Add/Remove programs has been replaced by the all new Ubuntu Software Center. Ubuntu 9.10 works perfectly with my laptop. The media keys, brightness keys, wireless key all work properly without the need for any modifications. I'll probably use at least for the next few months though I must say I was tempted to try OpenSUSE 11.2. I downloaded and burnt the CD too but I'm too used to Ubuntu on my laptop the way it is and feel too lazy to try installing OpenSUSE, a distro that might give me problems with drivers for my graphics card. So for now, I'll be using Ubuntu 9.10 on my laptop.

Tags: , , , , , , , , ,

LAMP Installation On Ubuntu-Easiest method

November 6th, 2009 by Naman Bagga | No Comments | Filed in Linux, Tech Talk, Web D

For noobs, LAMP stands for Linux Apache MySQL PHP. If you don't know what LAMP stands for, you probably have no business installing a LAMP server anyways. Installing LAMP on Ubuntu is pretty simple, you just need to install Apache, MySQL and PHP. I know there are many tutorials on how you can do a LAMP server install on your Ubuntu installation but most of them have long steps explaining how you should install and configure each part. This post is meant to tell you the easiest way to install a LAMP server.

If you are using Ubuntu(or any Debian based Linux distro), installing LAMP is easier than you can imagine. Just open a terminal and run-

sudo tasksel

This should show you a list of prefined software collections. Just select LAMP server and select OK. That's it. Just sit back and relax while your LAMP server is being installed :)

Dell Studio Screen Brightness Control Problem in Ubuntu-Part 2

November 1st, 2009 by Naman Bagga | 7 Comments | Filed in Linux

This post is Part 2 of the Dell Studio Screen Brightness Control Problem in Ubuntu. In that post, I mentioned how you can solve this issue by making an edit in the /boot/grub/menu.lst file. But recently, I upgraded my bootlaoder to GRUB 2. Many people would eventually do so in the near future. As I've mentioned in that post, editing GRUB 2 files isn't as straightforward as editing menu.lst.

Here's a simple solution to get your Dell Studio brightness control buttons working if you are using GRUB 2-

1.Edit the GRUB 2 default options file by running the following in a terminal

sudo gedit /etc/default/grub

2.Look for the line-

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

and change it to-

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash noapic"

3.Now update GRUB by running-

sudo update-grub

4.Reboot your laptop. Your brightness buttons should work perfectly fine now.

Basically, you've made the same edit to the GRUB configuration file here too but the method to do it with GRUB 2 is slightly different.

Navigation »
Subscribe RSS

Canonical URL by SEO No Duplicate WordPress Plugin