Thursday, February 26, 2009

Get the grub of your ubuntu machine

lot of my fresh to linux friends asks about how to get the grub (boot loader information) of your machine, this grub will help you to restore your ubuntu system, after installing another OS on it beside your ubuntu.

to get the grub, you need to lig on your system as root,
su root
then enter the password,
now, this is the Xfactor:
dd if=[source] of=[destination] count=1
the command dd, which copy the content of if and put it in of location,
count means how many block copied from the source to destination
now, if you want to get the grub of your machine, you'll enter this command
dd if=/dev/sda of=/home/aigdonia/grub.bin count=1

this will read the first block form /dev/sda (you need to change it according to your system) and paste it in /home/aigdonia/grub.bin (change to wherever you like to paste)

now, you've a file called grub.bin on /home/aigdonia holds the first block of your hard disk, you can now install Windows or whatever OS you like then you'll restore the grub again by doing the following simple steps:

from your ubuntu live CD, write the following in the shell window:
sudo dd if=[grub.bin] of=[/dev/sda] count=1

this will do the reverse operation, and then you can leave the live session and log normally to your ubuntu :)

Thursday, February 12, 2009

I was in Cairo ICT 2009

Yesterday (11 Feb) I was in Cairo ICT 2009, this is a forum and technology conference take over in Cairo/Egypt
Cairo ICT collects Technology Makers in all the world and bring them in one place to share the Technology and knowledge too,

I was there to attend conference by SUN Microsystems talks about NetBeans IDE as innovated Application to easily develop Java Applications, including Java2 SE, Java2 EE, and Java2 ME
in addition to applications profiling, and JavaFX

I like the event so much, and sun give me nice small stress ball with sun Logo on it,

I'll provide more details about the event later with pictures.

Ahmed Gaber

Thursday, February 5, 2009

I've passed in the first Term Exams with V.good

today I've passed in the first term Exams in my college, I'm very happy especially that I've passed with Grade V.Good

I like to thank all those pray for me and I'll do my best to improve this grade in the Second Term.

and I'll celebrate today.