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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Recently while setting up GRUB I made the very silly mistake of installing GRUB in the boot sector(?) of my Windows XP partition. GRUB is now set-up properly in the MBR of my only hard drive, but unfortunately I broke Windows and it will not boot. ( Linux works just fine though, and the Windows partition is still intact )
At first, when trying to load Windows, GRUB would load GRUB, because it would just point to itself etc. It was an infinite loop of GRUB loading itself. So I tried booting from the Windows install CD to the recovery console, and then using fixboot.
Now the instance of GRUB on the Windows partition seems to be gone but Windows refuses to boot and gives an error like:
Press any key to restart the system.
I'm out of ideas now, short of repartitioning and reinstalling everything ( which is not an option, really ). Please help me fix Windows so it boots.
P.S. - Strictly speaking this is a Windows issue, but I was hoping that GRUB users could she a little light on the problem.
Last edited by Mediocre_Driver; 01-23-2004 at 04:28 PM.
Well if i was you i would personally start by making shure i have nothing of inportance on the windows drive by mounting it in linux and then storing it on an seperate disk, then i would remove everything important on linux the same way, then i would repartition and reinstall windows first. leaving room for linux and then install linux one last time. come down to it just start over by scratch!!! may be time comsuming but will be worth it!!!
Ok, I was able to dupicate the problem on an XP / Linux dual boot system. I ran the command: dd if=/dev/zero of=/dev/hda1 bs=512 count=1
This zaps the boot sector of hda1 same as if you had installed the grub onto hda1 instead of hda.
To fix it, I booted up with the XP cdrom and selected R which is the repair option.
At the prompt c:> I typed the commands: fixboot
Then of course, the grub was gone so I used the quicky grub boot disk to restore that with the commands:
Note: It would be good to know where the root partition is, so type rdev and write it down. root (hd0,1)
Note: to make a quicky grub boot disk from Linux, type these commands:
mke2fs -m 0 /dev/fd0