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.
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 am having a problem dual booting windows XP pro and linux. It WASN"T a problem when I started (I partitioned, installed winXP, and then linux) everything worked fine at first, but then windows got all buggy and I had to reinstall. After the install grub didn't load, instead my computer would just go straight to Windows. I tried reinstalling GRUB, but then I couldn't boot to windows (somehow grub ruined the windows master boot record) so I ran the windows FIXBOOT thing (it fixed the boot record) and now windows boots, but again no grub!! How do I fix it?! If I reinstall grub like I did before, I'll lose windows again. If I leave things the way they are, I can't use Linux! Grrrrrr!!!!!!!!
AFAIK, killing your windows boot record is not the end of the story. I am more familiar with lilo than grub, but I'm quite certain that it is possible to do this. One thing is certain- back up your important linux files now! That way, if you have to, you can reinstall like fresh and not lose much.
Well, I'm hoping that it doesn't come to this. I know there has to be a way to get this working! It works after I just reinstall linux, so why wouldn't it work when I just install grub? Does anyone know anything about the different ways to install grub? Instead of installing it to the MBR? Or does anyone know how to set the Windows Boot Loader to load Linux as well?
Just search on google for dual booting xp and linux. Find a page that talks about editing the boot.ini (I believe). This will use the win bootloader to boot win, and the entry you add will allow linux to load. Just make sure you put the linux bootloader (lilo or grub) on the linux root partition. I have done this many times, I am at work and don't have the address of had or exactly what you have to add, but it works. I am at work right now, if I can find the address to the site I will post it.
Not sure if this helps you, but my approach is to use the Windows (2k) boot manager. I then install LILO into the root partition (using SUSE for example) and write the boot sector to a *.lin file. I transfer this file to c:\ and then tell boot.ini about it. Then you have a simple but functional Windows boot screen. Mine can choose between Win2k and WinXP on hda and SuSE on hdb.
As long as you can boot to Linux with a floppy or CD, you could rewrite the MBR with Windows, then modify as above. See a more thorough documentation though, of course.
Cheers
Mike
Edit: now why do I get the feeling I just summarized what that linked article advises. LOL
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.