How To Install Grub2 On Ubuntu Jaunty


Hi guys :)


So, my exams are finally over and now I can finally write something useful in this blog.

I recently (well not **that** recently) updated my legacy grub to [grub2](http://www.gnu.org/software/grub/grub-2.en.html). So, I thought I’d write a how-to for those who haven’t yet done the switch.

**NOTE:** Scroll down to the end of the post for a screenshot ![;)](http://kbhaskar.in/wordpress/wp-includes/images/smilies/icon_wink.gif)

Alright, so lets move on…

This one’s not gonna be detailed, well, mainly becouse it’s not that tough to update, it’s pretty easy on an Ubuntu (or debian based) system.

Here we go…

Open up a terminal and write this: ****

**sudo apt-get install grub2 grub2-splashimages
**
This will install grub2 just like it installs every other package (what can I say, Debian roxx! ![:D](http://kbhaskar.in/wordpress/wp-includes/images/smilies/icon_biggrin.gif) ).

After all the unpacking and stuff, it will ask give you some warning, just say OK to them.

After the unpacking and installing is done, you can restart your system to boot into Grub2 and **test** it.

Once you’ve rebooted, your default **grub** will load up and it has a new option called **‘Chainload into Grub 2′**. Now, you know what to do ![;)](http://kbhaskar.in/wordpress/wp-includes/images/smilies/icon_wink.gif)

Select **‘Chainload into Grub 2′** and press **ENTER**. And cross your fingers…

If it shows up fine then congrats!! Grub2 works! Now, don’t forget to test some other stuff (if the splashimage shows, then it’s well and good, if it doesn’t, then don’t worry I’ll show you how to set it up).

**NOTE:** Grub2 is **not** completely integrated **yet** into your system, the reboot is done to check if it runs fine in your system. If it does, then it’s well and good and if it doesn’t, you can remove grub2 by the following command: **sudo apt-get purge grub2**

Anyhoo, I haven’t yet seen anyone have problems when installing and testing **grub2** with the default configuration.

And now, if your Grub2 boots fine and it says ‘1.96’ as the version no. on the top of your grub menu, then **congrats!** Grub2 works fine on your system!

Now, to make grub2 install permanent, you will have to perform just one more command…yup, just one more, I promise ![:P](http://kbhaskar.in/wordpress/wp-includes/images/smilies/icon_razz.gif)

Once booted into Ubuntu, open up a terminal, and type **sudo upgrade-from-grub-legacy** and you’re done!

Now **Grub2** will boot by default on your system.

And now, you’re probably thinking, where are the friggin splashimages that I installed and that everyone’s talking about! Have patience dude/dudette ![:P](http://kbhaskar.in/wordpress/wp-includes/images/smilies/icon_razz.gif)

Alright now, first thing you should know is that, **Grub2** does **not** have it’s configuration in the file **menu.lst** located in /boot/grub. It, on the other hand, has configs located in the dir **/etc/grub** and in the file **/etc/default/grub**.

So, to change your configuration (like the timeout and the boot options), you need to change the file: **/etc/default/grub**

And to add splashimages (woohoo!) and kernels and such, you need to modify the files in: **/etc/grub**

Now, to add the splash images ![:P](http://kbhaskar.in/wordpress/wp-includes/images/smilies/icon_razz.gif)

Open up **/etc/grub/005_debian_theme** file with your fav text editor (nano does the job for me ![;)](http://kbhaskar.in/wordpress/wp-includes/images/smilies/icon_wink.gif) ).

Now find this line: for i in {/boot/grub,/usr/share/images/desktop-base}/moreblue-orbit-grub.{png,tga}

and change it to:for i in {/boot/grub,/usr/share/images/desktop-base,/usr/share/images/grub}/.{png,tga}

NOTE: Replace the **** with the name of your theme file. Your splashimages (that you just installed) are located in **/usr/share/images/grub**. So, first find the image you want to use as the splashimage, and then replace **** with the name of your splash image **without the extension** (like png or jpg).

For me, my splashimage line looks like this: for i in {/boot/grub,/usr/share/images/desktop-base,/usr/share/images/grub}/Moraine_Lake_17092005.{png,tga}

So, for me, I’ve chosen the image **Moraine_Lake_17092005** located in the **/usr/share/images/grub** directory.

After that, you can use the **update-grub** command to update the grub configuration and then reboot to test out your new splashimage! ![:)](http://kbhaskar.in/wordpress/wp-includes/images/smilies/icon_smile.gif)

PS: I apologize for not posting any screenshots here, since it’s been quite a while since I upgraded to Grub2, and I forgot to take screenshots when at that time ![:P](http://kbhaskar.in/wordpress/wp-includes/images/smilies/icon_razz.gif) (what I can I say, I forget things easily ![:P](http://kbhaskar.in/wordpress/wp-includes/images/smilies/icon_razz.gif) ).

But, here’s a wide-screen shot of my Grub2 with Morain_Lake splashimage in action! ![:D](http://kbhaskar.in/wordpress/wp-includes/images/smilies/icon_biggrin.gif)

[![Grub2 Screenshot](http://gastly.iblogger.org/wp-content/uploads/2009/05/pic0527001-300×225.jpg “Grub2 Screenshot”)](http://kbhaskar.in/wordpress/wp-content/uploads/2009/05/pic0527001.jpg)Grub2 Screenshot

Real Life Update

Hello :)

Exams are soo close I feel like I’m doomed :P

But I took out just a bit of time to update this blog…Just to tell everyone what’s going on :p

I know you don’t care, but hey, gotta keep this blog running lol

So, I have exams from 14th…Thursday, and on that day I have my birthday too…what a day that will be lol

On one hand I’ll be happy that I’m gonna get loads of presents and on the other hand…the fear of exams hehehe…and so much for the birthday party :P

It’s all study study study for me :P

Oh and yeah, I joined twitter…(I hear you say ‘Good Morning’), but well, yeah it’s a bit late, so wht? :P Better late than never :P

You can follow me here: http://twitter.com/gastly1990 (IF you want, no pushing here :P )

OK, so much for this update, and yeah I’ve also added a twitter widget on the right side, there —-> (for those who dunno where right is :P ).

That’s all…wish me luck in my exams ;)

Keep visiting :)

Cya :)

![](http://img.zemanta.com/pixy.gif?x-id=eadbb3ed-61c2-8f09-be91-08a9de1c11a7)

Make A Lazer Into A Burner

I just stumbled upon this awesome video from SEP (Shooting Egg Productions) on Metacafe

It teaches you how to turn your 15$ lazer into a 600$ burner! Well, it isn’t much of an effort (it looked like it from watching the video), but it is a really cool thing! :)

Here’s the video:

[Hack A Laser! Make It A Burner!](http://www.metacafe.com/watch/2363157/hack_a_laser_make_it_a_burner/) – [Celebrity bloopers here](http://www.metacafe.com/)

[Hack A Laser! Make It A Burner! – Video](http://www.metacafe.com/watch/2363157/hack_a_laser_make_it_a_burner/) [[MetaCafe](http://www.metacafe.com/)]

>

![](http://img.zemanta.com/pixy.gif?x-id=aaab24b7-f9e1-8cee-89fb-50d34609a0fb)

First Look At Ubuntu 9.04 (Jaunty Jackalope)

Hi all!

OK, so I promised I’d write a review about Jaunty when it comes out, but sheesh, I have exams going on (and I’m also 3 days late now…yeah, Jaunty got released on 23rd :P ). But oh well, you can’t do anything about your real life eh?

It’s hard to keep your blog running with real life problems on your head (exams :P ).

I just stumbled on an awesome post on Lifehacker which reviewed Jaunty and lists it’s cool new features. So, here’s the link: Lifehacker – First Look at Ubuntu 9.04 Jaunty Jackalope – Ubuntu 9.04

I can only apologize for not writing my own review (not that you waited for it, did you? naughty naughty…).

OK, time for me to run, I’d be able to get this blog running in full pace only after my exams (which will end at the end of May…wow, really long time… :/ ).

Take care all, keep visiting (who knows I might post a couple more stuffs here) ;)

Cya :)

  • gastly
![](http://img.zemanta.com/pixy.gif?x-id=a70b8cfd-ddc7-8594-9041-18fb57eb9f2d)

Ubuntu 9.04 Jaunty Jackalope Due On April 23

logo-ubuntu

Hello everyone!

I can’t wait for 23rd of April now! Yes, Ubuntu 9.04 (Jaunty Jackalope)’s official release date is 23rd of April. This is a happy happy news to all those Ubuntu fans out there who just can’t wait to get there hands on this new version!

OK, so here’s a overview of what’s new in this release:

  1. Gnome – 2.26

Gnome has been upgraded to v2.26 in Jaunty (Intrepid had v2.24.1), which includes lots of bug fixes and feature improvements.

The most notable of which is the new *Brasero *disk burning application. Earlier versions had an ‘easy way’ of burning CD’s, which were built into Nautilus (afaik), but now Gnome has full-fledged app for disk burning!

It also has integrated support for PulseAudio in the volume control bar.

There are many more such as, new visual effects, file-manager improvements etc. In short, it’s better than KDE 4 (imho) :P

  1. X.Org Server 1.6

To quote from Ubuntu’s website:

The latest X.Org server, version 1.6, is available in Jaunty. A number of video cards have been transitioned to free drivers as part of this update.

Sounds good enough! ;)

  1. New notifications

The new notifications of Jaunty (as seen in Beta) are simply awesome!.
Here’s an example: http://www.markshuttleworth.com/wp-content/uploads/2008/12/jaunty904notificationsexample1web092.swf

  1. Boot Performance

According to Ubuntu’s website, it says that boot performance has been improved, I’ve heard that also from the people who are running the current beta of Jaunty, but I’ll test that when I get my hands on the stable release :P

  1. Linux kernel 2.6.28

This is a newer version of the linux kernel, it has many bug fixes and feature improvements…out of which the most notable is the support for Ext4 filesystem. Cool! ;)

  1. Native support for Ext4

Yes, you heard it right, Jaunty has native support for Ext4, which promises to be more efficient and reliable than Ext3 and also faster! ;)
But still, Ext3 is the default option and Ext4 is optional…which is good move, since Ext4 is fairly new.

OK, so this was the feature’s overview of Ubuntu 9.04 (Jaunty Jackalope). I hope you had fun reading it ;)

mutters ooh I can’t wait! :P

Cheers ;)

– gastly

Minimize Your Apps With AllTray [Ubuntu]

I recently found out a new app (to me) names AllTray. It’s a fairly simple app which minimizes your applications to the tray.

It’s really really useful if you want to de-clutter your taskbar (like me). I use it mainly to minimize apps like Thunderbird which do not have a built-in ‘minimize-to-tray’ feature. Although, yes I can use some extentions of Thunderbird which provide a similar feature, but really, I want more flexibility than just an extension.

I use AllTray to start Thunderbird on boot-up and I’m going to show you how you can do that same thing ;)

OK, so fire up a terminal and install AllTray.

sudo apt-get install alltray

And then after it gets installed, you can start it by typing alltray in a terminal (or the gnome app launcher Alt+F2). It then asks you to click on the window which you wish to minimize to tray. But in case of thunderbird, I have done this:

In System->Preferences->Sessions, I have added a new item in the startup list with the following command:

alltray thunderbird&

So, you see, you can minimize apps from the command line too with AllTray. It’s a pretty nice app!

So, please comment if you liked this post (it gives me motivation :P ), and also tell me what you have done with AllTray.

Cheers :)

– gastly

AllTray

10 Open Source Books Worth Downloading…

OK, so I stumbled upon this really nice post on TecTonic, which had a list of 10 Open Source Books that were worth
downloading (according to TecTonic :P ).

But, well, it’s a fairly nice list…I loved the book about Blender titled Blender Basics (number 7 on the list), it taught me some cool stuff about Blender…really ;)

here’s the link, it’s worth checking out imho ;)

