[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

    • Just when I thought EA couldn't go lower. They surpassed my expectations
    • The GEEKOM A8 mini PC is 20% off (lower than Prime Day pricing) plus Huge Storewide Sale by Steven Parker GEEKOM is back with a deal on a variant of its A8 Mini PC powered by AMD's Ryzen 7 8945HS, which came out in 2024 with a TDP of just 45W, with a base clock of 3.8 GHz and a Turbo Boost of 4.9 GHz; although we never reviewed this variant, we did check out the Ryzen 9 version. As a reminder of what you get, below are the specifications for this Mini PC. GEEKOM A8 Dimensions 112.4 mm x 112.4 mm x 37 mm Weight 450g CPU Ryzen 7 8745HS (8 cores, 16 threads, 16MB L3 cache, 3.8 - 4.9 GHz, TDP: 45 W) cTDP: 35-54W (Default 45W) Graphics AMD Radeon™ 780M Graphics 12 RDNA 3 Graphics Cores 2700MHz 768 shading units / stream processors (12 CUs), 48 texture mapping units, and 32 ROPs NPU XDNA architecture (Up to 16 NPU TOPS) Memory 16GB Dual-channel Crucial DDR5-5600MT/s SODIMM (up to 64GB) Storage 1TB NVMe M.2 (PCIe Gen 4.0 x4) Operating System Windows 11 Pro Bluetooth Bluetooth v5.2 Wireless LAN Wi-Fi 6E Kensington Lock No SD Card reader Yes (left side) Adapter 120W, 6.32A, 19V Power Adapter Front I/O Ports 2 x USB 3.2 Gen 2 Type-A 1 x 3.5mm front stereo headset jack Rear I/O Ports 1 x USB 3.2 Gen 2 Type-A 1 x USB 4 Gen 3 Type-C with Power delivery up to 15W (5V 3A) 1 x USB 3.2 Gen 2 Type-C 1 x USB 2.0 Type-A 2 x HDMI 2.0b 1 x 2.5G RJ45 LAN 1 x DC-in Deal Price $519 (buying links below) GEEKOM has two configurations of the A8, with the only difference being the slightly less-powerful Ryzen 7 CPU with half the storage (1TB) and DDR5 memory (16GB). This knocks $350 off the price compared to the $999 Ryzen 9 configuration. In both instances, a Windows 11 Pro license is also pre-loaded. As I said previously, this appears to be an update on the A7 with the only difference being the newer CPU. The packaging has changed quite a bit from the A7. Instead of dark colors, now the box is completely white, and the foam cushion has been replaced by a cardboard mould that the A8 sits in, above a small envelope that contains a thank you card and booklet that has guidance on all of the controls, how to access the A8 to swap out the SSD or memory, and safety information in several European languages. Upon removing the cardboard mould, you can find another cardboard compartment that contains the power lead, HDMI cable, VESA plate, and a bag of screws. What’s In The Box 1 x A8 Mini PC 1 x Power Adapter 1 x HDMI Cable 1 x VESA plate and bag of screws 1 x Envelope with booklet and Thank you card Unlike the A7, the VESA mount option is back with the A8. In short, you have everything you need to get started. All products sold by GEEKOM receive a 3-year free Warranty from the date you receive the product. If needed, you can RMA or return locally relative to your region (the U.S. has a U.S. warehouse, mainland E.U. has a German warehouse). GEEKOM A8 at GEEKOM U.S. for $519 was $649 (20% off) GEEKOM A8 at GEEKOM U.K. for £503 was £629 (20% off) GEEKOM A8 at GEEKOM CA for $735.20 was $919 (20% off) Use coupon code NWGKA820 when checking out. This flash deal expires on July 2. Next up is the highest savings on the A7 Max series of Mini PC in the Spring Sale. The GEEKOM [2026 Edition] A7 MAX with AMD Ryzen 9 7940HS, 16GB DDR5, and 1TB SSD. Operating System: Windows 11 Pro CPU Model: Ryzen 9 7940HS CPU Speed: 5.2 GHz Cache Size: 24 MB Graphics Card Description: Integrated Graphics Coprocessor: AMD Radeon 780M Memory Storage Capacity: 16GB DDR5 SSD: 1 TB We reviewed this Mini PC back in January, and praised it for its modern internals like a dedicated NPU and DDR5 memory; as such, it is more than capable of keeping up with today's offerings of Mini PC on the market. GEEKOM A7 Max at GEEKOM U.S. for $587 (was $699) 16% off GEEKOM A7 Max at GEEKOM U.K. for £551 was £689 (20% off) Use coupon code NWGKA7MAX when checking out. This flash deal expires on July 2. Huge Summer Sale If the above deals don't tickle your fancy, from today, there are deep discounts on a range of other GEEKOM products. From June 15 to June 30, the GEEKOM Official Store will be running its Summer Sale, with discounts starting from 15% off across the entire lineup, up to 50%! This is their biggest promotion of the year so far, offering pricing that is even lower than select Prime Day deals. You can check out the discounts at the dedicated Summer Sale landing pages below. GEEKOM U.S. Summer Sale GEEKOM U.K. Summer Sale What's more, all products from GEEKOM receive a 3-year free Warranty from the date you receive the product. If needed, you can RMA or return locally relative to your region (the U.S. has a U.S. warehouse, mainland E.U. has a German warehouse, the U.K. has a U.K. warehouse, Australia has an AU warehouse). While the Summer Sale ends on June 30, deals on the A8 and A7 Max will remain active until July 2.
  • Recent Achievements

    • Week One Done
      Jeroen Wilms earned a badge
      Week One Done
    • Week One Done
      rolfus earned a badge
      Week One Done
    • One Month Later
      Leroy Jethro Gibbs earned a badge
      One Month Later
    • Conversation Starter
      flexorcist earned a badge
      Conversation Starter
    • One Month Later
      AndreaB earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      515
    2. 2
      +Edouard
      205
    3. 3
      PsYcHoKiLLa
      136
    4. 4
      ATLien_0
      88
    5. 5
      Steven P.
      85
  • Tell a friend

    Love Neowin? Tell a friend!