[How-To] How to install Windows after you have installed Linux


Recommended Posts

Remember to get the following program before doing any of these steps: Super Grub

Installing Windows

1. Make sure you've backed up all your data, as I can't guarantee this to work.

2. Install Ubuntu first just to cause trouble .

3. Make sure you have a blank NTFS (or fat32*) partition on your harddrive.

4. Optional: Use the super grub disc or free dos fdisk (couldn't find page) to hide your ubuntu partition. Follow D in the next set of directions

5. Insert your Windows XP install/recovery disk into your computer, boot into it, and wait for it to load it's drivers and everything.

6. A menu will come up with three options. Press enter to choose the "set-up Windows now" option, and agree to the license.

7. An overview of your harddrive will show up, displaying all your partitions (windows will show non FAT or NTFS partition types as "unknown"). Choose the NTFS or FAT partition that you want to install Windows on, and tell the installer to leave the filesystem intact.

8. Let the installer scan the disks, copy files, and reboot. Leave the CD in the disk drive, but don't boot into it again.

9. A graphical installer will come up to finish the installation process, occasionally asking you to give some information for the install. Once it's finished installing the files in this step, it will automatically reboot.

10. When it boots back up, it will ask you to set-up users and some other things (like register Windows ). Once finished, it will log you into XP, and you can now use it.

11. You can now remove your XP install disk. Reboot your computer to make sure it installed correctly. (You may want to wait before updating windows, and installing your programs)

You now have windows installed, and can proceed to the next set of directions.

*You can use a fat32 partition to install windows on, which will enable you to read/write to it in Ubuntu out-of-the-box, but fat32 is not a journalled filesystem, meaning that if your computer is shutoff during a storm or something, and it happens to be writing some data to the disc when this happens, the whole partition gets messed up, and you lose all your data.

Getting Grub to work again

I'll give you instructions on how to use the super grub disk to re-enable grub again, but I will also post the links here that everyone posted on this thread (thanks guys!)

1. Using the super grub disc (further down the page, it will give you the same directions)

1. Insert the super grub disk into your computer, and boot into it.

2. Choose your language

3. Choose GNU/Linux

4. Choose fix boot of GNU/Linux (notice how it says "Has windows overwritten your MBR?")

5. Select the partition you have linux on. If SGD was successful, it will tell you that it succeeded

6. Reboot, and remove the SGD disk.

Grub is back! Yay!

2. Restore GRUB (if your MBR is messed up) (link posted by kinson) this is a rather old how to, so the first post used the old text installer that was in Hoary. However, you can still do it using the Alternate Install CD. This is probably the easiest way to install grub if you have an Alternate Install CD lying around. You can also follow the directions on another post on that thread with the Live/install CD.

3. How to restore Grub from a live Ubuntu cd Requires using a terminal, but has easy to follow step-by-step instructions.

4. Hiding your Ubuntu partition, and updating grub

1. Unhide your Ubuntu partion using the super grub disc

2. Setup grub within ubuntu (live CD or direct Boot)

None of these worked!

In the unlikely event that none of these how-tos worked, and you still can't boot ubuntu, then you might want to try using the super grub disc to boot Ubuntu directly.

1. Boot your computer off the super grub disc.

2. Choose your language

3. Choose GNU/Linux

4. Choose Boot GNU/Linux Directly

From here, you can retrieve your data, do any important work, or try to fix grub from Ubuntu.

Well, there it is. I hope someone finds this useful.

  • 2 weeks later...

heres another way of doing it, do the usual install of windows but boot back into your ubuntu (or what ever install media you have).

my root is sda5 on the disk sda, use your own dev names

If your live cd doesnt mount your disks then mount them like this

Mount your root in /mnt with

mount /dev/sda5 /mnt

Then mount the rest of the system

mount -t proc proc /mnt/proc

mount -t sysfs sys /mnt/sys

mount -o bind /dev /mnt/dev

now chroot into your install

chroot /mnt /bin/bash

now install grub with

(not NOT sda5)

grub-install /dev/sda

check /boot/grub/menu.lst for errors and add your xp partition to the boot process

now unmount everything

cd /

umount -a

exit

cd/

umount -a

reboot

should be done!

  • 9 months later...
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Marshall Major V Bluetooth headphones are now up to 47% off on Amazon by Ivan Jenic The Marshall Major V in Midnight Blue is currently $89.99 on Amazon, down from $169.99. That's 47% off and $80 saved on a pair of wireless on-ear headphones from one of the most recognizable names in audio. The Major V is Marshall's take on a long-lasting everyday headphone. The headphones deliver 100+ hours of wireless playtime, which puts them in a completely different category from most Bluetooth headphones that hover around 30-40 hours. You’re charging this thing once a week at most, and with wireless charging supported, you don’t have to worry about additional cables. Marshall promises its signature sound profile, with strong bass, smooth mids, and clear highs. There’s a customizable M-button, which you can set to quickly access Spotify Tap, your EQ settings, or a voice assistant. The design is foldable and lightweight at 186 grams, so it’s easy to pack for travel. And finally, the faux leather finish gives the Major V a sleek, premium look. At $89.99, the Major V Midnight Blue is a genuinely strong buy for anyone who wants a reliable daily headphone without paying premium prices. It’s also worth mentioning that the Cream and Brown variants are also discounted to $89.99, though from a lower original price of $99.99. Marshall Major V Midnight Blue - $89.99 | 47% off on Amazon This Amazon deal is US-specific and not available in other regions unless specified. This is a first-party seller link (at the time of article publishing); ensure that you also purchase from a first-party seller link only. If you don't like it or want to look at more options, check out the previous deals that we have covered, OR you can also visit Amazon US deals page. Get Prime (SNAP), Prime Video, Audible Plus or Kindle / Music Unlimited. Free for 30 days. As an Amazon Associate, we earn from qualifying purchases.
    • +1 on XVI. I still use it. 
    • Age 16, old enough to get a full-time job, your own bank account, a passport, get married, even join the military and go to war. But talking to your friends on the internet? Oh hell no!
    • I remember when all games had demos; it was a normal thing, not a limited time promotion.
  • Recent Achievements

    • Reacting Well
      Almohandis earned a badge
      Reacting Well
    • First Post
      Cosminus earned a badge
      First Post
    • One Year In
      ThatGuyOnline earned a badge
      One Year In
    • Week One Done
      Jeroen Wilms earned a badge
      Week One Done
    • Week One Done
      rolfus earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      483
    2. 2
      +Edouard
      185
    3. 3
      PsYcHoKiLLa
      122
    4. 4
      Steven P.
      84
    5. 5
      neufuse
      73
  • Tell a friend

    Love Neowin? Tell a friend!