LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-30-2009, 08:10 AM   #1
gabriel.560
LQ Newbie
 
Registered: Jan 2009
Posts: 17

Rep: Reputation: 0
can re-install grub without re-installing linux?


Hi,
is there anyway i can re-install grub boot loader without re-installing linux? I recently installed Windows 7 and i can't boot into Ubuntu. I found many threads about restoring grub after re-installing Windows XP, but that's not what i'm looking for (since i installed Windows 7 instead of XP, the old grub will be useless, i think).
Thanks.
 
Old 10-30-2009, 08:13 AM   #2
callumacrae
Member
 
Registered: Sep 2009
Distribution: Fedora and Ubuntu
Posts: 126

Rep: Reputation: 22
The instructions for XP will also apply to 7.

~Callum
 
Old 10-30-2009, 11:02 AM   #3
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,615

Rep: Reputation: 441Reputation: 441Reputation: 441Reputation: 441Reputation: 441
gabriel.560,

Yes you can, as long as you can take hold of your hard drive.

You may use your live CD installer and install grub into the root and MBR partitions using grub command. Since we do not know of your current hardisk map I cannot give any further details of command sequence. However, it is more helpful to you if you 'd become more familiar with the solution by reading a short but good tutorial for grub, read it here. I assure you, you will control grub after reading it.

Hope this helps.

Good luck.

Last edited by malekmustaq; 10-30-2009 at 11:03 AM.
 
Old 10-30-2009, 12:07 PM   #4
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,275

Rep: Reputation: 126Reputation: 126
Download Super Grub Disk. It will do it for you automatically.
 
Old 11-01-2009, 03:06 AM   #5
gabriel.560
LQ Newbie
 
Registered: Jan 2009
Posts: 17

Original Poster
Rep: Reputation: 0
Thank you all for your help! i used Super Grub to boot into Linux, and gave the commands mentioned in the video. It's working.

Thanks again.
 
Old 11-01-2009, 07:19 AM   #6
callumacrae
Member
 
Registered: Sep 2009
Distribution: Fedora and Ubuntu
Posts: 126

Rep: Reputation: 22
Remember to set thread as solved:

Thread tools => Mark as solved

~Callum
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem installing elive - will not install Grub MurX Debian 1 03-22-2009 06:08 PM
unable to install grub when installing Mint 3.0 holyct Ubuntu 1 08-29-2007 06:30 PM
installing GRUB 2, grub-install problem r00tb33r Linux - Software 1 02-26-2007 10:42 PM
Urgent: Installing debian etch on a new hdd but grub won't install (fatal error) MrInept Debian 4 09-14-2006 09:54 AM


All times are GMT -5. The time now is 11:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration