Linux - SoftwareThis 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.
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.
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
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.
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.
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).
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
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.