Page 1 of 3 123 LastLast
Results 1 to 10 of 51

Thread: Sony VAIO E Series Windows 8/Ubuntu 12.10 Dual Boot, EFI help

Hybrid View

  1. #1
    Join Date
    Nov 2012
    Beans
    18

    Sony VAIO E Series Windows 8/Ubuntu 12.10 Dual Boot, EFI help

    Hello everyone Hope you guys had a Happy Thanksgiving...and Happy Black Friday shopping.

    I did...just got a nice deal on this Sony Vaio E series laptop.

    model:sve151J11L
    product name: SVE1512CXS

    Came pre-installed with Windows 8 (64bit), as well as some sony-specific recovery-based partitions. I wanted to dual-boot with Ubuntu 12.10 (64bit).

    HTML Code:
    http://paste.ubuntu.com/1384853/
    Windows 8 dual boot issues were apparently common, and online someone had said to use the windows boot manager to control grub (install grub to the linux root partition) and use a windows program to add it to the windows boot manager.

    Well, that was the plan. After creating some free space, installing ubuntu (choosing the bootloader to install in Ubuntu's partition), i restart.

    Windows 8 does not load.
    Code:
    error: can't find command 'drivemap'
    error: invalid EFI file path.
    It appears that the install had overwritten Windows' bootloader files, but the pastbin above states Grub is at /dev/sda7 (my ubuntu install partition)

    Okay, so that failed. I tried to use boot-repair. Installed it as directed on the Ubuntu website. Ran it, using default settings. It creates
    Code:
     Windows UEFI loader
    Windows UEFI recovery
    and possibly
    Code:
    windows Recovery Environment (loader) (on /sda2)
    I cant remember if Grub or boot-repair made it.

    None of the above new Grub options work. I would post the error messages, but, for example, "Windows UEFI loader" spits out a file name (very long one) and says it cant load the image. Grub will not stay on that screen long enough for me to type it. Is there a way to make Grub stay on an error message?

    I am hoping we can create this dual-boot setup (and keeping Sony's recovery partitions and everything working as well).

    If any more information is necessary, any clarifications, etc please let me know.

    Thank you for any assistance.
    Shadowspectre

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

    Re: Sony VAIO E Series Windows 8/Ubuntu 12.10 Dual Boot, EFI help

    Quote Originally Posted by shadowspectre View Post
    I cant remember if Grub or boot-repair made it.
    The UEFI ones were created by Boot-Repair. The others by GRUB, and won't never work.

    You are using a UEFI system with SecureBoot enabled.
    I updated Boot-Repair today for this situation, please update the boot-repair and boot-sav packages, then run the Recommended Repair and indicate the new URL that will appear.
    Then reboot and try all the UEFI entries.

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

    Re: Sony VAIO E Series Windows 8/Ubuntu 12.10 Dual Boot, EFI help

    Windows 8 dual boot issues were apparently common, and online someone had said to use the windows boot manager to control grub (install grub to the linux root partition) and use a windows program to add it to the windows boot manager.
    With the new UEFI installs that is about as wrong as it can be. I assume it refers to using EasyBCD to boot. But EasyBCD does not work with UEFI installs. Some with BIOS/MBR do use that, but generally we prefer grub2 boot loader as it is designed to multi-boot. Windows is only designed to boot Windows and EasyBCD is a workaround to make Windows work with other systems.

    EasyBCD does not work with Windows 8
    http://neosmart.net/forums/showthread.php?t=11135
    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.







  4. #4
    Join Date
    Nov 2012
    Beans
    18

    Re: Sony VAIO E Series Windows 8/Ubuntu 12.10 Dual Boot, EFI help

    Confession time.

    Last night, I needed a working Windows 8. So i reformatted the harddrive, reinstalled it, etc.

    After seeing your reply in the morning, I used windows to shrink the partition down a little. This left me with some Vaio partitions in front, then Windows 8, then free space, then Vaio Recovery Partition. I booted an Ubuntu Live CD, and switched the free space and Vaio Recovery Partition. Rebooting, the recovery Partition seemed fine.

    I then rebooted the Live CD and installed Ubuntu with Updates enabled.
    However, last time, I chose the "do something else" option"
    This time, I chose the "install Ubuntu along-side Windows 8"

    Everything seemed okay, but I restarted, and it booted directly into Windows 8.

    I restarted, it did the same thing, so Grub didnt load.

    I started up Ubuntu Live CD again. Used the site listed below to install and run Boot-Repair using recommended settings. It did the same things as last time, and the same Grub options, however none of the Windows-related ones work.

    I installed Boot-Repair using this page:
    HTML Code:
    https://help.ubuntu.com/community/Boot-Repair
    So, long story short...no luck.

    new pastebin:
    HTML Code:
    http://paste.ubuntu.com/1391025/
    Quote Originally Posted by YannBuntu View Post
    The UEFI ones were created by Boot-Repair. The others by GRUB, and won't never work.

    You are using a UEFI system with SecureBoot enabled.
    I updated Boot-Repair today for this situation, please update the boot-repair and boot-sav packages, then run the Recommended Repair and indicate the new URL that will appear.
    Then reboot and try all the UEFI entries.
    I checked the Bios, using the Vaio software, and i found no option stating "SecureBoot". I don't doubt your findings, however, I am not sure how to turn it off.


    With the new UEFI installs that is about as wrong as it can be. I assume it refers to using EasyBCD to boot. But EasyBCD does not work with UEFI installs. Some with BIOS/MBR do use that, but generally we prefer grub2 boot loader as it is designed to multi-boot. Windows is only designed to boot Windows and EasyBCD is a workaround to make Windows work with other systems.
    Yes, EasyBCD was the concept. Glad to know. So where should I be installing Grub to? The default looks like it maybe placed it back in /dev/sda7 (ubuntu location)....should it be in /dev/sda? or /dev/sda3 (efi)?

    Thanks for the help from both of you

  5. #5
    Join Date
    Nov 2012
    Beans
    18

    Re: Sony VAIO E Series Windows 8/Ubuntu 12.10 Dual Boot, EFI help

    Well, it did create another entry
    Code:
    Windows Boot UEFI bootx64.efi
    Here are the error messages:

    Windows EUFI Loader
    Code:
    Code:
    /EndEntire
    file path:  /ACPI(a0342d0, 0)/PCI(2, 1f) UnknownMessaging(12)/HD/3,363800, 82000, e00f17ce96589e4f, a9, 5d)/File(\EFI\Microsoft\Boot)/(File(bootmgfwefi.bkp)/EndEntire
    error: cannot load image
    Windows Boot UEFI bootx64.efi
    Code:
    /EndEntire
    file path: /ACPI(a0341d0, 0)/PCI(2, 1f)/UnknownMessaging(12/HD(3,363800,8200,e00f17ce96589e4f, a9, 58)/File(\EFI\Boot)/File(bootx64.eti)/EndEntire
    error: cannot load image
    Windows UEFI Recovery /EndEntire file path: /ACPI(a0341d0)PCI(2, 1f) UnknownMessaging(12)HD (1, 800, 82000, 26d4d12a461c5041, b9, 10)/File (\EFI\Microsoft\Boot)/File(bootmgfw.efi.bkp)/EndEntire error: cannot load image
    Windows Boot UEFI bootx64.efi Recovery
    Code:
    /EndEntire
    file path: /ACPI (20341do0, 0)/PCI (2,1f) /UnknownMessaging(12)/HD (1,800,82000, 26a4d12a461c5041, b9, 10)/FIle(\EFI\Boot)/File(bootx64.efi)/EndEntire
    error: cannot load image
    I hope I didnt make too many errors copying this. I had to handwrite it, and then type my handwriting, so some spaces maybe be where they shouldnt be, and vice-versa. Hopefully, it might help get an idea of the problem. If you need a more accurate log, how do I go about finding that? Does Grub keep logs of these kind of errors?

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

    Re: Sony VAIO E Series Windows 8/Ubuntu 12.10 Dual Boot, EFI help

    So now can you boot Ubuntu UEFI from the GRUB menu, but all the Windows UEFI entries fail.

    1) please look into your BIOS, especially the "boot order" screen, and tell us if you see a Windows entry. If yes, tell us if you can boot into Windows via this entry.

    2) please run Boot-Repair --> Advanced options --> untick the "Backup and rename EFI files" --> tick the "Restore EFI backups" --> Apply.
    Indicate the new URL that will appear.
    Reboot, try the "Windows UEFI loader" entry, and tell us what you observe.

  7. #7
    Join Date
    Nov 2012
    Beans
    18

    Re: Sony VAIO E Series Windows 8/Ubuntu 12.10 Dual Boot, EFI help

    I went through the BIOS. No Windows in the Boot Order. However, I did find the settings for Secureboot.

    I turned it off.
    Restarted....and was able to choose Windows.

    However, I restarted again, and now it only goes to Windows. Grub no longer loaded.

    I restarted, went into the BIOS and re-enabled SecureBoot. However, it did not bring Grub back.

    I am now back in linux using a Live CD.

    Should I follow the instructions in your post now? Or disable Secure-Boot and use a live cd to use Boot-Repair? Or should I try to play with any advanced SecureBoot settings to force it to load Grub?

  8. #8
    Join Date
    Nov 2012
    Beans
    18

    Re: Sony VAIO E Series Windows 8/Ubuntu 12.10 Dual Boot, EFI help

    Try it this simple way first, we can mess with partitioning later.
    Using the live CD, install ubuntu alongside windows 8. use default settings, dont add/create partitions yet. Just see what happens
    Reboot
    Chances are, it didnt work. Boot up the live CD, choose "try ubuntu"

    open a terminal, copy and paste:

    sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update

    press ENTER

    and then copy and paste:

    sudo apt-get install -y boot-repair && (sudo boot-repair &)

    Boot Repair should start, if not, you should be able to find the icon in your desktop environment or search for it. Then run it and choose "recommended repair" when it's finished, note the web address on a paper, reboot the pc.

    You should have various options for booting now. Try all of them dealing with windows 8, but usually the UEFI Windows 8 or something similar in name that works. Just try them all and get back to us if it works or doesnt work.

    Sorry for long post, short on time. Take care, good luck.

  9. #9
    Join Date
    Dec 2010
    Beans
    67

    Re: Sony VAIO E Series Windows 8/Ubuntu 12.10 Dual Boot, EFI help

    Hi,

    Thank you very much for the reply, greatly appreciated. Howeverwhen I read your message, I was doing my 4 (or 5th maybe) ubuntu installation, this time following another sort of tutorial. What I did was

    1- Install a refresh Win 8 using Sony recovery area.
    2- Disable Fast StartUp and SecureBoot.
    3- Create some free space partition from within Win 8
    4- Install Ubuntu 12.10 using advanced setup (created a primary efi partition of 250 MB, a root partition of 50 gb, a swap partition of 12 gb and a /home partition of about 400 gb).
    5- Install Ubuntu 12.10
    6- Restart

    The computer again directly booted into Win 8. Then I again booted with Live USB and installed Boot-Repair. It as always welcomed me with a message saying "EFI detected. Please check options". I went into advanced options, GRUB location, and looked at what was ticked at "separate /boot/efi partition". It was sda3 (which is my Win 8 EFI partition -not the partition I created -sda7- during Ubuntu installation). I thought "ok.." and without changing anything pressed "appy" and followed the instructions. The process seemed like just fine, no errors etc. I rebooted and BAM. Again Windows 8 boot directly.

    here's the first link to the summary: http://paste.ubuntu.com/5635508/

    Then I booted with Live USB again, downloaded Boot-Repair and this time clicked "recommended repair". At the end it again said Boot successfully reapir. Gave me the link:

    http://paste.ubuntu.com/5635545/

    It also says at the end of its last message: "please do not forget to make your BIOS boot on sda3/EFI/ubuntu/shimx64.efi file!" I highly suspect that this is where I fail, because I don't know how to apply this recommendation.

    When I did the restart I was again.. taken into Win 8 directly. I have no clue what to do anymore.

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

    Re: Sony VAIO E Series Windows 8/Ubuntu 12.10 Dual Boot, EFI help

    You can only have one efi partition per drive. All systems create their own folder in that efi partition for their efi boot files.
    Delete your sda7 or at least remove the boot flag with gparted so it is not seen as an efi partition.

    Since the efi partition is like many MBR's you have to go into your UEFI menu, not Windows and choose what boot loader to use. I think it really will just say ubuntu as that is the folder name, not the detail of the efi files in the folder.

    It looks like Boot-Repair found a lot of efi files that you may want to boot like Windows in the efi partition but other efi files in the recovery partition. Also grub has a bug and does not create correct chain entries yet.

    grub-update fails to detect windows bootloader on a uefi system
    https://bugs.launchpad.net/ubuntu/+s...b2/+bug/807801
    grub2's os-prober creates wrong style (BIOS) chain boot entry
    https://bugs.launchpad.net/ubuntu/+s...2/+bug/1024383
    type of entry from Boot-Repair that should work.
    'Windows UEFI loader'
    Type of entry that does not work:
    'Windows ...) (on /dev/sdXY)'
    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.







Page 1 of 3 123 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
  •