Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
I had SUSE 10 and Windows XP, I re-installed Windows XP then I didn't find the Grub! my pc boots to Windows only... How can I fix that?? I tried to boot from the SUSE CD 1 but I didn't find any repair option, only install and update...
I hope you can help
That's because Windows is sooooo smart, it just knows you don't need Linux.
Here's how to get Linux back as a boot option:
1. Boot using a live-cd (Knoppix, Slax or SystemRescueCD)
2. Mount the linux partition
3. chroot the mounted partition
4. Install grub -> grub-install /dev/hda (or wherever you need it)
5. Edit grub.conf or menu.lst to chainload Windows.
Yes, Windows arrogantly ignores other operating systems that you have installed. However, it shouldn't have touched your linux installation (hopefully), just overwrote the mbr. Boot from your Suse install CD and switch to another terminal, there should be a few open. Run grub and reinstall it.
EDIT: Pipped to the post again. Arow replied while I was making some tea. Must get a beefier kettle.
I have no Live CD, I used the SUSE Rescue system (an option on CD1), I logged as root
I tried to run grub-install /dev/hda8 (linux partition) but I got "/dev/root not a valid device"!!!
I tried to mount the /dev/hda8 to /mnt/tmp but I got "Format not recognized"
Can you help?
Thanks for your help, I solved it, the easiest solution is to use the first SUSE CD, select Installation, when the options (New or update) appear, select Repair from the other menu at the bottom and then select the Expert mode to install a new boot loader.