[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

    • This one baffles me...so they are creating a museum based around the Ship of Theseus? A museum is supposed to preserve things. It doesn't really work if the conversation goes, "I gazed upon Starry Night the other day, the colours were beautiful!" "Yeah...I didn't expect Godzilla to show up, though." Create a building devoted to displaying AI work, fine. The rainforest idea sounds interesting and I would consider visiting if they pay me a few bucks. But don't call it a museum...
    • >defenders of AI-generated artworks often claim that AI is just a tool It is not. It is the inhuman artist replacement. The human writing the prompt is the employer/manager requesting the work product of the artist -- a supervisory/descriptive job that doesn't carry with it any rights to the copyright of that work product at all. And since AI is not human itself, it can't gain copyright for anything it is asked to regurgitate or hallucinate, so it can't transfer that copyright to the employer/manager/human who asked for the output. This was all legally reaffirmed last year. So, no, while there are AI tools, AI slopware generation is NOT a "tool" in the legal definition of that word.
    • As long as i get to play GTA 6 before it ends 😂😂
    • Google is opening the world's first AI museum in Los Angeles by Ivan Jenic Image via: Google Ever since AI image generators went mainstream, the debate over whether AI-generated art is real art hasn't let up. Those who don’t consider AI to be art say that if a machine does the creating and anyone can prompt it, there’s no skill involved, and therefore no art is produced. The counter-argument is equally persistent, as defenders of AI-generated artworks often claim that AI is just a tool, and that every major technological breakthrough, like the camera or the computer, was met with the same skepticism before eventually being accepted as a legitimate creative medium. Google’s position in this debate is clear. Which is no surprise, as the company is investing billions in AI infrastructure. And now, in efforts to encourage people to use its AI even more, Google is opening Dataland on June 20, which it's calling the world's first AI arts museum. Located inside The Grand LA, a Frank Gehry-designed building in Los Angeles, the museum spans 25,000 square feet. The museum is built around a collaboration with media artist Refik Anadol, who has worked with Google since 2016. The inaugural exhibition is called Machine Dreams: Rainforest, and is powered by an AI model trained on “an extensive dataset of the natural world.” It generates 1.2 billion pixels of visuals in real time and reacts to visitors dynamically. The space also generates soundscapes, real-time emotion sensing, and algorithmically produced scents. Image via: Refik Anadol Studio / Google Google says that the museum is powered by its Gemini models, which run on Google Cloud. So, everything is generated inside one of Google’s AI data centers and is streamed to the museum. Alongside the museum opening, Google Arts & Culture is funding an AI Artist Residency, giving four artists $25,000 grants each, along with mentorship from Refik Anadol Studio and access to Google's machine learning tools. Their work will be shown at Dataland and on the Google Arts & Culture website later this year. Google’s AI museum will undoubtedly initiate a fired-up debate on social media, and we can’t wait to see the first reactions. Via: Smithsonian Magazine
    • Calling GTA 6 overhyped crap doesn’t make you edgy, it just makes you sound like someone who hasn’t enjoyed anything since the PS2 era.
  • Recent Achievements

    • First Post
      AndreaB earned a badge
      First Post
    • 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
  • Popular Contributors

    1. 1
      +primortal
      570
    2. 2
      +Edouard
      178
    3. 3
      PsYcHoKiLLa
      74
    4. 4
      Michael Scrip
      68
    5. 5
      neufuse
      64
  • Tell a friend

    Love Neowin? Tell a friend!