[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

    • Dead by Daylight, Two Point Museum, and more join Xbox Free Play Days for the weekend by Pulasthi Ariyasinghe There is a brand-new Free Play Days offer available to Xbox players, giving them a chance to try out a new selection of games over the weekend. Microsoft's latest promotion brings some high-profile titles, including the sports title PGA TOUR 2K25 and the racing sim Assetto Corsa. Almost all the games being offered this time require an Xbox Game Pass subscription, with only one title being available for all players. Starting with the fully free-to-play section, Dead by Daylight is populating it solo. This asymmetric survival horror title should be the most familiar to most gamers, considering its age. The multiplayer four-versus-one asymmetric survival horror game has you assuming the roles of survivors or the killer to see who can come out on top. This Dead by Daylight offer will be available to play until Monday, June 22, giving you an extra day of play compared to the remainder of the Free Play Days titles. Meanwhile, Xbox Game Pass Ultimate, Premium, and Essential members can now try out the well-received tycoon game Two Point Museum, the circuit racing sim Assetto Corsa, as well as 2K's golf sim experience that gives players a career to develop alongside real-world pros and courses. Here are the announced games and the platforms they are available to play on: PGA TOUR 2K25 (Xbox Series X|S) Two Point Museum (Xbox Series X|S) Assetto Corsa (Xbox Series X|S, Xbox One) Dead by Daylight (Xbox Series X|S, Xbox One) To easily find the titles on Xbox consoles, first head to the Store, and then in the sidebar, find the Home section. In there, open the Subscriptions tab. All the games from the Free Play Days collection will show up in this section for quick access. Apart from Dead by Daylight's offer, this week's Free Play Days promotions will end on Sunday, June 21, at 11:59 pm PT.
  • Recent Achievements

    • Week One Done
      Huge Trailer earned a badge
      Week One Done
    • Week One Done
      Classifyskilleducation earned a badge
      Week One Done
    • One Month Later
      eurospharma62 earned a badge
      One Month Later
    • Week One Done
      With What earned a badge
      Week One Done
    • Week One Done
      Harris Gilbert earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      593
    2. 2
      +Edouard
      170
    3. 3
      PsYcHoKiLLa
      74
    4. 4
      Michael Scrip
      66
    5. 5
      ATLien_0
      64
  • Tell a friend

    Love Neowin? Tell a friend!