Grub Reinstallation
It has always been a very common problem among the users when they install Windows after LINUX, The master boot records from the memory are Lost and they are writed for windows only systems, So here is the way to write Master boot records or rather installing grub again so that LINUX gets back to work
1. Boot the Desktop/Live CD of linux.
2. Open a terminal (Applications -> Accessories -> Terminal)
3. Start grub as root with the following command :
sudo grub
4. You will get a grub prompt (see below) which we will use to find the root partition and install grub to the MBR (hd0,0)
[ Minimal BASH-like line editing is supported. For
the first word, TAB lists possible command
completions. Anywhere else TAB lists the possible
completions of a device/filename. ]
grub>
Type the following and press enter:
find /boot/grub/stage1
Using this information, set the root device:
grub> root (hd0,1)
Install Grub:
grub> setup (hd0)
Exit Grub:
grub> quit
5. Reboot (to hard drive). Grub should be installed and both Ubuntu and Windows should have been automatically detected.
6. If, after installing grub, Windows will not boot you may need to edit /boot/grub/menu.lst (That is a small āLā and not the number 1 in menu.lst)
* Open a terminal and enter :
gksu gedit /boot/grub/menu.lst
Or, in Kubuntu:
kdesu kate /boot/grub/menu.lst
Your Windows stanza should look something like this :
title Windows XP/Vista # You can use any title you wish, this will appear on your grub boot menu
rootnoverify (hd0,0) #(hd0,0) will be most common, you may need to adjust accordingly
makeactive
chainloader +1
Best Alternative:
If their is a problem with grub or u want to make this still easy u can reinstall your grub by a application known as
Super Grub Disk iso Image (4.39MB)
Boot your system using the disk and follow the instructions…
June 16, 2009 - Posted by SD||⢠| Experiences, Linux, boot, grub | boot menu, grub, grub corrupted, Linux, restore grub, super grub, windows | No Comments Yet
No comments yet.
Leave a comment
About
Here you can find procedures and ways to shift your OS platform from Proprietary Windows to Open Source Linux. Many more topics related to Linux. I have Posted Certain Procedure and tips for operating in Linux environment. Hope you find it useful. Do comment on the posts…
-
Recent Posts
-
Top Posts
Categories
- Bluetooth (3)
- boot (1)
- Commands (3)
- Driver installation (1)
- Error Handeling (3)
- Experiences (14)
- FAQ (5)
- gnome (2)
- GPRS (4)
- grub (2)
- Hard Drive (1)
- Internet (7)
- Linux (23)
- Uncategorized (1)
Tweety Tweets
- RT @linuxquestions Retweet this for a chance to get a Google Voice invite. Winner will be randomly selected in 2 hours. #linuxquestions 3 days ago
- Ported myself to debian lenny 2 weeks ago
- wow!! maths exam over!! and that was a good one!! haahh!! tension gone!! 2 weeks ago
- Don't you think M$ have ever used Linux kernel in development of Windows!!! lol!! 2 weeks ago
- google wave wave... 3 weeks ago
Google Sci/Tech News- Microsoft launches on-demand email - Times of India November 6, 2009
- Acer's Three New Smartphones in India - Techtree.com November 6, 2009
- 10 Million Samsung Star S5230 Sold - Techtree.com November 6, 2009
- Toshiba Notebooks to be Equipped with Windows 7 - TopNews Singapore November 7, 2009
- Sixthsense interface to go open source - Economic Times November 6, 2009
- Charles Darwin and the children of the evolution - Times Online November 7, 2009
- Indian Army launches its own webportal - Merinews November 7, 2009
- Gigabyte's USB 3.0, SATA 3.0 Mainboards - Techtree.com November 5, 2009
- Verizon Wireless rolls out LG Chocolate Touch - Mobiletor.com November 7, 2009
- Best Buy Lends Google A Hand To Distribute Google Mobile App - eBrandz November 7, 2009
Tag Cloud
Airtel applications apps Bash Bluetooth boot menu BSNL Commands computer locations desktop icons dial-up Dial-up Connection glib gnome GPRS graphic driver grub grub corrupted gvfs Hard Disk Hard Drive Idea install Internet Linux nautilus NVIDIA Partition Table Reliance GSM restore grub rfcomm0 run extension Shell Commands startup start x server stop x Server super grub terminal touchpad Ubuntu Vodafone What is Linux windows wvdial X ServerSearch – Linux Lingo