I have a Dell Inspiron 15R 64-bit laptop. I had Windows 8.1 on it. While installing Ubuntu 13.04, I accidentally selected the option to erase everything on the disk and install Ubuntu, and as a result, my entire hard-disk was formatted as one partition on which Ubuntu was installed(Thus, no Windows now).
After booting up the laptop, an error comes as "No boot device found. Press any key to reboot." This probably happens because Windows is no longer there, and it's bootloader is still there(?). To boot to Ubuntu, I have to either select it manually in the boot options menu during startup by pressing the F12 key, or by setting up the boot option in my BIOS settings to UEFI instead of Legacy. If I select the UEFI boot option, then it directly boots up into Ubuntu, and this is what I'm currently using. I recently upgraded my Ubuntu to 14.04, and the situation is still the same.
Now, I want to install Windows 8.1 over my current system(along with Ubuntu 14.04). The problem is I already have a Windows bootloader(?) that's somehow left because of formatting of the hard-disk previously. I don't want to take any chances, so I'm posting this question.
I have the image file(iso) of Windows 8.1. How do I go about installing Windows 8.1 along side with Ubuntu 14.04(Already present)?
Thanks! This is the output of df-h in terminal:
Filesystem Size Used Avail Use% Mounted on /dev/sda2 451G 163G 265G 38% / none 4.0K 0 4.0K 0% /sys/fs/cgroup udev 3.9G 4.0K 3.9G 1% /dev tmpfs 786M 1.3M 785M 1% /run none 5.0M 0 5.0M 0% /run/lock none 3.9G 788K 3.9G 1% /run/shm none 100M 52K 100M 1% /run/user /dev/sda1 487M 7.3M 479M 2% /boot/efi
-EDIT- Added information in response to Rod Smith's answer.
Here's the output for
sudo parted /dev/sda print :
Model: ATA WDC WD5000LPVT-7 (scsi) Disk /dev/sda: 500GB Sector size (logical/physical): 512B/4096B Partition Table: gpt Number Start End Size File system Name Flags 1 1049kB 512MB 511MB fat32 boot 2 512MB 492GB 491GB ext4 3 492GB 500GB 8453MB linux-swap(v1)