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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
03-10-2008, 11:19 AM
|
#1
|
|
Member
Registered: May 2006
Location: Kansas City, MO
Distribution: Ubuntu / Windows dual boot (for now)
Posts: 515
Rep:
|
Reinstalling GRUB without Reinstalling my Distro
I dual boot. I recently re-installed my XP on my main hdd and as expected, I now need to re-install GRUB.
Unfortunately it appears my distro (MEPIS 7) will only let me re-install GRUB after re-installing MEPIS on my root.
This would be annoying but not the end of the world.
Is there a way to re-install GRUB without re-installing my (perfectly working) distro?
|
|
|
|
03-10-2008, 11:23 AM
|
#2
|
|
Member
Registered: Apr 2003
Location: Wisconsin
Distribution: Switched to regualr Ubuntu, because I don't like KDE4, at all. Looks like vista on crack.....
Posts: 675
Rep:
|
There is the manual way, which is a pain in the ***, and involves a live cd and chrooting and a bunch of other steps. Or you can use super grub boot disk, and let it's wizard do the heavy lifting.
http://supergrub.forjamari.linex.org/?section=download
I've done both, and I know which I prefer.
David
|
|
|
|
03-10-2008, 11:53 AM
|
#3
|
|
Guru
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,706
|
Can't you just run 'grubconfig' as root ? I'm using Slackware, and I don't know if it comes with GRUB in all distros, so it may not exist, but it's worth a try.
|
|
|
|
03-10-2008, 12:21 PM
|
#4
|
|
Member
Registered: Mar 2008
Location: UK
Distribution: Slackware
Posts: 56
Rep:
|
Just run grub from the live cd (i.e. in a console, not some gui frontend nonsense). Assuming Windows hasn't hosed your entire system, grub is still installed, along with your configuration, you just need to rewrite the mbr.
Just give grub the appropriate root partition (grub root, that is, which isn't necessarily your Linux / of course), and run the setup command:
Code:
root (hdX,Y)
setup(hdX)
Grub will/should automatically find your existing menu.lst (or menu.conf, or grub.conf or whatever it's called these days) on the root fs.
|
|
|
|
03-10-2008, 12:45 PM
|
#5
|
|
Senior Member
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,732
|
Using any livecd just do: sudo mount /media/sdxx ; then: sudo /usr/sbin/grub-install --recheck --no-floppy --root-directory=/media/sdxx /dev/sda with x being the partition grub should be installed to.
|
|
|
|
03-10-2008, 05:44 PM
|
#6
|
|
Member
Registered: May 2006
Location: Kansas City, MO
Distribution: Ubuntu / Windows dual boot (for now)
Posts: 515
Original Poster
Rep:
|
I never knew
Quote:
Originally Posted by budword
There is the manual way, which is a pain in the ***, and involves a live cd and chrooting and a bunch of other steps. Or you can use super grub boot disk, and let it's wizard do the heavy lifting.
http://supergrub.forjamari.linex.org/?section=download
I've done both, and I know which I prefer.
David
|
I never knew such a GRUB bootloader (iso) was available. Your suggestion looks the easiest so I will try that first.
Thanks!
|
|
|
|
03-11-2008, 03:50 AM
|
#7
|
|
Senior Member
Registered: Oct 2003
Location: Australia
Posts: 4,424
Rep: 
|
I have used mepis as a live cd in the past.
if the other way does not work for you pls post the steps you took and compare to my memory.
----
boot mepis
open a shell
su
grub
root (hdx,y)
setup (hd0)
quit
whre hdx,y is the grub speak for your /boot folder or partition as per my signature.
--------------------------------
Normally we speak of installing the bootloader into root....we mean into the partition that has the /boot ....either as a partition or a sub-folder to /
and confuses a lot of people into thinking it always means /
|
|
|
|
03-13-2008, 07:28 PM
|
#8
|
|
Member
Registered: May 2006
Location: Kansas City, MO
Distribution: Ubuntu / Windows dual boot (for now)
Posts: 515
Original Poster
Rep:
|
Your suggestion
Quote:
Originally Posted by budword
There is the manual way, which is a pain in the ***, and involves a live cd and chrooting and a bunch of other steps. Or you can use super grub boot disk, and let it's wizard do the heavy lifting.
http://supergrub.forjamari.linex.org/?section=download
I've done both, and I know which I prefer.
David
|
budword:
Your suggestion seemed to do all the heavy lifting, as promised. Thanks!
|
|
|
|
03-15-2008, 08:39 PM
|
#9
|
|
Member
Registered: Mar 2005
Location: palmdale, california
Distribution: MEPIS 8; Debian (stable/testing)
Posts: 83
Rep:
|
Mepis tools.
Quote:
Originally Posted by MBA Whore
I dual boot. I recently re-installed my XP on my main hdd and as expected, I now need to re-install GRUB.
Unfortunately it appears my distro (MEPIS 7) will only let me re-install GRUB after re-installing MEPIS on my root.
This would be annoying but not the end of the world.
Is there a way to re-install GRUB without re-installing my (perfectly working) distro?
|
Sorry I didn't get here in time to save you all this falderal.
System>Mepis>Mepis System Assistant>Repair Sytem Boot (tab)
It's all right there in the gui...Along with a lot of other handy tools.
Mepis is the only reason I don't use Pure Debian.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 05:53 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|