Wednesday, March 21, 2018

Can't install Windows as dual boot after Ubuntu

I've a quite complicated problem related to dual boot of Ubuntu and Windows 7.



At first I had Windows 7 installed in my laptop but then when I tried to dual boot with Ubuntu 14.04, I somehow mistakenly managed to delete Windows 7 and all my data and partitions except the 512 MiB sized fat32 /boot/efi and a swap partition I had from an old linux installation. All other Windows ntfs partitions and a 40 GiB ext4 partiotion turned into a giant 450 GiB ext4 Ubuntu partition.



When I coped the loss of all my data and Windows 7, today I finally tried to re-install it in my Laptop.



First, I created two ntfs partitions from that ext4 450 GiB partitions with a GParted live cd. Now my Gparted shows these partitions:



Gparted shows these partitions




Then I created a Windows 7 live USB to install it in the ntfs partition. My plan was to install Windows 7 and then boot-repair grub from Ubuntu live cd. But when the Windows 7 live usb loaded. It gave me the following error



Windows failed to start. A recent hardware or software change might be the cause.
To fix the problem:

1. Insert your Windows installation disc and restart your computer.
2. choose your language settings, and click "next"
3. Click "Repair your computer."

If you do not have this disc, contact your system administrator or computer

manufacturer for assistance.

File: windows/system32/boot/winload.exe

Status: 0xc0000001

Info: The selected entry could not be loaded because the application is missing
or corrupt.



When I don't even have Windows 7 in my system then why Windows boot manager not letting me install a fresh one. I have also tried to fix it through boot-repair but it shows some error at the end. Here's the Boot Info Summary:



============================= Boot Info Summary: ===============================

=> No boot loader is installed in the MBR of /dev/sda.

sda1: __________________________________________________________________________

File system: vfat
Boot sector type: FAT32

Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /EFI/ubuntu/MokManager.efi /EFI/ubuntu/grubx64.efi
/EFI/ubuntu/shimx64.efi

sda2: __________________________________________________________________________

File system: ext4
Boot sector type: -
Boot sector info:

Operating System: Ubuntu 14.04.1 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab
/boot/extlinux/extlinux.conf

sda3: __________________________________________________________________________

File system: swap
Boot sector type: -
Boot sector info:


sda4: __________________________________________________________________________

File system: ntfs
Boot sector type: Windows Vista: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:

sda5: __________________________________________________________________________


File system: ntfs
Boot sector type: Windows Vista: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:


For complete info please check this URL http://paste.ubuntu.com/8346257/



Can anyone please tell me why I'm unable to re-install windows and how to fix this problem?




Any help would be appreciated. :)

No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...