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

Thread: Installed Ubuntu on Pre- UEFI Win Install cannot get Win to boot

  1. #1
    Join Date
    Mar 2014
    Location
    Triniadad
    Beans
    23

    Installed Ubuntu on Pre- UEFI Win Install cannot get Win to boot

    Hello All,

    I have installed Ubuntu 14 on a pre-installed windows system with UEFI and disabled secure boot. I then used boot repair but cannot get windows to start can anyone help me please ??

    thanks,

    ROb.

  2. #2
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Installed Ubuntu on Pre- UEFI Win Install cannot get Win to boot HELP Please

    What hardware, vendor, model, video card?

    Does Ubuntu start ok?

    Post link that Boot-Repair gives when you run the BootInfo Summary report.
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  3. #3
    Join Date
    Mar 2014
    Location
    Triniadad
    Beans
    23

    Re: Installed Ubuntu on Pre- UEFI Win Install cannot get Win to boot HELP Please

    Hi Fred,

    First its an acer aspire s7-392-9890

    Also here is the link from boot repair:

    http://paste.ubuntu.com/8072399/

    I tried rEFInd and the windows partition itself is okay i just dont know how to make the grub 2 boot loader point ot windows as well.

    So right now i can only boot ubuntu as that is the only option that comes up under grub 2.

  4. #4
    Join Date
    Jun 2010
    Location
    London, England
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Installed Ubuntu on Pre- UEFI Win Install cannot get Win to boot HELP Please

    You did not allow boot repair to carry out the repair. That may be wise. Please run this command and report what is printed to the screen

    Code:
    sudo update-grub
    Oh, by the way, you are limiting yourself to providing only the minimum of information. How many hard disks do you have? How many partitions? Where is windows installed. Where did you install Ubuntu? What version of windows do you have.

    Having a PC with EFI firmware does not mean that you need to install Ubuntu in EFI mode. What is important is below:

    • if the other systems (Windows Vista/7/8, GNU/Linux...) of your computer are installed in EFI mode, then you must install Ubuntu in EFI mode too.
    • if the other systems (Windows, GNU/Linux...) of your computer are installed in Legacy (not-EFI) mode, then you must install Ubuntu in Legacy mode too. Eg if your computer is old (<2010), is 32bits, or was sold with a pre-installed Windows XP.

    • if Ubuntu is the only operating system on your computer, then it does not matter, you can install Ubuntu in EFI mode or not.
    https://help.ubuntu.com/community/UEFI

    If Windows is installed in EFI mode, then Ubuntu must be installed in EFI mode. To install Ubuntu in legacy mode when windows is installed in EFI mode is a certain way of getting the situation that you are experiencing.

    Regards.
    It is a machine. It is more stupid than we are. It will not stop us from doing stupid things.
    Ubuntu user #33,200. Linux user #530,530


  5. #5
    Join Date
    Jul 2005
    Location
    I think I'm here! Maybe?
    Beans
    Hidden!

    Re: Installed Ubuntu on Pre- UEFI Win Install cannot get Win to boot HELP Please

    I have never seen such an output with all those /dev/mapper partitions listed, and I wonder if you have either a raid setup, or encryption, or used LVM for managing partitions, none of which I use, nor understand how to use.

    I do note, however, that you have no detected boot/grub/grub.cfg file which is needed for grub to work; perhaps that is because grub did not understand your partition setup any better than I did, though it is probably because sda could not be read according to the line
    Error: Invalid argument during seek for read on /dev/sda
    that appears twice in your boot-info output file at lines 381 and 482

    Regrettably, I have no idea how to help you more with this, but I suspect oldfred will be able to come up with more detailed assistance than I can.
    DISTRO: Xubuntu 16.04-64bit --- Code-tags --- Boot-Repair --- Grub2 wiki & Grub2 Basics --- RootSudo --- Wireless-Info --- SolvedThreads

  6. #6
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Installed Ubuntu on Pre- UEFI Win Install cannot get Win to boot HELP Please

    I do not know RAID, and am surprised you have Ubuntu/grub working.

    It used to be that the standard desktop installer did not support RAID at all, you had to use the alternative installer in 12.04 for RAID or LVM. They discontinued alternative installer and said eventually LVM & RAID may be in Desktop installer. I believe 14.04 now has LVM, but did not think it fully supported RAID, yet. Usually issues were not seeing partitions at all, then later not installing grub correctly for RAID boot.

    I think I told this user that he had Intel SRT which is seen as a small SSD for faster booting. He then followed directions to temporary break the SRT (RAID), but since these systems are full RAID drives, he may never recovered the RAID? Or review this but do not follow it.
    Acer Aspire S7 can't install ubuntu - UltraBook erased RAID meta-data
    http://ubuntuforums.org/showthread.php?t=2121187

    If you have RAID driver installed, have you run sudo update-grub?

    Script did not open the /mapper and post the grub.cfg. Can you post both the grub.cfg in /efi/ubuntu, may be mounted at /boot/efi/EFI/ubuntu. That should be just three lines referring with configfile entry to the grub.cfg in your install. And then post the entire grub.cfg from your install.

    I do not know if dmraid or mdadm is correct RAID driver. And there was some discussion of merging the dmraid driver into mdadm. And then there are many hardware RAID drivers each requiring its own install.

    Is your RAID like this?

    https://help.ubuntu.com/community/FakeRaidHowto

    These are typical UEFI boot entries for Windows.
    But you have to use this UUID or path and probably add insmod entries for the RAID:

    /dev/mapper/isw_cgfdciieie_HDD0p2 64CD-1E74 vfat ESP
    I see a dm_nv.mod, several mdraid and several raid .mod files.
    You may alread have a RAID entry in your other grub boot stanza. But it may be this?
    insmod dm_nv

    Chainload entry:
    https://bugs.launchpad.net/ubuntu/+s...2/+bug/1024383
    https://bugs.launchpad.net/ubuntu/+s...b2/+bug/807801
    http://ubuntuforums.org/showthread.php?t=1934773
    menuentry "Windows 8 UEFI" {
    insmod part_gpt
    insmod fat
    insmod search_fs_uuid
    insmod chain
    set root='(hd0,gpt2)'
    search --fs-uuid --no-floppy --set=root 4f84-ee2e
    chainloader (${root})/efi/Microsoft/Boot/bootmgfw.efi
    }

    I think these assumes all the insmod or added grub driver entries are already loaded.
    menuentry "Windows bootmgfw.efi UEFI" {
    search --file --no-floppy --set=root /efi/Microsoft/Boot/bootmgfw.efi
    chainloader (${root})/efi/Microsoft/Boot/bootmgfw.efi
    }

    menuentry "Windows bootmgfw.efi " {
    search --fs-uuid --no-floppy --set=root 18FE-69D8
    chainloader (${root})/EFI/Microsoft/Boot/bootmgfw.efi
    }
    Last edited by oldfred; August 17th, 2014 at 09:23 PM.
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  7. #7
    Join Date
    Mar 2014
    Location
    Triniadad
    Beans
    23

    Re: Installed Ubuntu on Pre- UEFI Win Install cannot get Win to boot HELP Please

    sorry for not giving enough info:

    here is the output from sudo update-grub:

    [sudo] password for tom:
    Generating grub configuration file ...
    Found linux image: /boot/vmlinuz-3.13.0-34-generic
    Found initrd image: /boot/initrd.img-3.13.0-34-generic
    Found linux image: /boot/vmlinuz-3.13.0-32-generic
    Found initrd image: /boot/initrd.img-3.13.0-32-generic
    Found Ubuntu 14.04.1 LTS (14.04) on /dev/mapper/isw_cgfdciieie_HDD0p7
    Adding boot menu entry for EFI firmware configuration

    (Still doesnt show up)

    Other info:

    I have two disks configured as RAID 0 and Using windows 8.1 pre-installed UEFI.

    Here is a screenshot of the disk manager in ubuntu (see attachment).

    disk cnofiguration.jpg

    And to answer ajgreeny the /dev/mapper partitions i believe is a result of either Ubuntu reading the raid configuration badly or the many runs of the boot repair.

    Thanks for the help!!!

  8. #8
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Installed Ubuntu on Pre- UEFI Win Install cannot get Win to boot HELP Please

    Some want RAID 0 for extreme speed, but that was more popular with hard drives. Usually SSD gives enough speed anyway.

    Be sure to have really good backups.

    Don't bother with RAID 0 unless you have a specific need for speed without data redundancy, since if one drive goes out, you lose the whole array.
    http://en.wikipedia.org/wiki/RAID
    http://www.smallnetbuilder.com/nas/n...-is-not-backup
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  9. #9
    Join Date
    Mar 2014
    Location
    Triniadad
    Beans
    23

    Re: Installed Ubuntu on Pre- UEFI Win Install cannot get Win to boot HELP Please

    Hello oldfred,

    Thank you very much for your reply, is it possible to break that down a little. i am not sure i understand what you mean by

    "Can you post both the grub.cfg in /efi/ubuntu, may be mounted at /boot/efi/EFI/ubuntu. That should be just three lines referring with configfile entry to the grub.cfg in your install. And then post the entire grub.cfg from your install."

    this is the output from here is the output from sudo update-grub:

    [sudo] password for tom:
    Generating grub configuration file ...
    Found linux image: /boot/vmlinuz-3.13.0-34-generic
    Found initrd image: /boot/initrd.img-3.13.0-34-generic
    Found linux image: /boot/vmlinuz-3.13.0-32-generic
    Found initrd image: /boot/initrd.img-3.13.0-32-generic
    Found Ubuntu 14.04.1 LTS (14.04) on /dev/mapper/isw_cgfdciieie_HDD0p7
    Adding boot menu entry for EFI firmware configuration

    I rebooted but im still not seeing the windows entry in the menu.


    My Raid is not like
    https://help.ubuntu.com/community/FakeRaidHowto
    I have a RAID 0 Striped with two 128 GB drives. Thats the factory config.

    I dont understand the rest of your post referring to the chainload entries can you break that down a little more please.

    Thanks much.

  10. #10
    Join Date
    Mar 2014
    Location
    Triniadad
    Beans
    23

    Re: Installed Ubuntu on Pre- UEFI Win Install cannot get Win to boot HELP Please

    Quote Originally Posted by oldfred View Post
    Some want RAID 0 for extreme speed, but that was more popular with hard drives. Usually SSD gives enough speed anyway.

    Be sure to have really good backups.

    Don't bother with RAID 0 unless you have a specific need for speed without data redundancy, since if one drive goes out, you lose the whole array.
    http://en.wikipedia.org/wiki/RAID
    http://www.smallnetbuilder.com/nas/n...-is-not-backup
    Yeah that was just the factory config not my doing. I dont really care what setup the HD's use as long as i can get the dual boot working, i need windows as well as ubuntu for my school. But thanks for the info.

Page 1 of 2 12 LastLast

Tags for this Thread

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
  •