10 open source books worth downloading [TecTonic]

![](http://img.zemanta.com/pixy.gif?x-id=a0bced73-bb42-81b9-b581-929f5b4a6249)

Emacs With Nice Fonts [Ubuntu]

Hi all :)

So, I was just tinkering around here and there and I thought ‘hey, why not learn Emacs today’. Seriously, I’ve only used the simple Vim and nano *and *gEdit as of now, and I’ve heard a lot about Emacs.

So, I gave it a try and installed it on my Ubuntu system. But to my amazement the fonts looked like utter trash!

So, I did a search on their website and google and found you can compile your own emacs with cool rendering of fonts and such…but don’t worry, I won’t teach you how to compile emacs in this post!

We’ll do it the ‘easy’ way ;)

In the upcoming version of Emacs, there’s a pixel-shading support enabled (means your fonts will look good with it).

And so, I search Ubuntu repositories to look for Emacs pre-compiled with pixel-shading support, and to my amazement I found it!

So, ok, fire up your terminal and run this:

sudo apt-get update
sudo apt-get install emacs-snapshot emacs-snapshot-gtk

It will download the package and it’s dependencies and after some d/l`ing (downloading :P ) and installing, you’ll get a fully functioning emacs on your Ubuntu system! Pretty cool eh? ;)

OK, so here’s a comparison:

NOTE: I found this pic (first one) on google and therefore this may not be the exact representation of new versions Emacs, but still the fonts rendering is the same that I got from the default Ubuntu repositories. The second pic is of my current one ;)

![](http://img.zemanta.com/pixy.gif?x-id=075fab6e-abeb-8f5c-9cd2-5f816952947a)

Share Ubuntu And Windows Emails in Thunderbird

Hi all, my first ‘useful’ post on this blog ;)

So, as the title suggests, in this post I’ll be showing you how to share emails with windows and ubuntu (on the same machine of course :P ).

So, you say, why would you want to do that?
Well, the answer is simple, to keep things organized and tidy. I have a dual-boot machine with Vista and Ubuntu, and (since I’m a gamer), I can’t wipe vista off my system (although I’d love to ;) ).

So, I use Ubuntu as well as Vista, but the thing is sometimes I have to work on Windows to check my email and all that and when after that I switch to Ubuntu and suddenly I have to open that draft email I created in Windows but*uh-oh* it was in windoze thunderbird…now what?? bummer!

Well, the simple answer is, just share the emails with Windows as well as Ubuntu! And here’s how:

  1. In your Ubuntu, open up a terminal (Applications->Accessories->Terminal).

  2. And then in the terminal type:

thunderbird -ProfileManager

  1. The thunderbird Profile Manager should open up. Now, click on Create Profile button.

  2. Just type a name of the profile (I used Windows) and click on the Choose Folder button.

  3. Now, navigate to your Windows drive (where you have Windows installed):

I’ll use sda1 as an example.

/media/sda1/Users//AppData/Roaming/Thunderbird/Profiles/

and click on OK.

  1. Save your profile.

  2. Now your Profile Manager window should look like this:

Notice: I unchecked the ‘Don’t ask at Startup’ checkbox, since I also wanted to use the default profile. You can safely delete the default profile if you don’t need it. But I’ve kept it coz of some uber-secret-stuff-that-I-can’t-mention-here in there ;)

OK, so, I know I know, there are many more ways of doing this, but this seemed pretty easy for me and therefore I thought I’d share it here ;)

I hope you liked it :)

Cheers :)

![](http://img.zemanta.com/pixy.gif?x-id=378be81d-398c-89a0-bc59-849ef9b803ec)

Welcome

Hello everyone!

This is my new home hehe. Some of you know that I’ve been blogging for quite some time on my wordpress hosted blog – http://gastly.wordpress.com/

Now, I wanted a bit more flexibility and so, I moved to this self-hosted blog (of course a free one, I got no money for hosting :P ).

The other blog (at wordpress) is also there and it will be there forever (well, it will be until something bad doesn’t happen to it). And I will be publishing my new posts over here, so  yeah…new home hehe, new flexible home lol.

So, there ya go…so much for the first post of this blog, I’ll be posting more stuff here, so stay tuned and if you wish, subscribe to my RSS feed! :D

Take care guys and girls!

– gastly