0

I have Xubuntu 14.04 installed on my computer and I have 3 partitions in it. /boot, /sda1 (main, 900gb), and /swap (for swap space). I've been trying to install Windows 7 Ultimate 64-bit by following the insturctions here: https://askubuntu.com/questions/6317/how-can-i-install-windows-after-ive-installed-ubuntu (Peachy's answer)

What I did was I shrunk /sda1 to 700gb and created a new partition, NTFS formatted, that can hold 200gb for my Windows installation using GParted live (USB boot). It went smoothly.

After all this, I logged in to my (no GRUB, weird) Xubuntu just to check if it still works. It does

Now, I had an .iso file of Windows 7 and I burnt it into my DVD+RW CD at the slowest speed possible. It was successful as well.

Now here comes the weird part. I restarted my computer and opened up the BIOS to make CD booting the first priority... however, there was no options for CD booting! Weird! So I googled the problem and I saw an article that said that I should have CSM enabled. So I did. After the next restart, I was able to boot using the CD and the Windows 7 installer setup popped up on my screen.

Finally! Right? No. I tried installing Windows 7 on the unallocated space and it said: Windows cannot be installed to this disk, the selected disk is of the GPT partition style. Some articles said to disable CSM so that I can install Windows but if I do then, then I won't be able to boot my CD!

I'm not really sure where to go from here. Some articles talk more about BIOS and UEFI which I really don't understand that much.

It was easy for me before to install a Linux OS when Windows is already installed but the other way around seems too difficult.

My laptop is an ASUS X550LB if that helps.

mpmp
  • 103
  • 1
  • 3
  • Enabling CSM enables legacy BIOS mode rather than the UEFI mode. To install windows on a GPT disk you **must** boot in UEFI mode. So you need to find another way to add booting from the CD to the boot options. Depending on the UEFI firmware that might involve pointing it at the propet boot.efi file (e.g. at \EFI\Microsoft\Boot\bootmgfw.efi on the DVD). – Hennes Jun 23 '15 at 18:01

1 Answers1

2

To use GPT, your Windows must boot in (U)EFI mode.

Normally Windows install DVDs are dual-boot (both legacy BIOS and EFI supported).

When you set you boot device to DVD, your BIOS starts with legacy boot method (red book).

But if BIOS finds that DVD is UEFI-bootable, it should add another entry to boot menu that will allow this.

To boot with (U)EFI, you should first enable it in BIOS, and then to select UEFI DVD boot menu item (it will be separate from legacy "DVD-ROM" boot item).

Also there is question with answer how to boot EFI entries, if they're not listed (on another ASUS notebook): If USB is not listed in BIOS as a boot option, does that mean the machine can't boot from USB?

LogicDaemon
  • 1,983
  • 2
  • 20
  • 36
  • I used GParted Live that was booted using my USB stick. My USB was detected with no problems whatsoever, I just hope my DVD drive can be detected by this. I'll check it out when I get home tonight, thanks! @LogicDaemon – mpmp Jun 23 '15 at 18:10
  • YOu can also 'burn' the image to the USB stick. No need to waste a recordable and installs are significantly faster. – Hennes Jun 23 '15 at 18:17
  • Win 7 .iso is around 4gb while my USB stick can only contain around 2gb :/ – mpmp Jun 23 '15 at 20:10