Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Anonymous
Anonymous asked in Computers & InternetSoftware · 1 decade ago

How can I install Windows after installing Linux?

OK here it goes,

I already have a dual boot of two Linux distros. I want to keep one of those and install windows in the other's place. But the problem is that windows bootloader will not recognize the Linux partition.....

I don't want to loose any data on the first Linux partition otherwise I would have formatted the whole HD and installed windows first, Linux second. So is there any way to install grub AFTER installing windows?

Update:

>simplest option is add one more disk

No I don't have it.

>buy a mac

Give me your credit card.

>Just use virtual box

Already have it in virtual box but I want to use windows to play games. Virtual box doesn't support that.

>Windows needs a FAT partitioned hard drive, it won't work with any other type of partitioning.

I was going to format the other partition to NTFS...so I could install windows on it.

Anyway, I'm just looking for a way to install GRUB bootloader AFTER installing windows.

12 Answers

Relevance
  • 1 decade ago
    Favorite Answer

    After you delete one of the partitions (if you delete the second Linux partition, you'll have to move the first to the end of the drive), install Windows to the first partition. The remaining Linux installation will no longer be bootable.

    Now boot from a Linux LiveCD and run these commands:

    grub (you will now get a mini command prompt)

    find /boot/grub/stage1

    It should find what partition the remaining Linux, and give you a result like

    (hd0,2)

    Enter

    root (hd0,2)

    and then

    setup (hd0)

    Finally, quit the GRUB mini-prompt by entering

    exit

    Restart the computer. The GRUB menu will appear, and you will be able to boot Linux again, but not Windows. Edit your GRUB menu ( it's at /boot/grub/menu.lst ) and add an entry like:

    title Microsuck Windblows

    rootnoverify (hd0,0)

    chainloader +1

    (hd0,0) means "First hard drive, first partition." Vary as needed, depending on what partition you have Windows.

    Source(s): Follow this if I make no sense: http://www.sorgonet.com/linux/grubrestore/
  • 1 decade ago

    There are many ways you can do that. The one that works best for me is as follows, two separate hard drives with the power connected to it one at the time with a AB switch. It does not solve your dilemma with one drive, but if you feel like being in Linux mode, then power up the Linux drive. If windows is the choice for the day, then switch to the other drive and voila!

    It is kinda like driving, you either take the four wheeler out for a spin, or the Ferrari, depends on your mood at the time.

  • 1 decade ago

    Windows needs a FAT partitioned hard drive, it won't work with any other type of partitioning.

    The simplest solution in your case is install vmware on your linux and run a virtual version on Windows, it's even better because you can install multiple versions of windows.

    Source(s): Done it
  • 1 decade ago

    if the partition you are trying to remove is the system partition.. you are screwed and a lot of work has to be done...if not...

    i would use killdisk to remove the unwanted partition... then you probably can install windows on that... then you have to configure grub i think, and i don't know how to do that...

    I never had that problem.. i always need to reinstall linux and I keep my windows... there is no problem with that.

  • How do you think about the answers? You can sign in to vote the answer.
  • Anonymous
    1 decade ago

    Hi, which linux distros r they? I have heard suse has an automatic GRUB repair on the install disc that can reload and repair GRUB if SUSE's grub is damaged but I really have no idea how though.

    If u do have suse then ask here:

    http://forums.suselinuxsupport.de/

  • Astro
    Lv 5
    1 decade ago

    Umm- had a similar prob last season. Had to go thru super Grub or something... trying find data I wrote on it and will edit back if I can find it.... You do know its early morning to be asking hard questions, right?;-}

    Edit- the link below had a note from my prob, it applies to your as well. It was the super grub thing that Iused to fix my cluster mess with.

  • 1 decade ago

    If you have a bootable CD of Linux, I am sure there is way to reinstall Grub or LILO.

    Yes, there will be option of "repair Grub/LILO".

    So, if you have bootable CD of Linux, install Windows first and then try to reinstall Grub.

  • Anonymous
    5 years ago

    I'd say run it off the USB first to make sure if you want to keep it or not. Then set up a dual boot option so that when you boot up your PC, you select which OS to load. And no, it won't slow down windows at all. It merely takes up a few gigs of hard drive space.

  • Anonymous
    1 decade ago

    Just use virtual box

    Source(s): virtualbox.org
  • Anonymous
    1 decade ago

    simplest option is add one more disk

Still have questions? Get your answers by asking now.