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

Thread: Dual-boot woes

Hybrid View

  1. #1
    Join Date
    Mar 2008
    Location
    Glasgow, Scotland
    Beans
    56
    Distro
    Ubuntu 18.04 Bionic Beaver

    Dual-boot woes

    I am having real trouble getting my dual boot system set-up. I suspect the answer is probably out there somewhere already, but I am new to this and having trouble sorting through all the information.

    The story so far is this:

    I have a new desktop with Win 7 64 bit installed on an HDD it.

    I put in a separate SSD, and installed Ubuntu 12.04 on that.

    When I boot, the GRUB menu comes up with the following options:
    Ubuntu
    Advanced options for Ubuntu
    Windows UEFI loader
    Windows UEFI memory test
    Windows 7 loader (on /dev/sda3)

    Ubuntu boots ok

    Selecting the Windows UEFI option gives me the error message:
    "error: no such device: 9273-9636
    error: file '/EFI/Microsoft/Boot/bootmgfw.efi.bkp' not found."

    Selecting the Windows 7 loader option gives me:
    "error: invalid EFI file path"

    Worryingly, I can't boot from my Win 7 recovery or install disc to attempt to fix things from the Windows side. I have tried forcing this from the BIOS (or UEFI or whatever it is now) to no avail...not even setting the CD-ROM drive to the top of the boot list works (and weirdly when I try it that, I find that it has moved itself back down the list when I go back in to try again). I also tried selecting the system recovery option from the UEFI boot menu, but that took me back to the GRUB menu.

    I am totally at a loss, and without being able to boot from my Win 7 discs I don't even know where to start fixing it (my first instinct is to attempt start-up repair in Windows but I can't get into it or boot from a CD to do that).

    I have tried running boot-repair as well but that doesn't seem to have achieved anything. The URL with the output is here http://paste.ubuntu.com/1287871/ if it is useful to anyone though.

    I suspect my problem is either that I have installed GRUB in the Windows MBR, or that there is some UEFI/BIOS incompatibility going on but I don't know how to solve it.

    Any help much appreciated...but please, treat me like an imbecile and walk me through every step...don't assume I know anything! The point of installing Ubuntu was to learn about Linux, but I didn't quite expect to end up in the deep end like this!

    Cheers

    K

  2. #2
    Join Date
    Apr 2012
    Beans
    16

    Re: Dual-boot woes

    hello , does your keyboard stop working as do the mouse buttons or not because if they stop it might be a graphics card and / or driver problems ,also that is the problem i have not being able to re-install or fix from either ubuntu or win 7 side , most disappointing , my old laptop ( stand-alone on unbuntu ,no windows , is still working like new no problem ) found those answers on f1 online ,now i dont' know what to do next also don't rush into wiping out any thing just yet give it a little time so yeah look at your drivers hope that this helps a little ,knowing what could be causing problem is a start ,all the best , and good luck . mitsi

  3. #3
    Join Date
    Aug 2012
    Location
    Florida
    Beans
    185
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: Dual-boot woes

    Try burning the Boot-Repair .iso to a CD and choose the first option. If that doesn't fix the problem go into the advanced section and choose to install a generic MBR to sda.

    Check it out here: http://ubuntuforums.org/showpost.php...50&postcount=2

  4. #4
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Dual-boot woes

    You have Windows in the new UEFI boot mode with the drive partitioned with gpt partitioning.
    You have Ubuntu on the SSD booting in the old BIOS mode with the drive partitioned in MBR(msdos) mode.

    They do not work well when in different modes. Best to reinstall Ubuntu in UEFI mode using gpt partitioning.

    Arch also recommends gpt partitioning on SSDs, but Windows only works with gpt when in UEFI mode. But you already are in UEFI mode so all drives should be gpt.

    You have to use the 64bit version and boot the installer USB in UEFI mode or from UEFI choosing efi.

    https://wiki.archlinux.org/index.php...ware_Interface
    https://wiki.archlinux.org/index.php/UEFI
    https://wiki.archlinux.org/index.php/GPT
    https://wiki.archlinux.org/index.php/Grub2

    https://help.ubuntu.com/community/UEFI
    https://help.ubuntu.com/community/UEFIBooting
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  5. #5
    Join Date
    Mar 2008
    Location
    Glasgow, Scotland
    Beans
    56
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Dual-boot woes

    Thanks oldfred, those links look very comprehensive. I am away for the weekend so I won't get a chance to give this a go until Sunday or Monday evening, but I'll get back on here and let you know if I managed to sort it out (or possibly ask more stupid questions if not )

  6. #6
    Join Date
    Mar 2008
    Location
    Glasgow, Scotland
    Beans
    56
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Dual-boot woes

    Ok, so I've had a fiddle over the last couple of days and I think I'm getting there but I still can't make it work properly.

    I managed to re-install Ubuntu in UEFI mode by following the very useful links that were posted. See http://paste.ubuntu.com/1301258/ for confirmation of that.

    The situation at the moment is:

    -If I remove the SSD with Ubuntu on it, Windows boots with no problems.

    -If I put the SSD back in and boot with priority going to the HDD with Windows on it, it tries to boot Windows and gets as far as the splash screen which says "Starting Windows" and has the animated Windows logo on it. From there, it goes to the GRUB menu rather than actually going into Windows. The GRUB menu has an option for Windows but it doesn't work (I get the invalid EFI path error iirc). I can boot Ubuntu ok from there though.

    -If I put the SSD in and boot with priority going to the SSD, it goes directly to GRUB, but again no access to Windows.

    I have tried running startup repair in Windows and boot-repair in Ubuntu but neither have fixed this problem. I considered using a tool like EasyBCD to try and sort it out from within Windows, but as I can't boot Windows with the SSD containing Ubuntu in place this is proving difficult unless there's some trick I don't know.

    While it's great to have both systems running again, rummaging around inside my box to remove the SSD every time I want to boot Windows is a little impractical....any tips for getting me the rest of the way there??

    Thanks!

  7. #7
    Join Date
    Jan 2008
    Location
    France
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Dual-boot woes

    Hello

    Quote Originally Posted by kathrync View Post
    The URL with the output is here http://paste.ubuntu.com/1287871/ if it is useful to anyone though.
    Your GRUB was booting Ubuntu correctly, you didn't have to change anything on the Ubuntu disk !

    Please run Boot-Repair --> Advanced options --> Untick "Reinstall GRUB" --> tick "Restore efi backups" --> Apply
    Indicate the new URL that will appear.
    Then reboot, and setup your BIOS (UEFI firmware) to boot the "Windows" entry, and tell us if it boots Windows or not. (if not, your Windows efi file is broken, and you'll have to use a Windows disk to fix it).
    Last edited by YannBuntu; October 24th, 2012 at 10:42 PM.

  8. #8
    Join Date
    Mar 2008
    Location
    Glasgow, Scotland
    Beans
    56
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Dual-boot woes

    Ok, so I have re-partitioned sdb (the SSD with Ubuntu on) and reinstalled it, but still no joy with getting the dual boot to work.

    I tried your suggestion as well, Yannbuntu. This was the output from that: http://paste.ubuntu.com/1308322/

    At the moment I am booting Ubuntu ok but I can't boot Windows from the GRUB menu, or directly from sda.

    Edited to add: Windows boots ok when sdb is removed from the box...

    Any more help appreciated (and thanks for all the help already!)

    K
    Last edited by kathrync; October 26th, 2012 at 11:31 PM. Reason: new information

  9. #9
    Join Date
    Jan 2008
    Location
    France
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Dual-boot woes

    Quote Originally Posted by kathrync View Post
    At the moment I am booting Ubuntu ok
    for information your BIOS is correctly setup to boot the HDD in UEFI mode.

    Quote Originally Posted by kathrync View Post
    but I can't boot Windows from the GRUB menu
    The default GRUB entry for Windows is invalid for UEFI. You can mark yourself "Affected" by this bug: https://bugs.launchpad.net/ubuntu/+s...2/+bug/1024383

    Quote Originally Posted by kathrync View Post
    or directly from sda.
    what do you mean? how do you try to "boot directly from sda" ?

  10. #10
    Join Date
    Mar 2008
    Location
    Glasgow, Scotland
    Beans
    56
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Dual-boot woes

    Quote Originally Posted by YannBuntu View Post
    what do you mean? how do you try to "boot directly from sda" ?
    My Ubuntu EFI partion is sdb1. Booting from here loads GRUB (which has a Windows entry but it doesn't work...I'll have a look at the link to the bug in a minute)

    My Windows EFI partition is sda1. Booting from here loads Windows when sdb is not in the box, but returns an error when sdb is present.

    By "booting directly from sda", I mean asking the computer to boot from sda using the "press escape to enter setup" boot menu rather than going into sdb/GRUB.

    Sorry if that wasn't clear...my knowledge of the terminology isn't great!
    Last edited by kathrync; October 26th, 2012 at 11:55 PM. Reason: Trying to improve clarity!

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
  •