ssd - Can't install Windows 8 on a UEFI with GPT laptop?

08
2014-07
  • Freed0Mind

    I had Windows 8 (Single language) pre-installed on my new laptop ... and it has lags..i tried to make refresh or reset and it told me that (The driver is locked)

    So i managed to make a clean install of windows 8 ... and when i proceed to click custom install .. ( I didn't find any partition in the list )

    even automatic repair didn't work ... and it didn't find my restore points (as it didn't find the partitions.)

    Now i can't boot in the system it gives me (BSOD)

    File: \BCD Status: 0xc0000098 info: The boot configuration data file doesn't contain valid information for an operating system.

    I've tried to overcome this using rescue boot cds but it doesn't find any partition drivers.

    I tried from USB too and it did the same.

    I tried to write the BCD files from scratch .. as it mentioned here

    https://neosmart.net/wiki/recovering-windows-bootloader/

    but after restart nothing happened .. after that i found that it thought the usb is my partition (as it didn't recognise my partitions) it considered the usb as my C driver

    I made every thing ... tried to make the partitions active through CMD .. But it didn't find the hard disc.

    I managed to repair the boot problem using Easy Recovery Essentials Pro for windows 8 ..

    and I made backup of my files ...

    but after the boot ... it gives me a blue screen that my pc ran into a problem and needs to restart ..

    aftr restart .. it tells me there is no boot device !!

    Any suggestions ??

    DELL Inspiron 15R 7520 Special Edition

    Core i7, 8G RAM , 1TB HDD, 32 SSD, Windows 8

  • Answers
  • Freed0Mind

    Thank You Guys ... the Easy Recovery Essentials Pro for windows 8 did the job.

    I used the Gparted utility and flaged C (OS) as boot ... then i run automatic repair from the same disk ...

    I rebooted then it goes for a long boot process ... so I terminated it and then booted the cd again and .. unflaged the C ... made Automatic Repair .. and rebooted ..

    and every thing goes well ...

    Thank You ..


  • Related Question

    Make UEFI, GPT, Bootloader, SSD, USB, Linux and Windows work together
  • gbag

    I like to use the latest hardware and the latest software; thus I have a Laptop (Lenovo X220) with

    • UEFI instead of BIOS
    • an SSD instead of an HDD
    • GPT partitioning scheme instead of MBR
    • USB to boot from instead of optical disks.

    I need to use both Windows and Linux. I tried to make them work alongside, but I didn't succeed.

    Most Linux distribution isos don't even really work on UEFI systems booted from USB. (Not even the self-claimed cutting-edge Fedora. I also tried Linux Mint Debian Edition and Sabayon Linux (according to this guide) which did not work. Only Ubuntu worked for me.

    I first installed Windows 8 which created sda1: Recovery, sda2: EFI system, sda3: msftres, sda4: NTFS Windows. Windows worked without a problem. I then created sda5: linux-swap and installed Ubuntu into sda6: btrfs. After rebooting, I was not presented GRUB2 as expected, but instead my system just booted into Ubuntu. I could no longer access Windows.

    After fixing dpkg in btrfs Ubuntu, I followed the Ubuntu documentation on UEFI booting. The result left me with a broken GRUB2, but interestingly, when I wanted to select the device to boot from, I was not only presented the internal SSD, an attached USB device, or LAN, but also Grub2 (broken), Ubuntu and Windows.

    The result is not very satisfying to me.

    What would I have to do to fix everything? Or differently asked, what operating system should I install at what point given my possibilities and requirements, so that I have a working bootloader in my UEFI GPT system which presents me a working Linux and Windows.


  • Related Answers
  • gbag

    OK, it was a very involving process, but I solved my problem and everything works together just as it should.

    I'm documenting the solution for everyone:

    1. One must begin with GParted Live and create a fresh GPT partition table. This will wipe everything on the HDD resp. SSD. Then one must create a small 8 MB 'unpartitioned' partition and flag it with 'bios_grub'. Afterwards, one creates a 100 MB fat32 partition labeled 'EFI' and flagged 'boot'. (This is the modern and more transparent equivalent of what the MBR used to do, see here for reference.)

    2. Optional: Install a Linux distribution that works correctly on GPT UEFI systems from USB. I don't know which ones do. I installed Chakra Linux to try it out. While installing make sure to mount the 100 MB fat32 as /boot/efi. Do the rest as usual. I left some unformatted room for Windows 8 (300 GB), created a linux-swap of 1 GB afterwards, created an adjoining ext4 (25 GB) and mounted it as /. After installation it will not boot, but we will fix that with ease. Do the entire step again for installing more distributions.

    3. Install Windows 8 in the unformatted space we left in the previous step. It will automatically identify the EFI system partition, create a MSFTRES, and a NTFS where it installs itself. After installation we can only boot into Windows, but we will fix that later.

    4. Ubuntu will fix it all. While installing select the 100 MB fat32 and change it into 'use as efi'. Create an ext4, install Ubuntu. Upon rebooting we are presented a nice working GRUB2 which detects Ubuntu and Chakra Linux.

    5. Now we will configure GRUB2 to detect Windows. It is a known bug, however, Rasmus Pedersen's workaround is functional. Be aware of a typing error he made: It is /etc/default/grub without an s instead of /etc/defaults/grub. When writing "chainloader (${root})/efi/Microsoft/Boot/bootmgfw.efi" I wrote /EFI/ in capitals just to be sure. When done this will present us a working GRUB2 with a working Windows 8 entry.

    6. GRUB2 does not look very nice with so many boot options and it is not in my preferred order. Thus I install and use grub-customizer in Ubuntu as shown here. I configure it so to hide the memtest, the recovery and the old kernels, and I reorder it to put my custom script with Windows on top. Done.

  • Community

    Kubuntu and LinuxMint KDE distro's worked fine for me with GPT and EFI.

    Steps:

    1. Start Windows 7/8 install and configure HDD partition, it will create automatically the EFI boot, MS System Reserved, for Windows 8 also the recovery partition. Install Windows.
    2. Install your desired Linux distro with EFI support. Select manual partitioning and to install bootloader on "/" root partition, Grub 2 EFI files will be automatically installed on EFI boot partition, alongside with those of Windows.
    3. Install rEFInd and your good to go. rEFInd will do the job and offer you option to chose desired operating system at PC start. Install rEFInd info - http://www.rodsbooks.com/refind/installing.html. Before rEFInd install, you must select boot device at start with your BIOS dedicated key, or by entering in BIOS and put desired device first in list, boot Windows and configure rEFInd from Windows. Make sure that proper EFI partition is set as default boot device in BIOS.

    I personally prefer Kubuntu 12.10, probably Mageia 3 will be nice to but it's a long way till 2013 spring.

    Good luck.