Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Windows on the D drive (w/ Fedora on C)

  1. Jan 4, 2005 #1
    I installed windows xp on my D drive (2nd hard drive). Will this create any serious problems? I know that I will need to pay attention because some programs want to automatically install on the c drive, but will that be it?

    Also, will I be able to switch easily between Fedora and Windows? (with Fedora on C and windows on D)

    Or, should I just make two partitions on the C drive, one for feodra and the other for windows? I originally wanted to do this, but windows did not want to install this way for some reason (probably because I was doing it wrong :smile: )


    Btw I do not have Fedora installed on either drive right now. Also, I am going to use Fedora Core 2.
  2. jcsd
  3. Jan 4, 2005 #2


    User Avatar
    Staff Emeritus

    Linux doesn't care about C and D drives. It sees hard drives as hda, hdb, hdc, etc. The master hard drive on ide1 is named hda. Partitions on this hard drive are numbered based on what order the partition is on the volume. For example you usually have three linux partions: "/boot", "swap" and "/". "/boot" would be hda1, "swap" would be hda2 and "/" would be hda3. If you have a windows ntfs partition at the end of the volume it would be named hda4.

    In your current setup this is how linux would see it:

    hda1 /boot
    hda2 swap
    hda3 /
    hdb1 windows

    In your current setup, this is how windows would see it:

    C: windows

    So, to windows it doesn't even matter that you have linux installed because it can't read the partition, so it starts number the drives at C.

    Some advice when dual booting: install windows first, then linux.
  4. Jan 4, 2005 #3
    Well it seems like you are saying that it will not matter what drive windows is on, which is good. However, I do not understand how windows will see the drive as C. Because when I go to my computer the C drive is blank while the D drive has my windows stuff in it. I am guessing that you are saying that windows will see it as the C drive even though it is on the D?

    Hah, yeah. When I had windows installed and went to install Fedora, everything was fine. Fedora gave me options that would allow both windows and fedora to run. The other way around though blah. Took me a few hours to finally get windows xp installed, after deciding to just format both hard drives :grumpy:


    One more question. When I had fedora installed by itself the bootup screen would give me an option of which os to use, even though fedora was the only one. If I have windows on a different drive will it recognize windows and give me an option to start windows up? Thanks
  5. Jan 6, 2005 #4


    User Avatar
    Staff Emeritus

    1. When i've installed linux in the past and made it take up a full drive, windows didn't see that drive and only displayed a C drive.

    2. Fedora should detect that there is a windows partition and write and entry in the grub boot loader. If Fedora doesn't you'll need to manually enter an entry for windows like this:

    title=Windows XP
    root (hd1,0)
    chainloader +1
  6. Jan 6, 2005 #5
    Well I just installed fedora, and now windows will not boot up. I have an option to boot it up, but I get a disk drive error, 25 I think. I have windows on hdb and linux on hda. Before I installed linux, both hda and hdb were NTSF format, I think this is why I am getting that disk error. Is there an easy way to fix this?
  7. Jan 6, 2005 #6


    User Avatar
    Staff Emeritus

    Go into linux and mount the /boot partition. Then tell me what is in the grub.conf file located in /boot/grub/
  8. Jan 6, 2005 #7
    Code (Text):

    # grub.conf generated by anaconda
    # Note that you do not have to rerun grub after making changes to this file
    # NOTICE:  You have a /boot partition.  This means that
    #          all kernel and initrd paths are relative to /boot/, eg.
    #          root (hd0,0)
    #          kernel /vmlinuz-version ro root=/dev/hda2
    #          initrd /initrd-version.img
    title Fedora Core (2.6.5-1.358)
        root (hd0,0)
        kernel /vmlinuz-2.6.5-1.358 ro root=LABEL=/ rhgb quiet
        initrd /initrd-2.6.5-1.358.img
    title Windows XP
        rootnoverify (hd1,0)
        chainloader +1
    Only thing I see different from what you posted earlier is that there is no "=" between "title" and "Windows XP"
    Last edited: Jan 6, 2005
  9. Jan 7, 2005 #8
    I finally just gave up :cry: I then got rid of both windows and linux and tried to install both, but I could just not get it to work, then I could not even get xp to run by itself, so I am now just running fedora.
  10. Jan 7, 2005 #9
    Don't give up. It's really not that difficult, but it might help if you read this:
    to get a better understanding of the process.

    Then, I think the easiest way for you to do it is to install Windows FIRST on the C drive, then install linux on D (hdb) (and while installing linux, let Fedora install Grub at the root of the C (hda) drive). It's normally VERY easy to do this; you're probably just making one or two wrong choices along the way.
  11. Jan 7, 2005 #10


    User Avatar
    Staff Emeritus

    I agree, this is a really easy task and shouldn't be that complicated. Try what gnome said.
  12. Jan 7, 2005 #11
    Thanks for the link, I will check it out in a few minutes. Also, I do not think it is that hard of a task either. However, I can not get windows to install just on the C drive. When I install windows it seems to be a luck of the draw lol. I, for some reason, can not get windows to say ok just install on the C drive and do not touch D. In the fedora core installation there is a nice option to choose which hd(s)/partition(s) I want to use.

    Tell me if this is a bad idea or not: I unplug my D drive, install windows xp on C drive, plug D drive back in, install linux on D drive. Will that work without any problems?
  13. Jan 7, 2005 #12
    I don't see any reason why that wouldn't work, but I also don't see why you think you need to do that. The Windows installer asks you which drive (and which partition) you want to install Windows on, so you select the C drive. The fact that Windows sees the other drive shouldn't cause any problems with the installation.

    (After you format the second drive as a Linux file system Windows will no longer see it.)

    Why do you think that leaving the second drive connected is a problem? What's happening when you install XP?
    Last edited: Jan 7, 2005
  14. Jan 7, 2005 #13
    XP just does not listen to me. I created a partion on C that was 5gb, then another that was 30gb, I left the D with unpartioned space. I tried to install on that 30gb but what happened was that windows installed in the D unpartioned space, and saw that 5gb as the C drive, and did not even use the 30gb which I had wanted to install it on. I don't know. I am going to mess around with it again now, see what happens.
  15. Jan 7, 2005 #14
    Good luck.
  16. Jan 7, 2005 #15
    I am going to see if I can trick windows. I will delete both hds, install windows, hopefully it will land on C lol, then after installation I will put the cd back in and delete the D drive, then see if windows will boot, and if it will recognize the D drive. Then go from there.
  17. Jan 7, 2005 #16
    I may be wrong, but if I recall correctly, the only way you're going to do that with the Windows cd is to tell the installer you want to install Windows to that (D) drive, and if you do that, it MAY also delete the MBR from the C drive, making your first XP installation unbootable (at least temporarily).

    But anyway, why bother doing that? Once you get XP installed & running on C, just go ahead with your Linux installation on the other drive. As soon as you format it for Linux it will be "gone" as far as Windows is concerned.

    Just be sure that you get the Fedora installer to put Grub at the root of hda (the Windows drive, not the Linux drive).
    Last edited: Jan 7, 2005
  18. Jan 7, 2005 #17
    Windows will not even install now. I formatted both hds, tried installing on both hds(one at a time of course), it just will not install. Only thing I have noticed is that my computer will say, during startup, this:

    Pri. Master Disk HDD S.M.A.R.T. capability .... Disabled
    Pr. Slave Disk HDD S.M.A.R.T. capability .... Disabled

    I made a patition on C, setup installed all the files, I then took out the cd, the computer rebooted, and my computer then says Error loading operating system. :mad:

    Edit... didnt see your post. I said that because the last few times windows installed it used both hds, it installed on the C drive, but it still formatted and changed the format of the D drive.
    Last edited: Jan 8, 2005
  19. Jan 8, 2005 #18
    That message about S.M.A.R.T. capability is a bios feature; it's not related to this problem.

    What actually happens when you try to install Windows. You say it "will not install." Exactly what does it do?
  20. Jan 8, 2005 #19
    I put in the windows xp cd. It went through the whole setup thing. Then I deleted all of the partitions. I then made a partition on the C drive, formatted the partition, and then the cd went through the whole "setting up files for installation." Windows then tells me that it needs to reboot, so I took out the cd, and then when the computer rebooted I got an error: Error loading operating system.

    I have sucessfully installed windows xp before on this computer, but for some reason it just does not want to install any more.
    Last edited: Jan 8, 2005
  21. Jan 8, 2005 #20
    Well, at this point it looks like you should unplug the 2nd drive (as you suggested) since that's only complicating things.
    Then try using fdisk from a DOS floppy to delete all partitions from the 1st drive, then re-create & format a DOS partition to use for XP. Earlier you said something about another small partition ahead of the XP partition. What's that for? DOS? If so, create and format that one too; then use fdisk to hide it before installing XP.
    In case you don't have a copy of dos fdisk (I don't think you can use a linux fdisk for this purpose; in any case I'd try a dos one first):
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?

Similar Discussions: Windows on the D drive (w/ Fedora on C)