Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: 12.10 Ubuntu installation broke Windows 8 bootloader

  1. #1
    Join Date
    Mar 2013
    Beans
    15

    12.10 Ubuntu installation broke Windows 8 bootloader

    Hi!

    I had a 12.10 installation on my Dell Inspiron 14z (4253) that I was pretty happy with, but I then erased it in the process of trying to reinstall Windows 8 from a recovery DVD. I've reinstalled Ubuntu and gotten it working, but now Windows won't boot.

    Both OSs are installed to boot from UEFI. The computer has an SSD and a HDD. The HDD holds the Windows system files, with the Ubuntu installation on a partition in the SSD. However, Windows does use some of the SSD for "RapidStart", and I'm concerned that I may have accidentally overriden this with the Ubuntu bootloader.

    Not quite sure what information will be most helpful; let me know what I can provide.

    Thanks so much!
    Last edited by katriel; March 16th, 2013 at 05:50 AM.

  2. #2
    Join Date
    Mar 2013
    Beans
    15

    Re: 12.10 Ubuntu installation broke Windows 8 bootloader

    I've re-done both installations, this time without setting up RapidStart, and Windows still does not boot once I've installed Ubuntu.

    In order to run the ubuntu installation, I have had to boot it in Legacy mode and then convert to UEFI with boot-repair. I think this is what's knocking out the Windows boot. Here's my boot-repair log: paste.ubuntu/5613643.

    Thanks!

  3. #3
    Join Date
    Mar 2013
    Beans
    105

    Re: 12.10 Ubuntu installation broke Windows 8 bootloader

    Quote Originally Posted by katriel View Post
    I've re-done both installations, this time without setting up RapidStart, and Windows still does not boot once I've installed Ubuntu.

    In order to run the ubuntu installation, I have had to boot it in Legacy mode and then convert to UEFI with boot-repair. I think this is what's knocking out the Windows boot. Here's my boot-repair log: paste.ubuntu/5613643.

    Thanks!
    You don't need to format/reinstall filesystems, because you have bootloader problems! By using the following procedure you can play around with bootloaders with impunity.
    Boot with the Live CD. Open a terminal of your choice, or console if you prefer.

    Code:
    sudo mount /dev/sda7 /mnt                   // Assuming sda7 is your / partition of your "sick" Ubuntu system
    sudo mount /dev/sda1 /mnt/boot            // Assuming sda1 is your /boot partition. Needed only if you have a separate partition for boot!
    sudo mount --bind /dev /mnt/dev           // Get those pesky sda devices from the live CD
    sudo mount -t proc /proc /mnt/proc        // Ditto for proc
    sudo chroot /mnt                                 // Now you are working from your "sick" Ubuntu
    .................                                        // Do what you want in your bootloader for UEFI support
    sudo  update-grub                               // if using grub
    sudo lilo                                            // if using lilo
    exit                                                  // Return to Live CD
    sudo umount /mnt/boot
    sudo umount /mnt/dev
    sudo umount /mnt/proc
    sudo umount /mnt
    You can restart after that. Substitute your partitions for sda*.
    This allows you to try different things with your bootloader.
    UEFI is difficult and tricky. You need to install special grub
    packages:

    https://wiki.archlinux.org/index.php...stem_Partition

    Also checkout thread: http://ubuntuforums.org/showthread.php?t=2125099&page=2

    Oldfred is very experience with UEFI as I hear.

    HTH,
    Nikos

  4. #4
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: 12.10 Ubuntu installation broke Windows 8 bootloader

    Chrooting into UEFI is a bit differnet. But your Boot-Repair normally handles all the boot issues.

    Some have posted info on Intel SRT. It seems to be the same regardless of computer vendor.

    Intel Smart Response Technology
    http://www.intel.com/p/en_US/support...ts/chpsts/imsm
    Some general info in post #3
    http://ubuntuforums.org/showthread.php?t=2071242
    ubuntu 12.10 & Windows 8 oem Sony T & Intel SRT
    http://ubuntuforums.org/showthread.php?t=2090605
    Intel SRT - Dell XPS Screen shots of Intel SRT screens & lots of details
    http://ubuntuforums.org/showthread.php?t=2038121
    http://ubuntuforums.org/showthread.php?t=2036204
    Details in post #10 on an install that worked
    http://ubuntuforums.org/showthread.php?t=2020155
    Dell XPS Intel SRT issue on hibernating post #25
    http://ubuntuforums.org/showthread.php?t=1932965
    Some info on re-instating details in post #9 Dell 14z
    http://ubuntuforums.org/showthread.php?t=2038121
    http://ubuntuforums.org/showthread.php?t=2070491

    some posted this as what they did to get Ubuntu to install as RAID interferes with Desktop install.
    Disable the RAID, for me it was using the Intel rapid management thingy and telling it to disable the acceleration or the use of the SSD. If you have a different system, just disable the RAID system then install Ubuntu. Once installed you can then re-enable it.
    sudo dmraid -E -r /dev/sda
    sudo dmraid -E -r /dev/sdb
    You will need to use the dmraid command prior to running the Ubuntu Installer so that it will be able to see the partitions on the drive because otherwise with the raid metadata in place it will see the drive as part of a raid set and ignore its partitions.
    From 2011, so now older
    http://tobestool.net/using-intels-rst-with-linux/
    Oldfred on vacation. Back Sept 9. Will not have much if any Internet access.
    For info on UEFI boot install & repair:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







  5. #5
    Join Date
    Mar 2013
    Beans
    15

    Re: 12.10 Ubuntu installation broke Windows 8 bootloader

    Thanks for taking the time, Nikos and oldfred. I will definitely remember to disable the RAID before I reinstall Ubuntu, if I have to. The thing is, my Ubuntu installation is working fine--it's the Windows bootloader that's giving me trouble.

    I'm having a problem akin to this: http://unix.stackexchange.com/questi...t-not-from-men. Grub doesn't seem to be able to find /boot/efi//EFI/Microsoft/Boot/bootmgfw.efi. Boot Repair hasn't been able to solve that problem yet.

  6. #6
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: 12.10 Ubuntu installation broke Windows 8 bootloader

    Some have had Windows work if turning secure boot on, others by turning it off. I might try experimenting with settings.

    Does Windows boot from UEFI menu directly? With secure boot on or with it off?
    Oldfred on vacation. Back Sept 9. Will not have much if any Internet access.
    For info on UEFI boot install & repair:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







  7. #7
    Join Date
    Mar 2013
    Beans
    15

    Re: 12.10 Ubuntu installation broke Windows 8 bootloader

    I've always kept secure boot off. I'll try with it on and report back. Windows does not boot from the UEFI menu.

  8. #8
    Join Date
    Mar 2013
    Beans
    15

    Re: 12.10 Ubuntu installation broke Windows 8 bootloader

    I can't boot either Ubuntu or Windows with SecureBoot enabled.

  9. #9
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: 12.10 Ubuntu installation broke Windows 8 bootloader

    I have not seen those with Dell systems have the issues others have had. But I posted links to many of those and they all seemed to be able to boot.

    Some UEFI have been modified by Vendor to only boot the Windows boot file. Boot-Repair has the option to rename boot files. I think you tick the box to say secure boot is on, you may have to have it on in UEFI.

    Used Boot-Repair to rename files:
    http://ubuntuforums.org/showthread.php?t=2103778
    To perform this, just run Boot-Repair --> Adv options --> tick "Backup and rename EFI files" --> Apply
    Then reboot the PC and please tell us what you observe.


    Boot-Repair - Updated Jan 1, 2013 to not rename first time, but rename if first time Windows does not boot. Post 706 and 711
    http://ubuntuforums.org/showthread.p...769482&page=71
    Boot-Repair copied /EFI/ubuntu/grubx64.efi to /EFI/Boot/bootx64.efi (in case the BIOS is hard-coded to boot into /EFI/Boot/bootx64.efi or secure boot
    signed GRUB file shimx64.efi.
    Oldfred on vacation. Back Sept 9. Will not have much if any Internet access.
    For info on UEFI boot install & repair:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







  10. #10
    Join Date
    Mar 2013
    Beans
    15

    Re: 12.10 Ubuntu installation broke Windows 8 bootloader

    We have successful dual boot. Oldfred and Nikos, thanks so much for your help.

    Here's the full story:

    In the beginning, I had Windows 8 on a Dell Inspiron 14z, Costco model (5243). Then Windows broke.
    I installed Ubuntu 12.10 from a LiveCD. From this point forward, I kept SecureBoot and Integrated NIC disabled (from the UEFI setup).
    My recovery media arrived in the mail from Dell. I installed Windows 8, overriding the Ubuntu bootloader. I used the Dell Drivers/Utility CD to set up RapidStart (this takes some doing--I had to use the diskpart tool to set the SSD partition for hibernation). The Ubuntu bootloader was overriden.
    I reinstalled Ubuntu. Because I couldn't get the LiveCD to boot in UEFI mode, I ran it in Legacy and used Boot-Repair to move it over to /boot/efi after installation. This overrode the Windows bootloader; I could boot Windows neither from UEFI directly nor from the grub menu.

    At this point, I tried a lot of different things. In the end, I achieved success by:
    1) Removing all partitions.
    2) Reinstalling Windows to the HDD: from UEFI, Intel Smart Response Technology enabled.
    3) Setting up Intel RapidStart.
    4) Go into UEFI, enable ACHI instead of Intel Smart Response Technology.
    5) Booting from the Ubuntu LiveCD: from UEFI; select Try Ubuntu.
    6) Install Ubuntu. Do "Something else" (manual configuration)
    7) Set up partitions on HDD for /home/, /boot/, and swap. Partition on SDD for /. (The /boot/ partition is a placeholder to keep the installer from harming Windows's bootloader. If I knew how to keep the installer from setting up a /boot/ directory, I would have done that. DO NOT ALLOW installer to touch /boot/efi)
    8) Once installation is complete, continue to use Ubuntu from the LiveCD rather than installing.
    9) Download and run boot-repair, making sure the /boot/efi box under the grub location tab is clicked.
    10) Restart. Grub will not be able to boot Windows, but UEFI can directly. Download and install rEFInd--a boot manager.
    Last edited by katriel; March 17th, 2013 at 02:21 AM.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •