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.
XP will have probably put something on the first part of the hd, right? use knoppix- boot into knoppix 2, and run cfdisk to check this out.
If you have the linux boot disk, you should be able to boot into linux, configure grub (perhaps to run on a floppy, first, for testing) and write it to the mbr.
titanium_geek
EDIT: can you boot into linux from the hard drive (ie normally) ? Can you boot XP?
Last edited by titanium_geek; 06-29-2005 at 08:29 PM.
Windows XP CANNOT be run from a logical partition. It HAS to be run from a Primary Partition. No ifs, ands or buts.
Other than that, it should be easy, if Linux can boot, to add Windows to your grub boot-up screen.
You just add this entry to the bottom of /boot/grub/menu.lst
title Windows XP
rootnoverify (hd0,0)
chainloader +1
makeactive
For the first line, there should be an indent between title and Windows
For the second line, there should be an indent after rootnoverify
No indents for third and fourth lines.
for the rootnoverify line, the first number is the harddrive, second is partition. The numbers start at 0, not 1. So, /dev/hda1 (first primary partition on the primary master harddrive) would be (hd0,0). /dev/hdb3 would be (hd1,2) etc.
Let me know if you have any more questions.
Last edited by linux-rulz; 06-29-2005 at 09:24 PM.
i did try that and i also tried mapping and hiding partitions.....no luck
what damaged my MBR is that i typed some of these commands in the grub command interpreter, instead of adding them to grub.conf. i got error17 or something.....don't remember
anyways, i am back to windows xp for the summer. i want to play some directx games before university opens in september.
I still don't understand how your partitions are laid out. Is there any possible way anyone can think of that he could find which devices (as in uba, sda, hda, etc) his main and second hard drives are? With that info, and some info from fdisk, I think this problem could be fixed. Is there any other device names besides sda and hda that the harddrive could use?
i am only running windows so that I can play some directx games. once univeristy opens again in september........i will give windows a kick in the 'but'
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.