Thursday, November 16, 2017

installation - Windows 8 OS not detected, 12.04 install (new computer build, UEFI/Secure Boot enabled)



I recently built a new computer with the intent to dual boot Windows 8 and Ubuntu 12.04. I first installed Windows 8, and elected to do so in UEFI mode with Secure Boot enabled. My understanding is that I should be able to install Ubuntu 12.04 LTS alongside Windows 8.



I burned the 12.04 image to DVD and was able to boot (from the installation DVD) in EFI mode as expected. What was unexpected was the installer's inability to recognize my existing Windows 8 installation on the machine.



Based on my reading of previous threads, I went ahead and ran boot-repair from the Ubuntu Live DVD (that is, "try Ubuntu without installing"); the output information is here: http://paste.ubuntu.com/5902713/




The Windows 8 installation is on drive sdb, and I noted in the output (line 189) that os-prober does not detect Windows on sdb4 where I believe it should be found.



In original dump files I noticed lines which stated "/dev/sdb1 ends after the last sector of /dev/sdb" for sda/b/c, and (following instructions from another thread) used gdisk to generate fresh protective MBRs for each.



The installer is still unable to detect my installation for Windows 8. Instead, it presents me with only the following options:




  • Erase disk and install Ubuntu

  • Something else




What actions should I take? Any help would be very much appreciated. Thanks!



UPDATE Thanks again for the help so far everyone! I went ahead and partitioned the drives manually for the install; the brief summary is as follows:




  • sda(1-3): Microsoft (MS) reserved; NTFS data; swap

  • sdb(1-5): MS (EFI install); EFI; MS reserved; Windows 8 OS; Ubuntu 12.04.2 OS (/)

  • sdc(1-3): MS reserved; NTFS data; ext4 data (/home)




I completed the install, and have no problems booting into Windows 8. However, I have not been able to boot into Ubuntu. Initially, prioritizing ubuntu in the BIOS boot order briefly showed an Ubuntu splash screen before going black and hanging. Since that first attempt, the BIOS skips Ubuntu entirely and progresses straight to booting Windows.



I went back to the installation DVD and "tried Ubuntu" to run boot-repair again. The updated output information is here: http://paste.ubuntu.com/5909477/



My thought is to try and run boot-repair after backing up Windows. Is that the right course of action, or what would you all recommend? Thanks for your continued help!



Brian






If your system does not detect Windows 8 OS but want to check where it is, you could just mount all /dev/sdaN (N is number, you can type ls /dev/sda* to view all partitions) and check which partition is for windows.



If you want to allocate another partition for Ubuntu (Recommended), minimize a partiton, and mount the free space as ext4 file system and set it as root on the installation window.





Try 'Boot-repair'.



sudo apt-get install boot-repair

boot-repair


It would fix almost all GRUB/bootloader problems. I solved my problems too with it.



Another solution (Easy):



Check your System settings (BIOS settings). If there is Windows 8 bootloader, try exiting GRUB when booting. Then the Windows 8 bootloader screen would appear.


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 (...