Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 14-06-2008, 11:21 PM   #1 (permalink)
The Smaller Bang
 
MetalheadGautham's Avatar
 
Join Date: Sep 2007
Location: Gautham City
Posts: 7,491
Default How to Reinstall GRUB


I had installed Sidux a few days back and I am enjoying it.
My mom, dad and sis are pissed off as they don't understand how to use Sidux.
So I installed windows.
I forgot the steps to reinstall grub in MBR.
I am stuck with Sidux Live CD for now.
How do I install GRUB in MBR once again ?

For configuration, I have an 80GB HDD. Single Disc. First partition is a primary one with windows and MBR. Thats where I need to install GRUB I suppose.
__________________
http://TheSmallerBang.wordpress.com
eMachines E725 - T4400 2.2GHz, 1GB, 160GB
Nokia 5130XM * T-Sonic 610 2GB
Nokia 2323C * Samsung Galaxy Y
Apple iPad 2 16GB WiFi
MetalheadGautham is online now  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 14-06-2008, 11:26 PM   #2 (permalink)
TheSaint
 
NucleusKore's Avatar
 
Join Date: Jun 2004
Location: Antigua
Posts: 3,447
Default Re: How to Reinstall GRUB

How to Restore the Grub Menu:

1. Boot from a Live CD, like Ubuntu Live, Knoppix, Mepis, or similar.

2. Open a Terminal. Go SuperUser (that is, type "su"). Enter root passwords as necessary.

3. Type "grub" which makes a GRUB prompt appear.

4. Type "find /boot/grub/stage1". You'll get a response like "(hd0)" or in my case "(hd0,3)". Use whatever your computer spits out for the following lines.

5. Type "root (hd0,3)".

6. Type "setup (hd0,3)". This is key. Other instructions say to use "(hd0)", and that's fine if you want to write GRUB to the MBR. If you want to write it to your linux root partition, then you want the number after the comma, such as "(hd0,3)".

7. Type "quit".

8. Restart the system. Remove the bootable CD.

Sources:
http://ubuntuforums.org/showthread.php?t=24113
http://www.sorgonet.com/linux/grubrestore/
__________________
http://www.neville.in
http://www.linuxrocks.in
"The Future Is Open"
NucleusKore is offline  
Old 14-06-2008, 11:39 PM   #3 (permalink)
The Smaller Bang
 
MetalheadGautham's Avatar
 
Join Date: Sep 2007
Location: Gautham City
Posts: 7,491
Default Re: How to Reinstall GRUB

Thanks NucleusKore, it worked.
I had the instructions already with me, and I too found them on ubuntuforums.org.
But I thought it was Ubuntu Exclusive.
Now I have gotton it clear that its not Ubuntu Exclusive, rather, GRUB Exlcusive

Mods Please lock this thread and perhaps make it a sticky since its a common issue.
__________________
http://TheSmallerBang.wordpress.com
eMachines E725 - T4400 2.2GHz, 1GB, 160GB
Nokia 5130XM * T-Sonic 610 2GB
Nokia 2323C * Samsung Galaxy Y
Apple iPad 2 16GB WiFi
MetalheadGautham is online now  
Old 15-06-2008, 10:35 AM   #4 (permalink)
Wahahaha~!
 
Faun's Avatar
 
Join Date: Dec 2006
Location: Pune/there
Posts: 7,676
Default Re: How to Reinstall GRUB

I always get error on
find /boot/grub/stage1

and damn thing never installs , evern tried chroot method then blah blah..
__________________
Blog | Flickr | Battlelog
Spoiler:
Asus Z68 V-Pro|i5 2500k|TRUE Black|Ripjaws X|U2311H|N560GTX|D7000|XONAR STX|RE272|RE0|CC51|XE200PRO Walnut| TD II V2| Ultraphile|N5800

Mono
Faun is offline  
Old 15-06-2008, 11:01 AM   #5 (permalink)
TheSaint
 
NucleusKore's Avatar
 
Join Date: Jun 2004
Location: Antigua
Posts: 3,447
Default Re: How to Reinstall GRUB

Quote:
Originally Posted by T159 View Post
and damn thing never installs , evern tried chroot method then blah blah..
Then you need

SUPERGRUB
__________________
http://www.neville.in
http://www.linuxrocks.in
"The Future Is Open"
NucleusKore is offline  
Old 16-06-2008, 01:00 AM   #6 (permalink)
The Smaller Bang
 
MetalheadGautham's Avatar
 
Join Date: Sep 2007
Location: Gautham City
Posts: 7,491
Default Re: How to Reinstall GRUB

Quote:
Originally Posted by NucleusKore View Post
Then you need

SUPERGRUB
People are strictly adviced against usin SUPER GRUB.
Its not meant for multiple distros and some other common scenarios.
__________________
http://TheSmallerBang.wordpress.com
eMachines E725 - T4400 2.2GHz, 1GB, 160GB
Nokia 5130XM * T-Sonic 610 2GB
Nokia 2323C * Samsung Galaxy Y
Apple iPad 2 16GB WiFi
MetalheadGautham is online now  
Old 16-06-2008, 01:30 AM   #7 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Default Re: How to Reinstall GRUB

afaik ubuntu got something like startup-manager
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Recover GRUB after Windows reinstall... saurabh.sauron Tutorials 3 29-03-2009 01:19 PM
How to reinstall grub for linux jobin Software Q&A 2 24-06-2006 05:42 PM
Reinstall XP Pro prasad_den Software Q&A 9 09-05-2006 11:36 AM
reinstall nishant_garg89 QnA (read only) 3 03-12-2005 01:42 PM
reinstall OS nishant_garg89 QnA (read only) 6 20-10-2005 11:53 PM

 
Latest Threads
- by Sujeet
- by soumya
- by clmlbx
- by Charan

Advertisement




All times are GMT +5.5. The time now is 01:27 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2