The Windows 8 and Ubuntu 12.04 Dual Boot NIghtmare

97

Fair disclosure: I don't fully understand the mechanics involved. Still, after experiencing a similar nightmare with my laptop, what finally did it for me was realizing that I can't install grub too far into the drive; You don't say what partitioning scheme you tried, so I figured this might be the issue you're experiencing as well.

What I did was keep the UEFI structure intact (or, rather, allowing the Windows installation disc to create a new one from scratch), but I made sure to have a small (200MB) dedicated partition located relatively close to the beginning of the drive (around 400MB into it) which Windows leaves alone. (I can't stress enough, though, that it should still be Windows that partitions the drive. The way I did it, I completely removed the filesystem, then created a 400MB partition, my dedicated partition after it, then erased the original and let Windows do its thing with what's left. I'm sure you could simplify the process somehow, but I was seeing stars by that stage.)

Then, after Windows was done making a clean install in the rest of the space allotted to it (and, in the process, creating the necessary UEFI structure before my partition, and a Windows partition immediately after), I simply replaced that partition with an ext4 partition during the Ubuntu installation and mounted it as /boot, installing grub to it. Everything worked fine after that (after running boot-repair, that is).

Share:
97

Related videos on Youtube

Igor
Author by

Igor

Updated on September 18, 2022

Comments

  • Igor
    Igor over 1 year

    How to receive "Animator" by parameter on an Animation Event parameter?

    enter image description here

    Its possible?

    • ubfan1
      ubfan1 almost 11 years
      Do you have secure boot enabled? Most machines with preinstalled W8 require that. boot-repair will fix most things.
    • oldfred
      oldfred almost 11 years
      If you boot Ubuntu in Legacy/BIOS/CSM you will not be able to chainload from grub to Windows as BIOS & UEFI write hardware system info differently for operating system to use. You need to boot Ubuntu in UEFI mode with either Secure boot on or off. Boot-Repair should give the option to fix your install as it can convert a BIOS install to UEFI by uninstalling grub-pc and installing grub-efi. If you have to have secure boot to boot Windows, Boot-Repair can also install shim and signed kernels if you boot it in secure boot mode.
    • Steve
      Steve almost 11 years
      @oldfred When I boot Ubuntu (my installed version) in UEFI mode with secure boot disabled, I get this error: invalid arch independent elf magic. When I boot it with Secure Boot enabled, I get a system message saying that both Ubuntu and Windows have been blocked from booting, and then I switch to the USB menu.