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.
Ok, but again, /sbin/grub-install /dev/hda is that going to pick up my windows boot on that drive and install a linux boot or is it just going to try to boot to that drive and forget linux?
I am not really understanding what you are asking. If you run the command /sbin/grub-install /dev/hda it will install grub on your master boot record(/dev/hda), this is the first place your computer looks for info to boot your operating system. From theri grub can tell your computer to boot windows(hd0,0) or linux(hd1,4)
Distribution: Mac OS 10.7 / CentOS 6(servers) / xubuntu 13.04
Posts: 1,186
Rep:
I am tired of these boot loaders I have to use one.. because if I disable GRUB I have no way to get into windows when I need to.. I have had similar problems in the past, and they took quite awhile to work out.. and tons of trips here..
See, the problem is that I have edited the grub.conf to tell it to boot hd0,0 and i trieed hd0,1 but 0,0 returns me to grub without error, and 0,1 says no partion exists...
Did you find a solution? I have run into the same problem - after doing the grub-install /dev/hda XP does not start.... (yah I know it shouldn't be on the disk :-) ) - I can just like you boot Linux effortlessly.
Apparently, rescueing linux wrecks the needed xp mbr data so the "solution" - if you can call it that - was to save data on another HD and format hda reinstall windows first, then reinstall linux...
A guru had told me before about a method to which one might circumvent this, but it proved to risky as i cannot lose any of my precious data... so I did not attempt it...
If I knew the risky method I'd give it a shot since the installations are both pristine. However I had arrived at your win first then linux reinstall when I went to work this morning - now I'm back and ready to rock. Hope it will work.
Should you come to think of the method let me know as it might come in handy some other day... though I need not think of windows XP on my own machine - Windows in my world is out 4 good, the last Win I used was Win98 and it had a crash tendency several times daily and finally it was cracked as well, straight through firewalls and all - has cost me setbacks measured in months in my publishing ventures, both in the software department and concerning my two novels, and four shorts.... soon to be out using LyX if everything pans out.
patientzero,
When you used the linux rescue disk to reinstall grub, you did the "setup (hd0,0)" command. This installs to the MBR of te first partition of the hard disk, where XP's stuff is supposed to be. You should have specified (hd0) only (without the extra 0). Use your XP cd to enter it's Recovery Console, and use the fixmbr command. Then use your linux rescue cd, and do the same thing you did earlier, except with "setup (hd0)" instead of "setup (hd0,0)".
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.