Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-08-2004, 09:57 PM
|
#1
|
Member
Registered: Apr 2004
Location: Washington State
Distribution: SuSE 9.3 / Slackware-Current
Posts: 701
Rep:
|
Ahh help! (Grub Boot Loader Issue).
I installed windows on a seperate partition, now my bootloader is gone..and I can no longer choose to boot into fedora core 2. How can I fix this! I know it's still installed and there. Thanks!!
I only installed windows so a piece of hardware would work.other wise i hate it! I've been on windows for 5 minutes, and can't stand it 
|
|
|
09-08-2004, 10:45 PM
|
#2
|
LQ 5k Club
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842
Rep: 
|
me thinks your mbr has been overwritten by windows.
do you have a linux boot disk or a floppy rescue disk ?
check also if FC can be used as a rescue cd ? Can't help you with FC, try search of this forum to see how its done
|
|
|
09-08-2004, 10:47 PM
|
#3
|
Member
Registered: Sep 2004
Location: New Zealand
Distribution: Debian
Posts: 900
Rep:
|
You'll need a bootable linux CD so you can get access to your linux partitions and reinstall grub from there. Most distribution install CDs offer a way to get to a prompt so you can mess around, and some may even have an easy way to repair your bootloader. I feel your pain, btw. It sucks that Windows pays absolutely no attention to what's already on your machine when it installs.
A possible solution for the future - some BIOSes allow you to restrict access to the boot sector (to prevent viruses). If you enable this, you may be able to reinstall windows without letting it overwrite your MBR.
|
|
|
09-08-2004, 11:38 PM
|
#4
|
Member
Registered: Apr 2004
Location: Washington State
Distribution: SuSE 9.3 / Slackware-Current
Posts: 701
Original Poster
Rep:
|
okay..
thanks for the help so far  .
On my cd1..it has a rescue option. I did some searching on these forums, and found instructions on how to reinstall grub from the rescuse console. I did this...but once grub is installed...and I reboot...I get a prompt with
Grub >
And that's it. I really don't know what to do from there.
Help apreciated. Thanks.
|
|
|
09-09-2004, 12:04 AM
|
#5
|
Member
Registered: Sep 2004
Location: New Zealand
Distribution: Debian
Posts: 900
Rep:
|
See this page for a good intro: http://www.linuxjournal.com/article.php?sid=4622
executive summary:
grub> root (hd0,4)
grub> kernel /vmlinuz root=/dev/hda5
grub> boot
Once you get that to boot successfully, you should be able to reinstall grub from your existing config (the rescue CD appears to have put an unconfigured version on your MBR).
|
|
|
09-09-2004, 12:06 AM
|
#6
|
Member
Registered: Sep 2004
Location: New Zealand
Distribution: Debian
Posts: 900
Rep:
|
Nuts, I've confused your post with someone else's - I don't know what your root partition is, so the executive summary will only work if it's hda5.
|
|
|
09-09-2004, 01:27 AM
|
#7
|
Member
Registered: Apr 2004
Location: Washington State
Distribution: SuSE 9.3 / Slackware-Current
Posts: 701
Original Poster
Rep:
|
I don't understand
Nothing I try works. I tried the kernel /vmlinuz thing..and it says vmlinuz is an invalid command or something. I'm not sure..but nothing works.
Fedora is installed on /dev/hda7 I believe btw.
|
|
|
09-09-2004, 01:41 AM
|
#8
|
LQ 5k Club
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842
Rep: 
|
I have written a tutorial here
http://www.linuxquestions.org/questi...hreadid=198155
what we are going to do with your help is re-install grub to mbr. Windows has only overwritten the mbr and not editted in any way your /boot/bgrub/menu.lst file.
Do you have a boot disk you can use to get to linux direct?
Otherwise can you use the rescue cd to mount your real /boot partition and your / partition and post your /boot/grub/menu.lst contents and your /etc/fstab contents
then we can make a start
|
|
|
09-09-2004, 01:55 AM
|
#9
|
Member
Registered: Sep 2004
Location: New Zealand
Distribution: Debian
Posts: 900
Rep:
|
aus9's tutorial looks very good, so read that if you can.
The 'kernel /vmlinuz' line needs to point to your installed kernel - use your rescue CD to find out what this is if /vmlinuz is not valid (/boot/vmlinuz may work if this is the case). Otherwise it'll be something very annoying to type, like vmlinuz-2.6.3-super-street-fighter-alpha.
In this case, it couldn't work because I gave you commands for hda5, not hda7.
new exec summary for hda7:
grub> root (hd0,6)
grub> kernel /vmlinuz root=/dev/hda7
grub> boot
|
|
|
09-09-2004, 05:39 AM
|
#10
|
LQ 5k Club
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842
Rep: 
|
I am flattered my your kind remarks, between the 2 of us he doesn't stand a chance (joke)
umm I have just made up a rough step by step for grub and rescue cd here
http://www.linuxquestions.org/questi...hreadid=228496
since I notice that CroMagnon is a friendly neighbour across the Tasman I am off to the local dairy......choice heh?
|
|
|
All times are GMT -5. The time now is 07:14 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
|
|