IgniTech Logo

IgniTech Logo
Vinoth

Wednesday, March 4, 2009

Retriving Back Ubuntu After Reinstalling Windows in a Dual Boot System

When you reinstall your windows in a dual boot system having you windows and ubuntu. Probably you will get a thought that your ubuntu got removed from your hard drive, and you may reinstall you ubuntu also. Thats a waste of time… Your ubuntu will be safe in your Hard drive but the thing is the boot loader doesnt know there is Ubutu in the hard drive and its location. This is because

This is because, Windows in not more friendly. When you install the Windows it over writes other Boot loaders with its own. Also doesnot identify other Operating systems in the hard drive. Where are opend source boot loaders such as GRUB that come with most of the linus distros are more friendly and detects amost all operating systems.

So to get back your Ubuntu. Just install GRUB (Boot Loader) alone with the help of a Ubuntu cd or dvd, that will take few second than wasting you precious time. Also will give you back the same Ubuntu that you were using before and all softwares install as before….

To install GRUB alone follow the steps:

1. Boot your system with a Ubuntu Bootable Cd and Choose Live CD mode

2. After the Ubuntu boots in the Live-CD mode, press Alt-F2 and type gnome-terminal, and press Enter

3. Now follow the commands below

sudo grub
find /boot/grub/stage1
root (x,y)
setup (x)
quit
sudo shutdown "now" -r

The resulting "find" command will display something like (hd0,1). In this example, you would then type root (hd0,1) and then setup (hd0) in the above area. These numbers might be different; that's why I included the "find" command. So that find command will locate the partition where linux wass installed previously. That is Ubuntu partitions located either in front or behind their Windows installation or on a completely separate internal/external hard

--
vinoth

No comments:

Post a Comment